<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - zingo</title>
<link>http://snipplr.com/users/zingo</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 28 Aug 2008 20:36:30 GMT</pubDate>
<item>
<title>(SVN) Template for DocBlock and svn:keywords</title>
<link>http://snipplr.com/view/7479/template-for-docblock-and-svnkeywords/</link>
<description><![CDATA[ <p>Substitute and update keywords like $HeadURL$, $Revision$, etc. in a file on every commit to subversion repos.

1. Set svn:keywords on repos:
$ svn propset --recursive svn:keywords 'HeadURL Revision LastChangedBy Date' /path/to/repo

2. Use this source in your file.</p> ]]></description>
<pubDate>Thu, 24 Jul 2008 17:04:02 GMT</pubDate>
<guid>http://snipplr.com/view/7479/template-for-docblock-and-svnkeywords/</guid>
</item>
<item>
<title>(Objective C) Removing preferences belonging to your app</title>
<link>http://snipplr.com/view/7453/removing-preferences-belonging-to-your-app/</link>
<description><![CDATA[ <p>Remove all the keys of the application’s preferences file from ~/Library/Preferences with Cocoa’s NSUserDefaults class.</p> ]]></description>
<pubDate>Tue, 22 Jul 2008 23:40:51 GMT</pubDate>
<guid>http://snipplr.com/view/7453/removing-preferences-belonging-to-your-app/</guid>
</item>
<item>
<title>(Bash) Quick new tab from iTerm</title>
<link>http://snipplr.com/view/7451/quick-new-tab-from-iterm/</link>
<description><![CDATA[ <p>Place this in your ~/.bash_profile then type tab in your terminal window to see some magic happen.</p> ]]></description>
<pubDate>Tue, 22 Jul 2008 21:46:31 GMT</pubDate>
<guid>http://snipplr.com/view/7451/quick-new-tab-from-iterm/</guid>
</item>
<item>
<title>(Bash) Sort Directories by Size</title>
<link>http://snipplr.com/view/7450/sort-directories-by-size/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 22 Jul 2008 21:19:52 GMT</pubDate>
<guid>http://snipplr.com/view/7450/sort-directories-by-size/</guid>
</item>
<item>
<title>(Objective C) Kill App after Expire Date (Suicidal Code Redux)</title>
<link>http://snipplr.com/view/7196/kill-app-after-expire-date-suicidal-code-redux/</link>
<description><![CDATA[ <p>Using a gcc predefined macro, __DATE__, the code can know for itself when it was compiled, and build in an expiration date based on that value.

The former code (http://snipplr.com/view/3448/kill-app-after-expire-date/) was not internationalised and might cause an issue when run outside of English speaking countries. This code resolves the locale issue.</p> ]]></description>
<pubDate>Wed, 09 Jul 2008 22:39:05 GMT</pubDate>
<guid>http://snipplr.com/view/7196/kill-app-after-expire-date-suicidal-code-redux/</guid>
</item>
<item>
<title>(Bash) Words with many doubled letters</title>
<link>http://snipplr.com/view/7056/words-with-many-doubled-letters/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 01 Jul 2008 19:28:07 GMT</pubDate>
<guid>http://snipplr.com/view/7056/words-with-many-doubled-letters/</guid>
</item>
<item>
<title>(PHP) Using the svn revision number in cakePHP application</title>
<link>http://snipplr.com/view/6891/using-the-svn-revision-number-in-cakephp-application/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 24 Jun 2008 19:44:33 GMT</pubDate>
<guid>http://snipplr.com/view/6891/using-the-svn-revision-number-in-cakephp-application/</guid>
</item>
<item>
<title>(Bash) SVN rename all your CakePHP views from thtml to ctp</title>
<link>http://snipplr.com/view/6485/svn-rename-all-your-cakephp-views-from-thtml-to-ctp/</link>
<description><![CDATA[ <p>Recursively SVN rename (move) all thtml-files to ctp-files .  Fires this up in CakePHPs /views path.</p> ]]></description>
<pubDate>Wed, 28 May 2008 16:34:24 GMT</pubDate>
<guid>http://snipplr.com/view/6485/svn-rename-all-your-cakephp-views-from-thtml-to-ctp/</guid>
</item>
<item>
<title>(Objective C) Filesystem - Testing FS Type</title>
<link>http://snipplr.com/view/6193/filesystem--testing-fs-type/</link>
<description><![CDATA[ <p>This can be used to test FS type.</p> ]]></description>
<pubDate>Mon, 12 May 2008 21:54:23 GMT</pubDate>
<guid>http://snipplr.com/view/6193/filesystem--testing-fs-type/</guid>
</item>
<item>
<title>(SQL) Storing an IP address in a database table</title>
<link>http://snipplr.com/view/5761/storing-an-ip-address-in-a-database-table/</link>
<description><![CDATA[ <p>You can store an IP address in an INT UNSIGNED (4 bytes) which is of course much more efficient and faster than a CHAR(15).
MySQL has two built-in functions: INET_ATON() and INET_NTOA(). These two functions are used allover the place in any TCP/IP stack implementation or even application.
The INET_ATON() function converts Internet addresses from the numbers-and-dots notation into a 32-bit unsigned integer, and INET_NTOA() does the opposite.</p> ]]></description>
<pubDate>Wed, 09 Apr 2008 20:31:52 GMT</pubDate>
<guid>http://snipplr.com/view/5761/storing-an-ip-address-in-a-database-table/</guid>
</item>
<item>
<title>(CSS) 8 Premium One Line Css Tips</title>
<link>http://snipplr.com/view/5760/8-premium-one-line-css-tips/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 09 Apr 2008 19:56:26 GMT</pubDate>
<guid>http://snipplr.com/view/5760/8-premium-one-line-css-tips/</guid>
</item>
<item>
<title>(Bash) Emulating a Slow Internet Link for HTTP</title>
<link>http://snipplr.com/view/5552/emulating-a-slow-internet-link-for-http/</link>
<description><![CDATA[ <p>recover to normal speed with 
/sbin/ipfw delete 100
/sbin/ipfw delete 200
... or reboot</p> ]]></description>
<pubDate>Mon, 24 Mar 2008 22:51:35 GMT</pubDate>
<guid>http://snipplr.com/view/5552/emulating-a-slow-internet-link-for-http/</guid>
</item>
<item>
<title>(Other) Get Infos on a DVD from Amazon-Webservices by UPC</title>
<link>http://snipplr.com/view/5306/get-infos-on-a-dvd-from-amazonwebservices-by-upc/</link>
<description><![CDATA[ <p>[AmazonID] = your Amazon Webservice Access Id
[UPC] = the DVDs Universal Product Code</p> ]]></description>
<pubDate>Thu, 06 Mar 2008 18:12:45 GMT</pubDate>
<guid>http://snipplr.com/view/5306/get-infos-on-a-dvd-from-amazonwebservices-by-upc/</guid>
</item>
<item>
<title>(Objective C) Testing Regular Expressions for NSString</title>
<link>http://snipplr.com/view/5165/testing-regular-expressions-for-nsstring/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 23 Feb 2008 22:16:42 GMT</pubDate>
<guid>http://snipplr.com/view/5165/testing-regular-expressions-for-nsstring/</guid>
</item>
<item>
<title>(Objective C) Saving Data to File</title>
<link>http://snipplr.com/view/5138/saving-data-to-file/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 21 Feb 2008 01:50:59 GMT</pubDate>
<guid>http://snipplr.com/view/5138/saving-data-to-file/</guid>
</item>
<item>
<title>(Bash) Get Infos on WLAN on OSX</title>
<link>http://snipplr.com/view/5050/get-infos-on-wlan-on-osx/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 13 Feb 2008 18:14:57 GMT</pubDate>
<guid>http://snipplr.com/view/5050/get-infos-on-wlan-on-osx/</guid>
</item>
<item>
<title>(Bash) Get Infos on Battery on OSX</title>
<link>http://snipplr.com/view/5049/get-infos-on-battery-on-osx/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 13 Feb 2008 18:11:53 GMT</pubDate>
<guid>http://snipplr.com/view/5049/get-infos-on-battery-on-osx/</guid>
</item>
<item>
<title>(AppleScript) Get the Count of unread Messages in Vienna (RSS-Reader)</title>
<link>http://snipplr.com/view/4991/get-the-count-of-unread-messages-in-vienna-rssreader/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 11 Feb 2008 14:35:45 GMT</pubDate>
<guid>http://snipplr.com/view/4991/get-the-count-of-unread-messages-in-vienna-rssreader/</guid>
</item>
<item>
<title>(Bash) Get Temperature on OSX</title>
<link>http://snipplr.com/view/4966/get-temperature-on-osx/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 09 Feb 2008 13:31:27 GMT</pubDate>
<guid>http://snipplr.com/view/4966/get-temperature-on-osx/</guid>
</item>
<item>
<title>(SQL) Differences between two Tables</title>
<link>http://snipplr.com/view/4869/differences-between-two-tables/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 01 Feb 2008 04:26:53 GMT</pubDate>
<guid>http://snipplr.com/view/4869/differences-between-two-tables/</guid>
</item>
</channel>
</rss>