<?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>Screen 13 &#187; Utilities</title>
	<atom:link href="http://unrealvoodoo.org/hiteck/blog/category/utilities/feed/" rel="self" type="application/rss+xml" />
	<link>http://unrealvoodoo.org/hiteck/blog</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Fri, 02 Jul 2010 16:20:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Stakeout</title>
		<link>http://unrealvoodoo.org/hiteck/blog/2005/01/stakeout/</link>
		<comments>http://unrealvoodoo.org/hiteck/blog/2005/01/stakeout/#comments</comments>
		<pubDate>Wed, 05 Jan 2005 13:01:21 +0000</pubDate>
		<dc:creator>skyostil</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[Utilities]]></category>

		<guid isPermaLink="false">http://unrealvoodoo.org/hiteck/blog/python/stakeout/</guid>
		<description><![CDATA[This program monitors a bunch of files and runs a command when any of them changes.
The idea was pilfered from Pragmatic Automation. This program uses fcntl and thus only works on Unix derivatives.
Here&#8217;s how you might use it:

find -name \*.py &#124; xargs ./stakeout.py src/TestAll.py

Download: Python source, Example shell script
]]></description>
			<content:encoded><![CDATA[<p>This program monitors a bunch of files and runs a command when any of them changes.</p>
<p>The idea was pilfered from <a href="http://www.pragmaticautomation.com/cgi-bin/pragauto.cgi">Pragmatic Automation</a>. This program uses fcntl and thus only works on Unix derivatives.</p>
<p>Here&#8217;s how you might use it:</p>
<pre class="code">
find -name \*.py | xargs ./stakeout.py src/TestAll.py
</pre>
<p>Download: <a href="/hiteck/projects/misc/stakeout.py">Python source</a>, <a href="/hiteck/projects/misc/stakeout">Example shell script</a></p>
]]></content:encoded>
			<wfw:commentRss>http://unrealvoodoo.org/hiteck/blog/2005/01/stakeout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Archos compatible videos</title>
		<link>http://unrealvoodoo.org/hiteck/blog/2005/01/archos-compatible-videos/</link>
		<comments>http://unrealvoodoo.org/hiteck/blog/2005/01/archos-compatible-videos/#comments</comments>
		<pubDate>Wed, 05 Jan 2005 12:43:41 +0000</pubDate>
		<dc:creator>skyostil</dc:creator>
				<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Utilities]]></category>

		<guid isPermaLink="false">http://unrealvoodoo.org/hiteck/blog/graphics/archos-compatible-videos/</guid>
		<description><![CDATA[The Archos Multimedia Jukebox is a nice portable player but unfortunately picky when it comes to playing AVI files. Thus, here is an empirically crafted script that will encode almost any movie file to an Archos-friendly format.
The script uses mencoder from MPlayer, specifically with the following options:

mencoder -audio-preload 0 -oac copy -o OUTPUT -ovc lavc
 [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.archos.com/">Archos Multimedia Jukebox</a> is a nice portable player but unfortunately picky when it comes to playing AVI files. Thus, here is an empirically crafted script that will encode almost any movie file to an Archos-friendly format.</p>
<p>The script uses mencoder from MPlayer, specifically with the following options:</p>
<pre class="code">
mencoder -audio-preload 0 -oac copy -o OUTPUT -ovc lavc
         -lavcopts vcodec=mpeg4:vqmin=2:vqmax=20:vhq:keyint=250:vme=4:v4mv INPUT
</pre>
<p>Note: If the audio track isn&#8217;t encoded with MP3, replace <tt>-oac copy</tt> above with e.g. <tt>-oac mp3lame -lameopts preset=standard</tt></p>
<p>Usage:</p>
<pre class="code">
  make-archos-video.sh input.avi output.avi
</pre>
<p>Download: <a href="/hiteck/projects/misc/make-archos-video.sh">make-archos-video.sh</a></p>
]]></content:encoded>
			<wfw:commentRss>http://unrealvoodoo.org/hiteck/blog/2005/01/archos-compatible-videos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>pyhtml</title>
		<link>http://unrealvoodoo.org/hiteck/blog/2004/12/pyhtml/</link>
		<comments>http://unrealvoodoo.org/hiteck/blog/2004/12/pyhtml/#comments</comments>
		<pubDate>Sun, 26 Dec 2004 12:58:11 +0000</pubDate>
		<dc:creator>skyostil</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[Utilities]]></category>

		<guid isPermaLink="false">http://unrealvoodoo.org/hiteck/blog/python/pyhtml/</guid>
		<description><![CDATA[PHP-style inline code in Python.
Here&#8217;s a sample html file:

&#60;html&#62;
&#60;body&#62;
The square of 5 is
&#60;?
print 5*5
?&#62;
.
&#60;/body&#62;
&#60;/html&#62;

Note that the opening and closing tags (&#60;? and ?&#62;) must be in separate lines.
Installation for Apache
Add the following to your httpd.conf and copy this script into your
cgi-bin directory:

   AddHandler python-parsed-html .pyhtml
   Action python-parsed-html /cgi-bin/pyhtml.py

Also, make sure you [...]]]></description>
			<content:encoded><![CDATA[<p>PHP-style inline code in Python.</p>
<p>Here&#8217;s a sample html file:</p>
<pre class="code">
&lt;html&gt;
&lt;body&gt;
The square of 5 is
&lt;?
print 5*5
?&gt;
.
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>Note that the opening and closing tags (&lt;? and ?&gt;) must be in separate lines.</p>
<h2>Installation for Apache</h2>
<p>Add the following to your httpd.conf and copy this script into your<br />
cgi-bin directory:</p>
<pre>
   AddHandler python-parsed-html .pyhtml
   Action python-parsed-html /cgi-bin/pyhtml.py
</pre>
<p>Also, make sure you have the actions modules (mod_actions) loaded or the above won&#8217;t work.</p>
<p>Download: <a href="/hiteck/projects/misc/pyhtml.py">pyhtml.py</a></p>
]]></content:encoded>
			<wfw:commentRss>http://unrealvoodoo.org/hiteck/blog/2004/12/pyhtml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

