<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Useful Snippets</title>
	<atom:link href="http://useful.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://useful.wordpress.com</link>
	<description>Useful geek stuff tagged for future reference ;)</description>
	<lastBuildDate>Wed, 08 Nov 2006 23:41:01 +0000</lastBuildDate>
	<language></language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='useful.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Useful Snippets</title>
		<link>http://useful.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://useful.wordpress.com/osd.xml" title="Useful Snippets" />
	<atom:link rel='hub' href='http://useful.wordpress.com/?pushpress=hub'/>
		<item>
		<title>MySQL 4.0 -&gt; 4.1 collation / character issues</title>
		<link>http://useful.wordpress.com/2006/09/08/mysql-40-41-collation-character-issues/</link>
		<comments>http://useful.wordpress.com/2006/09/08/mysql-40-41-collation-character-issues/#comments</comments>
		<pubDate>Fri, 08 Sep 2006 00:21:06 +0000</pubDate>
		<dc:creator>useful</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://useful.wordpress.com/2006/09/08/mysql-40-41-collation-character-issues/</guid>
		<description><![CDATA[Just moved from MySQL 4.0 to 4.1 and seeing wierd characters everywhere?  Well I had this &#8216;privelage&#8217; enforced by a host without any notice, so it was bloody important to get this up and running. Here&#8217;s how to fix it Firstly dump your existing MySQL 4.0 database mysqldump &#8211;user=root -p &#8211;default-character-set=latin1 &#8211;skip-set-charset database_name &#62; database_name.sql [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=useful.wordpress.com&amp;blog=23766&amp;post=13&amp;subd=useful&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just moved from MySQL 4.0 to 4.1 and seeing wierd characters everywhere?  Well I had this &#8216;privelage&#8217; enforced by a host without any notice, so it was bloody important to get this up and running.</p>
<p>Here&#8217;s how to fix it<br />
<font size="2"><br />
Firstly dump your existing MySQL 4.0 database<br />
<strong>mysqldump &#8211;user=root -p &#8211;default-character-set=latin1<br />
&#8211;skip-set-charset database_name &gt; database_name.sql</p>
<p></strong></font><font size="2">Run this regular expression against the sql dump and output to new file<br />
<strong>sed -r &#8216;s/latin1/utf8/g&#8217; database_name.sql &gt; database_name.utf.sql</strong></font><font size="2">Drop the database on MySQL 4.1 if it exists, create the database with default character sets<br />
<strong>mysql &#8211;user=root -p &#8211;execute=&#8221;DROP DATABASE database_name; CREATE<br />
DATABASE database_name CHARACTER SET utf8 COLLATE utf8_general_ci;&#8221;</strong></p>
<p>Finally reimport the SQL dump that has been through SED<br />
<strong>mysql &#8211;user=root -p &#8211;default-character-set=utf8 database_name &lt;<br />
database_name.utf.sql</strong></p>
<p></font><font size="2">Go back to your site, F5 and pray <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </font></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/useful.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/useful.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/useful.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/useful.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/useful.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/useful.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/useful.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/useful.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/useful.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/useful.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/useful.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/useful.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/useful.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/useful.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/useful.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/useful.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=useful.wordpress.com&amp;blog=23766&amp;post=13&amp;subd=useful&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://useful.wordpress.com/2006/09/08/mysql-40-41-collation-character-issues/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0f126e314e39b02f5a125641f7363fda?s=96&#38;d=identicon" medium="image">
			<media:title type="html">useful</media:title>
		</media:content>
	</item>
		<item>
		<title>sku011.cab</title>
		<link>http://useful.wordpress.com/2006/01/26/sku011cab/</link>
		<comments>http://useful.wordpress.com/2006/01/26/sku011cab/#comments</comments>
		<pubDate>Thu, 26 Jan 2006 15:52:00 +0000</pubDate>
		<dc:creator>useful</dc:creator>
				<category><![CDATA[microsoft]]></category>
		<category><![CDATA[office 2003]]></category>

		<guid isPermaLink="false">http://useful.wordpress.com/2006/01/26/sku011cab/</guid>
		<description><![CDATA[The post with the fix for the annoying sku011.cab problem has moved over to technotes<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=useful.wordpress.com&amp;blog=23766&amp;post=6&amp;subd=useful&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The post with the fix for the annoying <a href="http://www.technotes.co.uk/sku011-cab" title="sku011.com">sku011.cab</a> problem has moved over to <a href="http://www.technotes.co.uk/sku011-cab" title="sku011.cab">technotes</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/useful.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/useful.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/useful.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/useful.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/useful.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/useful.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/useful.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/useful.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/useful.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/useful.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/useful.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/useful.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/useful.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/useful.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/useful.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/useful.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=useful.wordpress.com&amp;blog=23766&amp;post=6&amp;subd=useful&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://useful.wordpress.com/2006/01/26/sku011cab/feed/</wfw:commentRss>
		<slash:comments>69</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0f126e314e39b02f5a125641f7363fda?s=96&#38;d=identicon" medium="image">
			<media:title type="html">useful</media:title>
		</media:content>
	</item>
		<item>
		<title>Linux disable local ctrl+alt+delete</title>
		<link>http://useful.wordpress.com/2005/12/14/linux-disable-local-ctrlaltdelete/</link>
		<comments>http://useful.wordpress.com/2005/12/14/linux-disable-local-ctrlaltdelete/#comments</comments>
		<pubDate>Wed, 14 Dec 2005 18:04:41 +0000</pubDate>
		<dc:creator>useful</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[protection]]></category>

		<guid isPermaLink="false">http://useful.wordpress.com/2005/12/14/linux-disable-local-ctrlaltdelete/</guid>
		<description><![CDATA[I have a linux box on a KVM &#8211; a few times I&#8217;ve switched over to it and done the ctrl+alt+del by accident (expecting an NT login) &#8211; and Unfortunately on fedora out of the box this shuts the machine down &#8211; not very good in office hours! So I found this useful In /etc/inittab [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=useful.wordpress.com&amp;blog=23766&amp;post=5&amp;subd=useful&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have a linux box on a KVM &#8211; a few times I&#8217;ve switched over to it and done the ctrl+alt+del by accident (expecting an NT login) &#8211; and Unfortunately on fedora out of the box this shuts the machine down &#8211; not very good in office hours!</p>
<p>So I found this useful</p>
<p>In /etc/inittab</p>
<blockquote><p># Trap CTRL-ALT-DELETE<br />
#ca::ctrlaltdel:/sbin/shutdown -t3 -r now<br />
<strong>ca::ctrlaltdel:/bin/echo &#8220;ctrl+alt+del disabled&#8221;</strong></p></blockquote>
<p>No more accidental reboots&#8230;.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/useful.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/useful.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/useful.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/useful.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/useful.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/useful.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/useful.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/useful.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/useful.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/useful.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/useful.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/useful.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/useful.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/useful.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/useful.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/useful.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=useful.wordpress.com&amp;blog=23766&amp;post=5&amp;subd=useful&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://useful.wordpress.com/2005/12/14/linux-disable-local-ctrlaltdelete/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0f126e314e39b02f5a125641f7363fda?s=96&#38;d=identicon" medium="image">
			<media:title type="html">useful</media:title>
		</media:content>
	</item>
		<item>
		<title>this is teh test</title>
		<link>http://useful.wordpress.com/2005/11/22/this-is-teh-test/</link>
		<comments>http://useful.wordpress.com/2005/11/22/this-is-teh-test/#comments</comments>
		<pubDate>Tue, 22 Nov 2005 10:59:08 +0000</pubDate>
		<dc:creator>useful</dc:creator>
				<category><![CDATA[another]]></category>
		<category><![CDATA[bollocks]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://useful.wordpress.com/2005/11/22/this-is-teh-test/</guid>
		<description><![CDATA[test yeah blah text text  text text  text text  text text  text text  text text  text text  text text  text text  text  text  text text  text text  text text  text text  text text  text text  text text  text text  text text  text text  text text  text text  text text  text text  text text  text text  [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=useful.wordpress.com&amp;blog=23766&amp;post=4&amp;subd=useful&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>test yeah blah</p>
<p><a title="image" href="http://useful.wordpress.com//?attachment_id=3" rel="attachment">		 		<img width="78" height="96" align="left" alt="3" src="http://useful.files.wordpress.com/2005/11/thumb-keyboard.jpg?w=78&#038;h=96" /> 	</a>text text  text text  text text  text text  text text  text text  text text  text text  text text  text<a title="image" href="http://useful.wordpress.com//?attachment_id=3" rel="attachment">  	</a> text  text text  text text  text text  text text  text text  text text  text text  text text  text text  text text  text text  text text  text text  text text  text text  text text  text text  text text  text text  text text  text text  text text  text text  text text  text text  text text  text text  text text  text text  text text  text text  text text  text t<a title="image" href="http://useful.wordpress.com//?attachment_id=3" rel="attachment">  	</a>ext  text text  text text  text text</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/useful.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/useful.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/useful.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/useful.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/useful.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/useful.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/useful.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/useful.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/useful.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/useful.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/useful.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/useful.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/useful.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/useful.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/useful.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/useful.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=useful.wordpress.com&amp;blog=23766&amp;post=4&amp;subd=useful&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://useful.wordpress.com/2005/11/22/this-is-teh-test/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0f126e314e39b02f5a125641f7363fda?s=96&#38;d=identicon" medium="image">
			<media:title type="html">useful</media:title>
		</media:content>

		<media:content url="http://useful.files.wordpress.com/2005/11/thumb-keyboard.jpg" medium="image">
			<media:title type="html">3</media:title>
		</media:content>
	</item>
	</channel>
</rss>
