<?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>Nicholas Pike &#187; How To</title>
	<atom:link href="http://blog.npike.net/category/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.npike.net</link>
	<description>Like nailing jelly to a wall...</description>
	<lastBuildDate>Tue, 20 Jul 2010 05:45:17 +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>Scheduled iPhone Sync (OSX)</title>
		<link>http://blog.npike.net/2009/11/23/scheduled-iphone-sync-osx/</link>
		<comments>http://blog.npike.net/2009/11/23/scheduled-iphone-sync-osx/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 03:42:22 +0000</pubDate>
		<dc:creator>npike</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://blog.npike.net/?p=286</guid>
		<description><![CDATA[One of the more annoying things with having a &#8220;smart phone&#8221; is when its not uptodate with all your stuff.  A few weeks ago I wrote an AppleScript to sync my iPhone nightly at 3:00am every day.
Copy this script into the AppleScript editor, and save to a location on your harddrive.
tell application &#8220;iTunes&#8221;
repeat with s [...]]]></description>
			<content:encoded><![CDATA[<p>One of the more annoying things with having a &#8220;smart phone&#8221; is when its not uptodate with all your stuff.  A few weeks ago I wrote an AppleScript to sync my iPhone nightly at 3:00am every day.</p>
<p>Copy this script into the AppleScript editor, and save to a location on your harddrive.</p>
<div class="codesnip-container" >tell application &#8220;iTunes&#8221;<br />
repeat with s in sources<br />
if (kind of s is iPod) then update s<br />
end repeat<br />
end tell</div>
<p><img style="display: block; margin-left: auto; margin-right: auto; border: 0px initial initial;" title="appleScript_iphonesync" src="http://blog.npike.net/wp-content/uploads/2009/11/appleScript_iphonesync.png" alt="appleScript_iphonesync" width="477" height="384" />Next step is to download and install <a href="http://sourceforge.net/projects/lingon/files/" target="_blank">Lingon</a> and setup a launchd configuration to schedule your nightly iPhone sync.  Here are the settings I used:</p>
<p><img class="aligncenter size-full wp-image-288" title="lingon_iphonesync" src="http://blog.npike.net/wp-content/uploads/2009/11/lingon_iphonesync.png" alt="lingon_iphonesync" width="625" height="624" /></p>
<div>Save your launchd configuration, logout and log back in &#8211; and enjoy!</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.npike.net/2009/11/23/scheduled-iphone-sync-osx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Automatically kill your Twitter client every night at work..</title>
		<link>http://blog.npike.net/2008/10/07/how-to-automatically-kill-your-twitter-client-every-night-at-work/</link>
		<comments>http://blog.npike.net/2008/10/07/how-to-automatically-kill-your-twitter-client-every-night-at-work/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 13:05:11 +0000</pubDate>
		<dc:creator>npike</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[bat]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[pidgin]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.npike.net/?p=222</guid>
		<description><![CDATA[If your like me, you leave your work computer on when you go home.  Most of the time its just easier and faster to leave it turned on then to suffer through a cold boot the next morning.
Your also probably slightly forgetful &#8211; every now and then I forget to close my Twitter and IM [...]]]></description>
			<content:encoded><![CDATA[<p>If your like me, you leave your work computer on when you go home.  Most of the time its just easier and faster to leave it turned on then to suffer through a cold boot the next morning.</p>
<p>Your also probably slightly forgetful &#8211; every now and then I forget to close my Twitter and IM clients before leaving work&#8230; which allows it to sit there all night long eating my precious Twitter API requests.</p>
<p>Changing your Twitter password once you get home works, but is a little drastic.</p>
<p>I use a Windows batch file that is scheduled to run every night at 6PM on my work computer that kills both the process for my Twitter client (Twhirl) and my IM client (pidgin).</p>
<p>Here&#8217;s a quick tutorial.</p>
<ul>
<li>First you want to create a new file in your favorite text editor, call it anything you like.  I named mine &#8220;nightly.bat&#8221;</li>
<li>Paste the following into the new file (assuming you are using Twhirl as your Twitter client)</li>
</ul>
<blockquote><p>taskkill /F /IM twhirl.exe</p></blockquote>
<ul>
<li>Save this file anywhere you like, I saved mine to &#8220;My Documents&#8221;</li>
</ul>
<ul>
<li>Navigate to your windows control panel</li>
<li>Open up &#8220;Scheduled Tasks&#8221;</li>
</ul>
<p><a href="http://blog.npike.net/wp-content/uploads/2008/10/screenshot_031.jpg"><img class="aligncenter size-full wp-image-223" title="screenshot_031" src="http://blog.npike.net/wp-content/uploads/2008/10/screenshot_031.jpg" alt="" width="470" height="90" /></a></p>
<ul>
<li>&#8220;Add Scheduled Task&#8221;</li>
</ul>
<p><a href="http://blog.npike.net/wp-content/uploads/2008/10/screenshot_032.jpg"><img class="aligncenter size-full wp-image-224" title="screenshot_032" src="http://blog.npike.net/wp-content/uploads/2008/10/screenshot_032.jpg" alt="" width="500" height="125" /></a></p>
<ul>
<li>Click Next..</li>
</ul>
<p><a href="http://blog.npike.net/wp-content/uploads/2008/10/screenshot_033.jpg"><img class="aligncenter size-full wp-image-225" title="screenshot_033" src="http://blog.npike.net/wp-content/uploads/2008/10/screenshot_033.jpg" alt="" width="441" height="324" /></a></p>
<ul>
<li>Click &#8220;Browse&#8221; and select your batch file</li>
</ul>
<p><a href="http://blog.npike.net/wp-content/uploads/2008/10/screenshot_035.jpg"><img class="aligncenter size-full wp-image-227" title="screenshot_035" src="http://blog.npike.net/wp-content/uploads/2008/10/screenshot_035.jpg" alt="" width="441" height="325" /></a></p>
<ul>
<li>Setup when to run your task, with a name.  I called mine &#8220;nightly&#8221;, and set it to run &#8220;daily&#8221;</li>
</ul>
<p><a href="http://blog.npike.net/wp-content/uploads/2008/10/screenshot_034.jpg"><img class="aligncenter size-full wp-image-226" title="screenshot_034" src="http://blog.npike.net/wp-content/uploads/2008/10/screenshot_034.jpg" alt="" width="443" height="325" /></a></p>
<ul>
<li>The next screen lets you configure the exact time to run, and what interval of days to run it on (I selected 6pm and weekdays)</li>
</ul>
<p><a href="http://blog.npike.net/wp-content/uploads/2008/10/screenshot_036.jpg"><img class="aligncenter size-full wp-image-228" title="screenshot_036" src="http://blog.npike.net/wp-content/uploads/2008/10/screenshot_036.jpg" alt="" width="438" height="322" /></a></p>
<ul>
<li>All done! Click &#8220;Finish&#8221; and your good to go.</li>
</ul>
<p><a href="http://blog.npike.net/wp-content/uploads/2008/10/screenshot_037.jpg"><img class="aligncenter size-full wp-image-229" title="screenshot_037" src="http://blog.npike.net/wp-content/uploads/2008/10/screenshot_037.jpg" alt="" width="441" height="327" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.npike.net/2008/10/07/how-to-automatically-kill-your-twitter-client-every-night-at-work/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
