<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.1" -->
<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/"
	>

<channel>
	<title>Toxic Byte</title>
	<link>http://www.toxicbyte.com</link>
	<description>Chomp chomp chomp</description>
	<pubDate>Sun, 04 Mar 2007 15:50:44 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.1</generator>
	<language>en</language>
			<item>
		<title>How in the name of all that is Holy, do I cut and paste in Vi?</title>
		<link>http://www.toxicbyte.com/technical/how-in-the-name-of-all-that-is-holy-do-i-cut-and-paste-in-vi-445.html</link>
		<comments>http://www.toxicbyte.com/technical/how-in-the-name-of-all-that-is-holy-do-i-cut-and-paste-in-vi-445.html#comments</comments>
		<pubDate>Sun, 04 Mar 2007 15:50:44 +0000</pubDate>
		<dc:creator>Chris Andrews</dc:creator>
		
	<category>Technical</category>
		<guid isPermaLink="false">http://www.toxicbyte.com/technical/how-in-the-name-of-all-that-is-holy-do-i-cut-and-paste-in-vi-445.html</guid>
		<description><![CDATA[That&#8217;s a rather long title to this post, but one that is deserved I feel. I must have been using vi (or vim or even elvis I suspect) for about 23 years now and I&#8217;ve never bothered working out how to cut and damn paste in it. Usually I just highlight the text I need [...]]]></description>
		<wfw:commentRSS>http://www.toxicbyte.com/technical/how-in-the-name-of-all-that-is-holy-do-i-cut-and-paste-in-vi-445.html/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Using regular expressions in mysql</title>
		<link>http://www.toxicbyte.com/technical/databases/using-regular-expressions-in-mysql-444.html</link>
		<comments>http://www.toxicbyte.com/technical/databases/using-regular-expressions-in-mysql-444.html#comments</comments>
		<pubDate>Mon, 05 Feb 2007 21:02:13 +0000</pubDate>
		<dc:creator>Chris Andrews</dc:creator>
		
	<category>Databases</category>
		<guid isPermaLink="false">http://www.toxicbyte.com/technical/databases/using-regular-expressions-in-mysql-444.html</guid>
		<description><![CDATA[I&#8217;ve used regex in postgres a lot, but I&#8217;ve got a mysql database with a lot of fields that need updating. They&#8217;re in the form of &#8220;http://url/?page=keyword&#8221; and I want to change that to &#8220;http://url/page/keyword/&#8221;. So I experiment, but yield no results, in fact errors:
SELECT *
FROM `domain`
WHERE redir REGEX `^http`
Which is annoying.  Obviously, I [...]]]></description>
		<wfw:commentRSS>http://www.toxicbyte.com/technical/databases/using-regular-expressions-in-mysql-444.html/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Converting a unix timestamp for use in Excel</title>
		<link>http://www.toxicbyte.com/technical/windows/converting-a-unix-timestamp-for-use-in-excel-443.html</link>
		<comments>http://www.toxicbyte.com/technical/windows/converting-a-unix-timestamp-for-use-in-excel-443.html#comments</comments>
		<pubDate>Wed, 31 Jan 2007 22:27:52 +0000</pubDate>
		<dc:creator>Chris Andrews</dc:creator>
		
	<category>Windows</category>
		<guid isPermaLink="false">http://www.toxicbyte.com/technical/windows/converting-a-unix-timestamp-for-use-in-excel-443.html</guid>
		<description><![CDATA[So, I&#8217;ve got this cron job running to log the results of the uptime command every 5 or 10 minutes. Well, it does a timestamp and then adds in the three load values in a tab separated format. Then I can load this into excel for pretty graphs and stuff and see why over night [...]]]></description>
		<wfw:commentRSS>http://www.toxicbyte.com/technical/windows/converting-a-unix-timestamp-for-use-in-excel-443.html/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Simple rsync guide</title>
		<link>http://www.toxicbyte.com/technical/simple-rsync-guide-442.html</link>
		<comments>http://www.toxicbyte.com/technical/simple-rsync-guide-442.html#comments</comments>
		<pubDate>Tue, 30 Jan 2007 10:06:18 +0000</pubDate>
		<dc:creator>Chris Andrews</dc:creator>
		
	<category>Technical</category>
		<guid isPermaLink="false">http://www.toxicbyte.com/technical/simple-rsync-guide-442.html</guid>
		<description><![CDATA[It amazing me how little I know when I set about tasks. So I&#8217;ve got a folder on one web server (the dev box) and I want it to update a folder on another server (the live site). In the verge of writing a script to do it, I&#8217;m told &#8220;why don&#8217;t you just use [...]]]></description>
		<wfw:commentRSS>http://www.toxicbyte.com/technical/simple-rsync-guide-442.html/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Ranking well in Google</title>
		<link>http://www.toxicbyte.com/technical/search/ranking-well-in-google-441.html</link>
		<comments>http://www.toxicbyte.com/technical/search/ranking-well-in-google-441.html#comments</comments>
		<pubDate>Sun, 28 Jan 2007 22:37:32 +0000</pubDate>
		<dc:creator>Chris Andrews</dc:creator>
		
	<category>Search</category>
		<guid isPermaLink="false">http://www.toxicbyte.com/technical/search/ranking-well-in-google-441.html</guid>
		<description><![CDATA[I meant to post this on this site, but ended up posting it on another one of mine. Anyway, in short, the post is aimed at people who claim ranking is simple in lesser engines but not in Google.  Surely, if you can rank well in the other search sites then people WILL find [...]]]></description>
		<wfw:commentRSS>http://www.toxicbyte.com/technical/search/ranking-well-in-google-441.html/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Device is busy and is mounted multiple times</title>
		<link>http://www.toxicbyte.com/technical/device-is-busy-and-is-mounted-multiple-times-440.html</link>
		<comments>http://www.toxicbyte.com/technical/device-is-busy-and-is-mounted-multiple-times-440.html#comments</comments>
		<pubDate>Wed, 17 Jan 2007 10:37:42 +0000</pubDate>
		<dc:creator>Chris Andrews</dc:creator>
		
	<category>Technical</category>
		<guid isPermaLink="false">http://www.toxicbyte.com/technical/device-is-busy-and-is-mounted-multiple-times-440.html</guid>
		<description><![CDATA[So, I&#8217;ve got a mount point that is used by a backup script, it seems that this script has been mounting the remote device via samba  and not unmounting (umount) it at the end of it&#8217;s task.  Now the server has it&#8217;s knickers well and truely in a knot.  I know a [...]]]></description>
		<wfw:commentRSS>http://www.toxicbyte.com/technical/device-is-busy-and-is-mounted-multiple-times-440.html/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Find the difference between two folders or drives</title>
		<link>http://www.toxicbyte.com/technical/find-the-difference-between-two-folders-or-drives-439.html</link>
		<comments>http://www.toxicbyte.com/technical/find-the-difference-between-two-folders-or-drives-439.html#comments</comments>
		<pubDate>Fri, 29 Dec 2006 22:10:06 +0000</pubDate>
		<dc:creator>Chris Andrews</dc:creator>
		
	<category>Technical</category>
		<guid isPermaLink="false">http://www.toxicbyte.com/technical/find-the-difference-between-two-folders-or-drives-439.html</guid>
		<description><![CDATA[I&#8217;ve got a hard disk with bad sectors and I&#8217;ve also got a shiney new one. So I&#8217;ve copied over the files from the old drive to the new. Alas, I&#8217;ve had to click &#8220;Skip&#8221; to get past the bad files and I have no idea which files didn&#8217;t make the transfer. A quick search [...]]]></description>
		<wfw:commentRSS>http://www.toxicbyte.com/technical/find-the-difference-between-two-folders-or-drives-439.html/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Vacuuming of database failed to re-find parent key.</title>
		<link>http://www.toxicbyte.com/technical/databases/vacuuming-of-database-failed-to-re-find-parent-key-438.html</link>
		<comments>http://www.toxicbyte.com/technical/databases/vacuuming-of-database-failed-to-re-find-parent-key-438.html#comments</comments>
		<pubDate>Fri, 17 Nov 2006 21:27:55 +0000</pubDate>
		<dc:creator>Chris Andrews</dc:creator>
		
	<category>Databases</category>
		<guid isPermaLink="false">http://www.toxicbyte.com/technical/databases/vacuuming-of-database-failed-to-re-find-parent-key-438.html</guid>
		<description><![CDATA[So then, it&#8217;s late in the day, the database is long overdue a vacuum so I set it off and left it. Apparently it fails two minutes in with:
vacuumdb: vacuuming of database "xxxxxx" failed: ERROR:  failed to re-find parent key in "pg_class_relname_nsp_index"

So, after changing my underpants. I find the cure quite quickly with:
REINDEX INDEX [...]]]></description>
		<wfw:commentRSS>http://www.toxicbyte.com/technical/databases/vacuuming-of-database-failed-to-re-find-parent-key-438.html/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Using the MaxMind geoip database - Part 4 - Testing the longitude and latitudes</title>
		<link>http://www.toxicbyte.com/technical/using-the-maxmind-geoip-database-part-4-testing-the-longitude-and-latitudes-437.html</link>
		<comments>http://www.toxicbyte.com/technical/using-the-maxmind-geoip-database-part-4-testing-the-longitude-and-latitudes-437.html#comments</comments>
		<pubDate>Sat, 02 Sep 2006 20:22:09 +0000</pubDate>
		<dc:creator>Chris Andrews</dc:creator>
		
	<category>Technical</category>
		<guid isPermaLink="false">http://www.toxicbyte.com/technical/using-the-maxmind-geoip-database-part-4-testing-the-longitude-and-latitudes-437.html</guid>
		<description><![CDATA[Just a simple bit of code this, almost an evolution of the previous test program. It looks up your own ip address and spits out the longitude and latitude of your country.  On with the code!

&#60;?php
/*
 * test_geoip.php - Test of the geoip database
 * - Chris Andrews (http://www.toxicbyte.com/)
 *
 * History:
 * 01/09/2006
 [...]]]></description>
		<wfw:commentRSS>http://www.toxicbyte.com/technical/using-the-maxmind-geoip-database-part-4-testing-the-longitude-and-latitudes-437.html/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Using the MaxMind geoip database - Part 3 - Getting the longitude and latitudes</title>
		<link>http://www.toxicbyte.com/technical/databases/using-the-maxmind-geoip-database-part-3-getting-the-longitude-and-latitudes-436.html</link>
		<comments>http://www.toxicbyte.com/technical/databases/using-the-maxmind-geoip-database-part-3-getting-the-longitude-and-latitudes-436.html#comments</comments>
		<pubDate>Sat, 02 Sep 2006 20:12:53 +0000</pubDate>
		<dc:creator>Chris Andrews</dc:creator>
		
	<category>Databases</category>
		<guid isPermaLink="false">http://www.toxicbyte.com/technical/databases/using-the-maxmind-geoip-database-part-3-getting-the-longitude-and-latitudes-436.html</guid>
		<description><![CDATA[I thought this was going to take me ages and I was going to have to spend year finding a database of coorditates for countries.  I was wrong, my search led me to the MaxMind site again. Their data comes from the CIA World Fact Book, but they&#8217;ve compiled it into a nice list [...]]]></description>
		<wfw:commentRSS>http://www.toxicbyte.com/technical/databases/using-the-maxmind-geoip-database-part-3-getting-the-longitude-and-latitudes-436.html/feed/</wfw:commentRSS>
		</item>
	</channel>
</rss>
