<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The art of Information Engineering &#187; Hacks</title>
	<atom:link href="http://www.grok.in/blog/cats/hacks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.grok.in</link>
	<description>(ignorance killed the cat, curiosity was framed)</description>
	<lastBuildDate>Tue, 11 Aug 2009 06:30:18 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>[Hack] Convert any video file for an iPod</title>
		<link>http://www.grok.in/blog/2007/11/03/hack-convert-any-video-file-for-an-ipod/</link>
		<comments>http://www.grok.in/blog/2007/11/03/hack-convert-any-video-file-for-an-ipod/#comments</comments>
		<pubDate>Sat, 03 Nov 2007 08:14:54 +0000</pubDate>
		<dc:creator>Siddhartha Reddy</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[ipod]]></category>

		<guid isPermaLink="false">http://www.grok.in/blog/2007/11/03/hack-convert-any-video-file-for-an-ipod/</guid>
		<description><![CDATA[Information should be consumable any which way.
Neither my iPod nor my phone support the flv format in which you can download videos from Youtube and several other video sites (using the All-In-One Video Bookmarklet).
I found a very good ruby script that can convert from the flv (or any other format) to mp4 (the format that [...]]]></description>
			<content:encoded><![CDATA[<p>Information should be consumable any which way.</p>
<p>Neither my iPod nor my phone support the flv format in which you can download videos from Youtube and several other video sites (using the <a href="http://1024k.de/bookmarklets/video-bookmarklets.html">All-In-One Video Bookmarklet</a>).</p>
<p>I found a very good ruby script that can convert from the flv (or any other format) to mp4 (the format that iPod supports): <a href="http://thomer.com/howtos/ipod_video.html">mp4ize</a>. You can specify the target resolution that you want by editing the file (default is 320&#215;240) and the script will convert the original video to this resolution (by padding the video if the original aspect ratio is different from what you want).</p>
<p>All is good, except that the script fails when the resolution of the original video is less than the resolution that you want (some videos on Youtube are in the weird resolution of 288&#215;240). So I just fixed up the script. You can download it below.</p>
<p><a href="http://www.grok.in/wordpress/wp-content/mp4ize.rb" title="mp4ize">Download p4ize</a>.</p>
<p>To get help on the usage type:</p>
<p>$ mp4ize.rb -h</p>
<p>You will need to install ffmpeg for this script to work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.grok.in/blog/2007/11/03/hack-convert-any-video-file-for-an-ipod/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Hack] &#8220;Check this out!&#8221;</title>
		<link>http://www.grok.in/blog/2007/10/13/hack-check-this-out/</link>
		<comments>http://www.grok.in/blog/2007/10/13/hack-check-this-out/#comments</comments>
		<pubDate>Sat, 13 Oct 2007 12:13:46 +0000</pubDate>
		<dc:creator>Siddhartha Reddy</dc:creator>
				<category><![CDATA[Hacks]]></category>

		<guid isPermaLink="false">http://www.grok.in/blog/2007/10/13/hack-check-this-out/</guid>
		<description><![CDATA[Do you find yourself sending out frequent emails which broadly fall under this pattern: the subject is something on the lines of &#8216;Check this out&#8217; and the body contains a URL and hardly anything else?
Here is simple bookmarklet that will make sending out those emails easier, if you use GMail that is. If you click [...]]]></description>
			<content:encoded><![CDATA[<p>Do you find yourself sending out frequent emails which broadly fall under this pattern: the subject is something on the lines of &#8216;Check this out&#8217; and the body contains a URL and hardly anything else?</p>
<p>Here is simple <a href="http://en.wikipedia.org/wiki/Bookmarklet">bookmarklet</a> that will make sending out those emails easier, if you use GMail that is. If you click on this while you are on a certain page, it will open a new GMail compose window and fill out the subject line with the title of the page (prepended with <em>[Check this out]</em>) and fill out the body with the URL of the current page as well as any text you might have selected.</p>
<p>Just bookmark the following:</p>
<p><a href="javascript:(function(){function%20getSelectedText%28%29%7Bif%28window.getSelection%29%7Breturn%20window.getSelection%28%29%3B%7Delse%20if%28document.getSelection%29%7Breturn%20document.getSelection%28%29%3B%7Delse%20if%28document.selection%29%7Breturn%20document.selection.createRange%28%29.text%3B%7Dreturn%20%22%22%3B%7Dtitle%3D%22%5BCheck%20this%20out%5D%20%22+document.title%3Bbody%3D%22%5B%22+document.location+%22%5D%20%22+getSelectedText%28%29%3Bu%3D%27http%3A//mail.google.com/mail/%3Fview%3Dcm%26fs%3D1%26tf%3D1%26to%3D%26su%3D%27+encodeURIComponent%28title%29+%27%26body%3D%27+encodeURIComponent%28body%29%3Bwindow.open%28u%2C%27checkThisOut%27+document.location%2C%27status%3Dyes%2Ctoolbar%3Dno%2Cwidth%3D640%2Cheight%3D480%2Cresizable%3Dyes%27%29})();">Check this out!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grok.in/blog/2007/10/13/hack-check-this-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
