<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.macgeekery.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Hacks</title>
 <link>http://www.macgeekery.com/hacks</link>
 <description>The taxonomy view with a depth of 0.</description>
 <language>en</language>
<item>
 <title>Change 10.4 Finder&#039;s &quot;Secure Empty Trash&quot; Options</title>
 <link>http://www.macgeekery.com/hacks/change_10_4_finders_secure_empty_trash_options</link>
 <description>&lt;p&gt;So I&amp;#8217;m paranoid, but not THAT paranoid.&lt;/p&gt;
&lt;p&gt;Sometimes I feel like using &amp;#8220;Secure Empty Trash&amp;#8221;, but that uses &amp;#8217;/usr/bin/srm&amp;#8217; with the &amp;#8217;-m&amp;#8217; option (7 passes), which can take a while to complete. Most of the time, I only care about what might turn up with simple file recovery tools in case my drive gets stolen (as opposed to covering my tracks from say law enforcement or a foreign government) so really, a single pass should be plenty for my needs. I could always use &amp;#8217;srm&amp;#8217; directly, but the convenience the built-in tool offers in handling the Trashes on various volumes, and having a built-in menu item is nice.&lt;/p&gt;
&lt;p&gt;It turns out the &amp;#8217;srm&amp;#8217; option used by &amp;#8220;Secure Empty Trash&amp;#8221; in Tiger is specified in the file: &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.macgeekery.com/hacks/change_10_4_finders_secure_empty_trash_options&quot;&gt;There&#039;s more &amp;raquo;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Resources/Locum&lt;/pre&gt;</description>
 <comments>http://www.macgeekery.com/hacks/change_10_4_finders_secure_empty_trash_options#comments</comments>
 <category domain="http://www.macgeekery.com/hacks">Hacks</category>
 <category domain="http://www.macgeekery.com/os/10_3">10.3</category>
 <category domain="http://www.macgeekery.com/os/10_4">10.4</category>
 <category domain="http://www.macgeekery.com/difficulty/easy">Easy</category>
 <pubDate>Fri, 12 Oct 2007 20:44:33 -0500</pubDate>
 <dc:creator>biovizier</dc:creator>
 <guid isPermaLink="false">874 at http://www.macgeekery.com</guid>
</item>
<item>
 <title>Pretending to be an iPhone</title>
 <link>http://www.macgeekery.com/hacks/pretending_to_be_an_iphone</link>
 <description>	&lt;p&gt;This is entirely pointless if you have an iPhone.  However, if you&amp;#8217;re locked into a Sprint contract until next October, sometimes it&amp;#8217;s nice to see how the other side lives.&lt;/p&gt;

	&lt;p&gt;The iPhone redirects &lt;span class=&quot;caps&quot;&gt;RSS&lt;/span&gt; requests through &lt;code&gt;reader.mac.com&lt;/code&gt; with a special &lt;span class=&quot;caps&quot;&gt;URL&lt;/span&gt;: &lt;tt&gt;http://reader.mac.com/mobile/v1/http%3A//domain.com/feed.xml&lt;/tt&gt;.  However, going to that directly on a Mac gives you the &amp;#8220;You&amp;#8217;re not an iPhone&amp;#8221; message.&lt;/p&gt;

	&lt;p&gt;Curious as to what I was missing, I grepped MG&amp;#8217;s logs for iPhone browser user agent strings (we&amp;#8217;re well-read in the Bay Area, it appears) and found some.  So I made a modified attempt:&lt;/p&gt;

	&lt;p&gt;&lt;tt&gt;curl -A &amp;#8220;Mozilla/5.0 (iPhone; U; OS X Leopard 9A365; en) &lt;span class=&quot;caps&quot;&gt;KHTML&lt;/span&gt;&amp;#8221; http://reader.mac.com/mobile/v1/http%3A//www.hopelessgeek.com/rss.xml &amp;#62; foo.html&lt;/tt&gt; &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.macgeekery.com/hacks/pretending_to_be_an_iphone&quot;&gt;There&#039;s more &amp;raquo;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

</description>
 <comments>http://www.macgeekery.com/hacks/pretending_to_be_an_iphone#comments</comments>
 <category domain="http://www.macgeekery.com/hacks">Hacks</category>
 <category domain="http://www.macgeekery.com/sections/tips/quickie">Quickie</category>
 <category domain="http://www.macgeekery.com/difficulty/trivial">Trivial</category>
 <pubDate>Fri, 29 Jun 2007 21:01:20 -0500</pubDate>
 <dc:creator>Adam Knight</dc:creator>
 <guid isPermaLink="false">854 at http://www.macgeekery.com</guid>
</item>
<item>
 <title>Setting an Icon From the CLI</title>
 <link>http://www.macgeekery.com/gspot/2007-02/setting_an_icon_from_the_cli</link>
 <description></description>
 <comments>http://www.macgeekery.com/gspot/2007-02/setting_an_icon_from_the_cli#comments</comments>
 <category domain="http://www.macgeekery.com/tips/cli">CLI</category>
 <category domain="http://www.macgeekery.com/development">Development</category>
 <category domain="http://www.macgeekery.com/hacks">Hacks</category>
 <category domain="http://www.macgeekery.com/difficulty/church_of_the_bearded_unix_god">Church of the Bearded Unix God</category>
 <enclosure url="http://www.macgeekery.com/mg/SetIcon.m" length="1400" type="application/octet-stream" />
 <pubDate>Thu, 01 Feb 2007 12:30:28 -0600</pubDate>
 <dc:creator>Adam Knight</dc:creator>
 <guid isPermaLink="false">770 at http://www.macgeekery.com</guid>
</item>
<item>
 <title>Starting Different Applications Depending on Power Status</title>
 <link>http://www.macgeekery.com/gspot/2007-01/starting_different_applications_depending_on_power_status</link>
 <description></description>
 <comments>http://www.macgeekery.com/gspot/2007-01/starting_different_applications_depending_on_power_status#comments</comments>
 <category domain="http://www.macgeekery.com/tips/automation">Automation</category>
 <category domain="http://www.macgeekery.com/hacks">Hacks</category>
 <category domain="http://www.macgeekery.com/difficulty/easy">Easy</category>
 <pubDate>Fri, 05 Jan 2007 00:00:00 -0600</pubDate>
 <dc:creator>Adam Knight</dc:creator>
 <guid isPermaLink="false">747 at http://www.macgeekery.com</guid>
</item>
<item>
 <title>Chrooting SSH and SFTP</title>
 <link>http://www.macgeekery.com/gspot/2006-11/chrooting_ssh_and_sftp</link>
 <description></description>
 <comments>http://www.macgeekery.com/gspot/2006-11/chrooting_ssh_and_sftp#comments</comments>
 <category domain="http://www.macgeekery.com/tips/customization">Customization</category>
 <category domain="http://www.macgeekery.com/hacks">Hacks</category>
 <category domain="http://www.macgeekery.com/tips/security">Security</category>
 <category domain="http://www.macgeekery.com/os/10_4">10.4</category>
 <category domain="http://www.macgeekery.com/difficulty/church_of_the_bearded_unix_god">Church of the Bearded Unix God</category>
 <pubDate>Tue, 28 Nov 2006 15:30:25 -0600</pubDate>
 <dc:creator>Adam Knight</dc:creator>
 <guid isPermaLink="false">715 at http://www.macgeekery.com</guid>
</item>
<item>
 <title>Un-podcastifying Tracks</title>
 <link>http://www.macgeekery.com/gspot/2006-09/un_podcastifying_tracks</link>
 <description></description>
 <comments>http://www.macgeekery.com/gspot/2006-09/un_podcastifying_tracks#comments</comments>
 <category domain="http://www.macgeekery.com/hacks">Hacks</category>
 <category domain="http://www.macgeekery.com/sections/tips/quickie">Quickie</category>
 <category domain="http://www.macgeekery.com/difficulty/moderately_involved">Moderately Involved</category>
 <pubDate>Wed, 27 Sep 2006 22:46:50 -0500</pubDate>
 <dc:creator>JC</dc:creator>
 <guid isPermaLink="false">678 at http://www.macgeekery.com</guid>
</item>
<item>
 <title>Adding a Persistant Icon to an Application</title>
 <link>http://www.macgeekery.com/gspot/2006-09/adding_a_persistant_icon_to_an_application</link>
 <description></description>
 <comments>http://www.macgeekery.com/gspot/2006-09/adding_a_persistant_icon_to_an_application#comments</comments>
 <category domain="http://www.macgeekery.com/hacks">Hacks</category>
 <category domain="http://www.macgeekery.com/difficulty/trivial">Trivial</category>
 <pubDate>Tue, 05 Sep 2006 13:52:27 -0500</pubDate>
 <dc:creator>Adam Knight</dc:creator>
 <guid isPermaLink="false">647 at http://www.macgeekery.com</guid>
</item>
<item>
 <title>Creating an Open Handler and Custom Icons for Hand-Rolled Packages</title>
 <link>http://www.macgeekery.com/gspot/2006-08/creating_an_open_handler_and_custom_icons_for_hand_rolled_packages</link>
 <description></description>
 <comments>http://www.macgeekery.com/gspot/2006-08/creating_an_open_handler_and_custom_icons_for_hand_rolled_packages#comments</comments>
 <category domain="http://www.macgeekery.com/tips/customization">Customization</category>
 <category domain="http://www.macgeekery.com/development">Development</category>
 <category domain="http://www.macgeekery.com/hacks">Hacks</category>
 <category domain="http://www.macgeekery.com/hacks/software">Software</category>
 <category domain="http://www.macgeekery.com/difficulty/complicated">Complicated</category>
 <pubDate>Fri, 18 Aug 2006 00:20:35 -0500</pubDate>
 <dc:creator>Adam Knight</dc:creator>
 <guid isPermaLink="false">633 at http://www.macgeekery.com</guid>
</item>
<item>
 <title>Setting the ZeroConf Name</title>
 <link>http://www.macgeekery.com/gspot/2006-03/setting_the_zeroconf_name</link>
 <description></description>
 <comments>http://www.macgeekery.com/gspot/2006-03/setting_the_zeroconf_name#comments</comments>
 <category domain="http://www.macgeekery.com/tips/cli">CLI</category>
 <category domain="http://www.macgeekery.com/hacks">Hacks</category>
 <category domain="http://www.macgeekery.com/os/10_4">10.4</category>
 <category domain="http://www.macgeekery.com/difficulty/complicated">Complicated</category>
 <pubDate>Tue, 14 Mar 2006 20:03:52 -0600</pubDate>
 <dc:creator>Adam Knight</dc:creator>
 <guid isPermaLink="false">466 at http://www.macgeekery.com</guid>
</item>
<item>
 <title>Disabling the Brightness/Sound Keys</title>
 <link>http://www.macgeekery.com/gspot/2006-03/disabling_the_brightness/sound_keys</link>
 <description></description>
 <comments>http://www.macgeekery.com/gspot/2006-03/disabling_the_brightness/sound_keys#comments</comments>
 <category domain="http://www.macgeekery.com/hacks">Hacks</category>
 <category domain="http://www.macgeekery.com/os/10_2">10.2</category>
 <category domain="http://www.macgeekery.com/os/10_3">10.3</category>
 <category domain="http://www.macgeekery.com/os/10_4">10.4</category>
 <category domain="http://www.macgeekery.com/difficulty/trivial">Trivial</category>
 <pubDate>Sat, 11 Mar 2006 11:46:23 -0600</pubDate>
 <dc:creator>Adam Knight</dc:creator>
 <guid isPermaLink="false">460 at http://www.macgeekery.com</guid>
</item>
</channel>
</rss>
