<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - Twain</title>
<link>http://snipplr.com/users/Twain</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 19 Jun 2013 10:00:47 GMT</pubDate>
<item>
<title>(Python) Indent XML using ElementTree</title>
<link>http://snipplr.com/view/25657/indent-xml-using-elementtree/</link>
<description><![CDATA[ <p>This is a custom function in the elementree documenation, copied here for reference.</p> ]]></description>
<pubDate>Tue, 29 Dec 2009 09:29:50 GMT</pubDate>
<guid>http://snipplr.com/view/25657/indent-xml-using-elementtree/</guid>
</item>
<item>
<title>(Python) Read UTF-16 with NULL's, as received from the SQL Server "bcp" utility</title>
<link>http://snipplr.com/view/15779/read-utf16-with-nulls-as-received-from-the-sql-server-bcp-utility/</link>
<description><![CDATA[ <p>Read a windows UTF-16 file (such as a BCP dump from SQL Server) that  contains ASCII characters and occasional nulls</p> ]]></description>
<pubDate>Tue, 09 Jun 2009 09:31:07 GMT</pubDate>
<guid>http://snipplr.com/view/15779/read-utf16-with-nulls-as-received-from-the-sql-server-bcp-utility/</guid>
</item>
<item>
<title>(Other) Tweaked Quake 3 Arena autoexec.cfg</title>
<link>http://snipplr.com/view/11241/tweaked-quake-3-arena-autoexeccfg/</link>
<description><![CDATA[ <p>This autoexec.cfg sets up keybindings and graphics for multiplayer Quake 3 Arena</p> ]]></description>
<pubDate>Fri, 16 Jan 2009 06:20:17 GMT</pubDate>
<guid>http://snipplr.com/view/11241/tweaked-quake-3-arena-autoexeccfg/</guid>
</item>
<item>
<title>(Python) MP3 checksum in ID3 tag</title>
<link>http://snipplr.com/view/4025/mp3-checksum-in-id3-tag/</link>
<description><![CDATA[ <p>Creates an MD5 checksums for MP3 files and stores the checksum in an ID3v2 UID (Universal IDentifier) tag.  It skips ID3 tags in the calculation.    This way you can check for corruption later on, if you notice some file is jumping.</p> ]]></description>
<pubDate>Sun, 28 Oct 2007 10:28:42 GMT</pubDate>
<guid>http://snipplr.com/view/4025/mp3-checksum-in-id3-tag/</guid>
</item>
<item>
<title>(Python) Ubuntu Mirror</title>
<link>http://snipplr.com/view/4024/ubuntu-mirror/</link>
<description><![CDATA[ <p>Creates a specialised mirror Ubuntu for a single version, architecture and language - reducing the space required for the mirror from humongous to about 17 gigabytes.   Such a local mirror is handy for Ubuntu machines that lack a nearby or cheap internet connection.</p> ]]></description>
<pubDate>Sun, 28 Oct 2007 08:53:01 GMT</pubDate>
<guid>http://snipplr.com/view/4024/ubuntu-mirror/</guid>
</item>
<item>
<title>(Python) Recursive MD5</title>
<link>http://snipplr.com/view/4023/recursive-md5/</link>
<description><![CDATA[ <p>Recursively calculates, checks and updates "md5sum" files.    Has renaming detection. Handy for directories of files that aren't suppose to change, but may get renamed.

Also has some code taken from my mp3md5.py to provide an option ignore ID3 tags on .mp3 files.   The blog post has some details on how Windows users can  integrate it into the Explorer context menu (http://grahamweekly.blogspot.com/2007/04/md5dir.html)</p> ]]></description>
<pubDate>Sun, 28 Oct 2007 08:51:16 GMT</pubDate>
<guid>http://snipplr.com/view/4023/recursive-md5/</guid>
</item>
<item>
<title>(JavaScript) Read local file with XmlHttpRequest</title>
<link>http://snipplr.com/view/4021/read-local-file-with-xmlhttprequest/</link>
<description><![CDATA[ <p>For a locally saved web app, this is a cross-browser way to read files (writing not implemented).</p> ]]></description>
<pubDate>Sun, 28 Oct 2007 07:59:44 GMT</pubDate>
<guid>http://snipplr.com/view/4021/read-local-file-with-xmlhttprequest/</guid>
</item>
<item>
<title>(Python) Magical self update</title>
<link>http://snipplr.com/view/4020/magical-self-update/</link>
<description><![CDATA[ <p>Just call "selfupdate()" in a method and all local variables are magically assigned to self (except for "self", of course).   Less magical is update(self, locals())</p> ]]></description>
<pubDate>Sun, 28 Oct 2007 07:58:03 GMT</pubDate>
<guid>http://snipplr.com/view/4020/magical-self-update/</guid>
</item>
</channel>
</rss>