<?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>NiGhTHawK &#187; Web</title>
	<atom:link href="http://nighthawk.co.za/category/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://nighthawk.co.za</link>
	<description>A guy, a blog and the internet</description>
	<lastBuildDate>Fri, 30 Jul 2010 10:23:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1-alpha</generator>
		<item>
		<title>Life changing events&#8230;</title>
		<link>http://nighthawk.co.za/2010/07/life-changing-events/</link>
		<comments>http://nighthawk.co.za/2010/07/life-changing-events/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 10:23:16 +0000</pubDate>
		<dc:creator>Clifford W. Hansen</dc:creator>
				<category><![CDATA[Family]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://nighthawk.co.za/?p=455</guid>
		<description><![CDATA[In less than 12 hours I leave Capetown and move back to Johannesburg. I am excited, a little nervous, and really looking forward to what the future holds. On that note, it&#8217;s almost lunch time, and I&#8217;m gonna miss the friday ritual of going out and getting food. Thank you to TheClassifieds it&#8217;s been a]]></description>
			<content:encoded><![CDATA[<p>In less than 12 hours I leave Capetown and move back to Johannesburg.</p>
<p>I am excited, a little nervous, and really looking forward to what the future holds.</p>
<p>On that note, it&#8217;s almost lunch time, and I&#8217;m gonna miss the friday ritual of going out and getting food. Thank you to <a href="http://www.theclassifieds.co.za">TheClassifieds</a> it&#8217;s been a great year, I&#8217;ve learn a lot, and I hope you guys have also.</p>
<p>Time to shutdown and go to lunch, catch you on the flip side <img src='http://nighthawk.co.za/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://nighthawk.co.za/2010/07/life-changing-events/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SARS eFiling and Linux</title>
		<link>http://nighthawk.co.za/2010/07/sars-efiling-and-linux/</link>
		<comments>http://nighthawk.co.za/2010/07/sars-efiling-and-linux/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 21:13:46 +0000</pubDate>
		<dc:creator>Clifford W. Hansen</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Family]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://nighthawk.co.za/?p=434</guid>
		<description><![CDATA[SARS (South African Revenue Service) a couple of yeas ago (eFiling) introduced an awesome system, where you could go online and submit your tax return. The problems I have had have been annoying, firstly (2008) I was unable to do anything as the system required you to have Adobe Reader 8.2, this was not available]]></description>
			<content:encoded><![CDATA[<p><a href="http://sars.gov.za/">SARS</a> (South African Revenue Service) a couple of yeas ago (<a href="http://www.sarsefiling.co.za">eFiling</a>) introduced an awesome system, where you could go online and submit your tax return.</p>
<p>The problems I have had have been annoying, firstly (2008) I was unable to do anything as the system required you to have Adobe Reader 8.2, this was not available for Linux. And you can imagine the support staff were <em>very</em> helpfull&#8230; NOT</p>
<p>And then 2009 &#038; 2010, a similar problem or so it seemed, when ever I tried to load one of the system generated PDF files it would tell me I needed to upgrade my Adobe Reader (which at the moment is 9.3.3, the latest I believe).</p>
<p>After trying to figure out what could be the problem I found it to be a javascript related issue, yes javascript in a PDF&#8230;</p>
<p><strong>Solution</strong><br />
Well to solve this problem you need to have the <a href="http://debian-multimedia.org">Debian Multimedia</a> repository setup.</p>
<p>And then all you need to do is:</p>
<pre>apt-get install acroread mozilla-acroread acroread-plugins</pre>
<p>After that restart firefox/iceweasel and there you have it, the missing peice of the puzzel <em>acroread-plugins</em></p>
<p>So now I have submitted my returns for 2008/2009/2010, here&#8217;s waiting for a refund <strong>*holds thumbs*</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://nighthawk.co.za/2010/07/sars-efiling-and-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Trying to reorganize ones life</title>
		<link>http://nighthawk.co.za/2010/04/trying-to-reorganize-ones-life/</link>
		<comments>http://nighthawk.co.za/2010/04/trying-to-reorganize-ones-life/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 21:24:46 +0000</pubDate>
		<dc:creator>Clifford W. Hansen</dc:creator>
				<category><![CDATA[Family]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://nighthawk.co.za/?p=423</guid>
		<description><![CDATA[It&#8217;s amazing how time flies parts us and we sometimes don&#8217;t even notice it. Well I know I can&#8217;t change time or the past, but I can shape the future, and I plan to do just that. I know it&#8217;s not going to be easy, but I am needing to split my day in to]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s amazing how time flies parts us and we sometimes don&#8217;t even notice it.</p>
<p>Well I know I can&#8217;t change time or the past, but I can shape the future, and I plan to do just that.</p>
<p>I know it&#8217;s not going to be easy, but I am needing to split my day in to various chucks so I can at least get some meaning out of them and not just plod along like I have been doing.</p>
<p>So lets see how this works out&#8230; And hopefully I can stick to it for more than one or two days :p</p>
<p>I am slowly becoming a stronger person, not only emotionally but physically and mentally as well. I have some motivation, and it&#8217;s amazing what you can achieve when you have people around you that believe in you <img src='http://nighthawk.co.za/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  so thank you to all those people <img src='http://nighthawk.co.za/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I have a few big plans for the future, unfortunately the timing isn&#8217;t right yet for some of them, and some other plans are reliant on the first few, but with time and patience, these things shall come to pass <img src='http://nighthawk.co.za/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>And hopefully I will now have more time to mess around with more technology <img src='http://nighthawk.co.za/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Well best get off to bed, it&#8217;s getting late <img src='http://nighthawk.co.za/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://nighthawk.co.za/2010/04/trying-to-reorganize-ones-life/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Taking a break&#8230;</title>
		<link>http://nighthawk.co.za/2010/02/taking-a-break/</link>
		<comments>http://nighthawk.co.za/2010/02/taking-a-break/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 05:05:34 +0000</pubDate>
		<dc:creator>Clifford W. Hansen</dc:creator>
				<category><![CDATA[Family]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://nighthawk.co.za/?p=419</guid>
		<description><![CDATA[Isn&#8217;t it funny how much we rely on the interet. I have my email, twitter and facebook setup on my phone and all the pc&#8217;s I use, just in case I miss something. It has started taking up a lot of time, I have hardly had any time for myself. So, I&#8217;ve decided that for]]></description>
			<content:encoded><![CDATA[<p>Isn&#8217;t it funny how much we rely on the interet. I have my email, twitter and facebook setup on my phone and all the pc&#8217;s I use, just in case I miss something. It has started taking up a lot of time, I have hardly had any time for myself.</p>
<p>So, I&#8217;ve decided that for the next couple of weeks I&#8217;m going to disconnect myself from that world, unfortunatly I can&#8217;t disconnect completely from the internet due to my work. But I can close down chat clients, and the like.</p>
<p>Here&#8217;s to the next couple of weeks, hopefully something good comes from it, catch y&#8217;all on the other side. And I will try and blog more, havn&#8217;t really had a chance to learn anything new recently, hence this decision <img src='http://nighthawk.co.za/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Love you all, C</p>
<p>PS. If you need to get hold of me, pop me a mail or sms, or leave a comment below (they are moderated so if you don&#8217;t want it to show up just say so <img src='http://nighthawk.co.za/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>UPDATE &#8211; 2 Mar</strong> So it took a week and I&#8217;m back, but I&#8217;ve removed a few people from follow lists, unfortunately these things need to be done <img src='http://nighthawk.co.za/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://nighthawk.co.za/2010/02/taking-a-break/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Remote syncing files using git</title>
		<link>http://nighthawk.co.za/2010/01/remote-syncing-files-using-git/</link>
		<comments>http://nighthawk.co.za/2010/01/remote-syncing-files-using-git/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 05:41:07 +0000</pubDate>
		<dc:creator>Clifford W. Hansen</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://nighthawk.co.za/?p=416</guid>
		<description><![CDATA[I&#8217;ve been wanting to write a post about this for a while, and a friend of mine asked about it a couple of weeks ago, and here it is&#8230; First you need to create a remote Git repository, either on your own server or Codaset, GitHub You will need to create a local repository: mkdir]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been wanting to write a post about this for a while, and a friend of mine asked about it a couple of weeks ago, and here it is&#8230;</p>
<p>First you need to create a remote Git repository, either on your own server or <a href="http://codaset.com">Codaset</a>, <a href="http://github.com">GitHub</a></p>
<p>You will need to create a local repository:</p>
<pre>mkdir directory_to_sync
cd directory_to_sync
git init
touch .gitignore
git add .gitignore
git commit</pre>
<p>To create a remote Git repository do the following on your server:</p>
<pre>mkdir repository.git
cd repository.git
git init --bare</pre>
<p>Once you have created the remote repository you will need to link it to your local copy:</p>
<pre>git remote add origin ssh://server_address/path_to_repository
git push origin master
git pull origin master</pre>
<p>To make life easier I always edit the Git config file and add the following:</p>
<pre>vi .git/config
[push]
        default = current
[branch "master"]
        remote = origin
        merge = master</pre>
<p>The only problem with this approach is that you need to store the files in a seperate directory, but we ca get around this &#8220;limitation&#8221; by using symlinks for example to store the .bash* files in Git:</p>
<pre>ln -s directory_to_sync/.bashrc ./</pre>
<p>Well I hope this helps someone out there <img src='http://nighthawk.co.za/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The post is brought to you by <a href="http://fedorahosted.org/lekhonee">lekhonee</a> v0.7</p>
]]></content:encoded>
			<wfw:commentRss>http://nighthawk.co.za/2010/01/remote-syncing-files-using-git/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tweetdeck and 64Bit Linux</title>
		<link>http://nighthawk.co.za/2009/12/tweetdeck-and-64bit-linux/</link>
		<comments>http://nighthawk.co.za/2009/12/tweetdeck-and-64bit-linux/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 07:19:49 +0000</pubDate>
		<dc:creator>Clifford W. Hansen</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://nighthawk.co.za/?p=405</guid>
		<description><![CDATA[So I&#8217;ve been trying to get TweetDeck running on my work PC for a while, and none of the howto&#8217;s I followed were able to help Then this morning I stumbled apon this gem and lo and behold it worked (kinda) I just had to set the permisisons on the /opt/Adobe Air/ directory. AWESOME!!! Anyways,]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ve been trying to get TweetDeck running on my work PC for a while, and none of the howto&#8217;s I followed were able to help <img src='http://nighthawk.co.za/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Then this morning I stumbled apon <a href="http://muammar.me/blog/index.php?url=archives/336-Installing-Adobe-Air-in-Debian-AMD-64-TweetDeck-can-be-used.html&amp;serendipity[csuccess]=true#feedback">this gem</a> and lo and behold it worked (kinda) I just had to set the permisisons on the <strong>/opt/Adobe Air/</strong> directory.</p>
<p>AWESOME!!! <img src='http://nighthawk.co.za/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Anyways, this is mainly so if I ever reinstall (which I tend to do anyways every couple of weeks lolz&#8230; selftorture++)</p>
]]></content:encoded>
			<wfw:commentRss>http://nighthawk.co.za/2009/12/tweetdeck-and-64bit-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Canon IP1800 &#8211; update</title>
		<link>http://nighthawk.co.za/2009/09/canon-ip1800-update/</link>
		<comments>http://nighthawk.co.za/2009/09/canon-ip1800-update/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 09:44:26 +0000</pubDate>
		<dc:creator>Clifford W. Hansen</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://nighthawk.co.za/?p=366</guid>
		<description><![CDATA[In my last post I mentioned how to get this printer working in Debian, and since then have found a better (no ignoring dependancies) method. Taken from: http://nomo17k.wordpress.com/2009/03/22/canon-pixma-ip1800-for-debian-lenny/ Sunday, March 22, 2009 Canon PIXMA iP1800 for Debian Lenny Filed under: Debian, Lenny, Linux — nomo17k @ 12:51 This is a cheap inkjet printer that I]]></description>
			<content:encoded><![CDATA[<p>In my last <a href="http://nighthawk.co.za/2008/07/canon-ip1800/">post</a> I mentioned how to get this printer working in Debian, and since then have found a better (no ignoring dependancies) method.</p>
<p><strong>Taken from: </strong><a href="http://nomo17k.wordpress.com/2009/03/22/canon-pixma-ip1800-for-debian-lenny/"><strong>http://nomo17k.wordpress.com/2009/03/22/canon-pixma-ip1800-for-debian-lenny/</strong></a></p>
<h2 style="font-size: 0.9em; color: #666666; margin-bottom: 0px; margin-top: 0px;">Sunday, March 22, 2009</h2>
<div id="post-165">
<h3 style="font-size: 1.5em; font-weight: normal; margin-bottom: 0.33em; margin-top: 0.25em;"><a style="text-decoration: none; color: #b54141; border: 1px solid white;" rel="bookmark" href="http://nomo17k.wordpress.com/2009/03/22/canon-pixma-ip1800-for-debian-lenny/">Canon PIXMA iP1800 for Debian Lenny</a></h3>
<div style="font-size: 0.85em; color: #666666;">Filed under: <a style="text-decoration: none; color: #b54141; margin-top: 0px; border: 1px solid white;" title="View all posts in Debian" rel="category tag" href="http://en.wordpress.com/tag/debian/">Debian</a>, <a style="text-decoration: none; color: #b54141; margin-top: 0px; border: 1px solid white;" title="View all posts in Lenny" rel="category tag" href="http://en.wordpress.com/tag/lenny/">Lenny</a>, <a style="text-decoration: none; color: #b54141; margin-top: 0px; border: 1px solid white;" title="View all posts in Linux" rel="category tag" href="http://en.wordpress.com/tag/linux/">Linux</a> — nomo17k @ 12:51 <br style="margin-top: 0px;" /></div>
<div>
<p style="font-size: 1em; line-height: 1.65em;">This is a cheap inkjet printer that I got for my temporary printing needs. The cartridges are very expensive (&gt; $16 !!), so for heavy use this isn’t really worth my money. Anyways…</p>
<p style="font-size: 1em; line-height: 1.65em;">Install CUPS and printing-related packages:</p>
<pre style="padding: 4px; border: 1px solid #cccccc;"># apt-get install cupsys cupsys-client libcupsys2
# apt-get install cupsys-driver-gimpprint cupsys-bsd
# apt-get install foomatic-db-engine foomatic-db-gimp-print foomatic-filters
# apt-get install hp-ppd linuxprinting.org-ppds printfilters-ppd
# apt-get install foomatic-filters-ppds
# apt-get install gs-gpl libpng3 ijsgutenprint</pre>
<p style="font-size: 1em; line-height: 1.65em;">(Note that I downloaded a few packages that are not necessary for this particular printer. This is a generic collection of packages that I find useful to use printers in other places like my office.)</p>
<p style="font-size: 1em; line-height: 1.65em;"><a style="text-decoration: none; color: #b54141; border: 1px solid white;" href="http://home.btconnect.com/jerryf/">Download deb packages</a> of the printer driver:</p>
<pre style="padding: 4px; border: 1px solid #cccccc;">cnijfilter-common_2.70-3_i386.deb
cnijfilter-ip1800series_2.70-3_i386.deb</pre>
<p style="font-size: 1em; line-height: 1.65em;">and install them:</p>
<pre style="padding: 4px; border: 1px solid #cccccc;"># dpkg -i cnijfilter-common_2.70-3_i386.deb cnijfilter-ip1800series_2.70-3_i386.deb</pre>
<p style="font-size: 1em; line-height: 1.65em;">If CUPS has been installed properly, visit the CUPS admin page (<a style="text-decoration: none; color: #b54141; border: 1px solid white;" href="http://localhost:631/admin">http://localhost:631/admin</a>) with your browser. You will be able to configure the printer in the standard CUPS way.</p>
<p style="font-size: 1em; line-height: 1.65em;"><strong>Taken from: </strong><a href="http://nomo17k.wordpress.com/2009/03/22/canon-pixma-ip1800-for-debian-lenny/"><strong>http://nomo17k.wordpress.com/2009/03/22/canon-pixma-ip1800-for-debian-lenny/</strong></a></p>
<p style="font-size: 1em; line-height: 1.65em;">I copied and pasted so I have a copy incase that site disapears.</p>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://nighthawk.co.za/2009/09/canon-ip1800-update/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Debian Mirror and GPG issues</title>
		<link>http://nighthawk.co.za/2009/08/debian-mirror-and-gpg-issues/</link>
		<comments>http://nighthawk.co.za/2009/08/debian-mirror-and-gpg-issues/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 08:46:41 +0000</pubDate>
		<dc:creator>Clifford W. Hansen</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://nighthawk.co.za/?p=357</guid>
		<description><![CDATA[So I had a mirror up and running beautifully, and then after running the update scripts I lost the GPG authentication. I was getting the following errors: WARNING: The following packages cannot be authenticated! foo bar baz Install these packages without verification [y/N]? I struggled for a while to get this to work, and then]]></description>
			<content:encoded><![CDATA[<p>So I had a mirror up and running beautifully, and then after running the update scripts I lost the GPG authentication.</p>
<p>I was getting the following errors:<br />
<code>WARNING: The following packages cannot be authenticated!<br />
foo bar baz<br />
Install these packages without verification [y/N]?</code></p>
<p>I struggled for a while to get this to work, and then gave up, but I finally got this sorted out <img src='http://nighthawk.co.za/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Firstly as the user running the mirror script:<br />
<code>gpg --no-default-keyring --keyring ~/.gnupg/trustedkeys.gpg --keyserver hkp://subkeys.pgp.net --recv-keys </code></p>
<p>I needed to add the following keys:<br />
16BA136C &#8211; Backports.org Archive Key<br />
55BE302B &#8211; Debian Archive Automatic Signing Key (5.0/lenny)<br />
F42584E6 &#8211; Lenny Stable Release Key<br />
55BE302B &#8211; Debian Archive Automatic Signing Key (5.0/lenny)<br />
0C5A2783 &#8211; Medibuntu Packaging Team<br />
1F41B907 &#8211; Christian Marillat<br />
437D05B5 &#8211; Ubuntu Archive Automatic Signing Key<br />
6DFBCBAE &#8211; Sun Microsystems, Inc. (xVM VirtualBox archive signing key)<br />
BBE55AB3 &#8211; Debian-Volatile Archive Automatic Signing Key (4.0/etch)</p>
<p>The Medibuntu key was a little strange to get as noted on this post: <a href="http://ubuntuforums.org/showthread.php?p=7367273">How To: Make Your Own Ubuntu Repository DVDs</a></p>
<p>Also removed the &#8220;&#8211;ignore-release-gpg&#8221; option from the scripts, this will at least warn me the next time something like this happens&#8230; <img src='http://nighthawk.co.za/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>And then run the mirror scripts again and voila</p>
]]></content:encoded>
			<wfw:commentRss>http://nighthawk.co.za/2009/08/debian-mirror-and-gpg-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tech Support Cheat Sheet</title>
		<link>http://nighthawk.co.za/2009/08/tech-support-cheat-sheet/</link>
		<comments>http://nighthawk.co.za/2009/08/tech-support-cheat-sheet/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 09:00:38 +0000</pubDate>
		<dc:creator>Clifford W. Hansen</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://nighthawk.co.za/?p=352</guid>
		<description><![CDATA[Taken from xkcd]]></description>
			<content:encoded><![CDATA[<p><a href="http://xkcd.com/627/"><img class="alignnone" title="Hey Megan, its your father. How do I print out a flowchart?" src="http://imgs.xkcd.com/comics/tech_support_cheat_sheet.png" alt="Tech Support Cheat Sheet" width="732" height="823" /></a><br />Taken from <a href="http://xkcd.com/627/">xkcd</a></p>
]]></content:encoded>
			<wfw:commentRss>http://nighthawk.co.za/2009/08/tech-support-cheat-sheet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache mod_rewrite tips and tricks</title>
		<link>http://nighthawk.co.za/2009/08/apache-mod_rewrite-tips-and-tricks/</link>
		<comments>http://nighthawk.co.za/2009/08/apache-mod_rewrite-tips-and-tricks/#comments</comments>
		<pubDate>Sat, 15 Aug 2009 16:41:31 +0000</pubDate>
		<dc:creator>Clifford W. Hansen</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://nighthawk.co.za/?p=347</guid>
		<description><![CDATA[So I was trying to solve a weird redirect issue: Request exceeded the limit of 10 internal redirects due to probable configuration error. I found this site, which had quite alot of info. One tip I really liked was: Cache-Friendly File Names This is probably my favorite, and I use it on every site I]]></description>
			<content:encoded><![CDATA[<p>So I was trying to solve a weird redirect issue: <em>Request exceeded the limit of 10 internal redirects due to probable configuration error.</em></p>
<p>I found <a href="http://www.askapache.com/htaccess/mod_rewrite-tips-and-tricks.html">this site</a>, which had quite alot of info.</p>
<p>One tip I really liked was:</p>
<h2>Cache-Friendly File Names</h2>
<p>This is probably my favorite, and I use it on every site I work on. It allows me to update my javascript and css files in my visitors cache’s simply by naming them differently in the html, on the server they stay the same name. This rewrites all files for <code>/zap/j/anything-anynumber.js to /zap/j/anything.js and /zap/c/anything-anynumber.css to /zap/c/anything.css</code></p>
<pre>RewriteRule ^zap/(j|c)/([a-z]+)-([0-9]+)\.(js|css)$ /zap/$1/$2.$4 [L]</pre>
]]></content:encoded>
			<wfw:commentRss>http://nighthawk.co.za/2009/08/apache-mod_rewrite-tips-and-tricks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
