<?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>PureDistortion</title>
	<atom:link href="http://puredistortion.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://puredistortion.com</link>
	<description></description>
	<lastBuildDate>Mon, 30 Aug 2010 12:20:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Android Preparing SD Card issue.</title>
		<link>http://puredistortion.com/2010/08/30/android-preparing-sd-card-issue/</link>
		<comments>http://puredistortion.com/2010/08/30/android-preparing-sd-card-issue/#comments</comments>
		<pubDate>Mon, 30 Aug 2010 12:19:11 +0000</pubDate>
		<dc:creator>Dale</dc:creator>
				<category><![CDATA[Computer Stuff]]></category>

		<guid isPermaLink="false">http://puredistortion.com/?p=116</guid>
		<description><![CDATA[This morning after plugging my Xperia X10 into my macbook and syncing my daily dose of tech podcasts ready for the commute to work I found that the phone was not mounting the SDCard and the phone kept crashing. After a reboot there was a notification saying that the system was preparing the SDcard and [...]]]></description>
			<content:encoded><![CDATA[<p>This morning after plugging my Xperia X10 into my macbook and syncing my daily dose of tech podcasts ready for the commute to work I found that the phone was not mounting the SDCard and the phone kept crashing. </p>
<p>After a reboot there was a notification saying that the system was preparing the SDcard and was checking for errors. </p>
<p>I used &#8216;Android Terminal Emulator&#8217; by Jack Palevich to connect to the terminal of my phone to find out waht it was doing to the phone to fix these errors. I found that the phone was trying to run an fsck on the SDCard.</p>
<p>My Xperia kept crashing so it would start again, so I removed the card from the phone and mounted it to my Linux PC and used fsck.msdos on my linux machine to fix the disk errors.</p>
<p>I did this by running the command bellow:</p>
<p><code>fsck.msdos -a <device name> </code></p>
<p>once this was completed I was able to remove it and place it straight back into my phone to have it work perfectly. </p>
<p>This solution allowed me to quickly repair the issue and not loose any data.</p>
<ul class="socialwrap size24 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F08%2F30%2Fandroid-preparing-sd-card-issue%2F&amp;title=Android+Preparing+SD+Card+issue." title="Bookmark this post : Android Preparing SD Card issue. on Delicious"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F08%2F30%2Fandroid-preparing-sd-card-issue%2F&amp;title=Android+Preparing+SD+Card+issue.&amp;bodytext=This+morning+after+plugging+my+Xperia+X10+into+my+macbook+and+syncing+my+daily+dose+of+tech+podcasts+ready+for+the+commute+to+work+I+found+that+the+phone+was+not+mounting+the+SDCard+and+the+phone+kept+crashing.+%0D%0A%0D%0A%0D%0AAfter+a+reboot+there+was+a+notification+saying+that+the+system+was+preparing+the+SDcard+and+was+checkin" title="Digg this post : Android Preparing SD Card issue."><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fpuredistortion.com%2F2010%2F08%2F30%2Fandroid-preparing-sd-card-issue%2F&amp;t=Android+Preparing+SD+Card+issue." title="Recommend this post : Android Preparing SD Card issue. on Facebook"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="reddit" href="http://www.reddit.com/submit?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F08%2F30%2Fandroid-preparing-sd-card-issue%2F&amp;title=Android+Preparing+SD+Card+issue." title="Share this post : Android Preparing SD Card issue. on Reddit"><span class="head">share via Reddit</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F08%2F30%2Fandroid-preparing-sd-card-issue%2F&amp;title=Android+Preparing+SD+Card+issue." title="Share this post : Android Preparing SD Card issue. with Stumblers"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fpuredistortion.com%2F2010%2F08%2F30%2Fandroid-preparing-sd-card-issue%2F" title="Tweet this post : Android Preparing SD Card issue. on Twitter"><span class="head">Tweet about it</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="" class="rss" href="http://puredistortion.com/2010/08/30/android-preparing-sd-card-issue/feed" title="Follow this post : Android Preparing SD Card issue. comments"><span class="head">Subscribe to the comments on this post</span></a></li>
<li class="iconOnly"><a rel="" class="email" href="mailto:?subject=PureDistortion : Android Preparing SD Card issue.&#038;body=Check this link out.  http://puredistortion.com/2010/08/30/android-preparing-sd-card-issue/" title="Tell a friend about this post : Android Preparing SD Card issue. "><span class="head">Tell a friend</span></a></li>
</ul>
<div class="clean"></div>
]]></content:encoded>
			<wfw:commentRss>http://puredistortion.com/2010/08/30/android-preparing-sd-card-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rooting my Droid in one touch.</title>
		<link>http://puredistortion.com/2010/08/25/rooting-my-droid-in-one-touch/</link>
		<comments>http://puredistortion.com/2010/08/25/rooting-my-droid-in-one-touch/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 05:27:55 +0000</pubDate>
		<dc:creator>Dale</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Computer Stuff]]></category>
		<category><![CDATA[Got Root]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Xperia]]></category>

		<guid isPermaLink="false">http://puredistortion.com/?p=103</guid>
		<description><![CDATA[The Xperia X10 blog had a post about the new UniversalAndroot application and how easy it was to now root your Xeperia X10. Here are the steps I took to root my phone: 1. Download the UniversalAndroot APK file from this link on my Mac. 2. Upload the APK file to the phone via the [...]]]></description>
			<content:encoded><![CDATA[<p>The Xperia X10 blog had a post about the new UniversalAndroot application and how easy it was to now root your Xeperia X10.</p>
<p>Here are the steps I took to root my phone:</p>
<p>1. Download the UniversalAndroot APK file from this <a href="http://www.megaupload.com/?d=LU9MQWWH">link</a> on my Mac.</p>
<p>2. Upload the APK file to the phone via the USB cable. I uploaded it to /sdcard/download</p>
<p>3. Install a file browser application. I installed &#8216;File Manager&#8217; by Adao Team.</p>
<p>4. Find the APK file in File Browser and select it to install. If you cant install you will need to go into the phone settings and then go to Applications and make sure &#8216;Unknown sources&#8217; is selected. This will allow you to install Andriod non market applications. </p>
<p>5. Once this is installed go and open the Universal Androot application then you will see the screen bellow.</p>
<p><img src="http://puredistortion.com/wp-content/uploads/2010/08/androot_open.gif" alt="Androot app screen" /></p>
<p>6. Select the right andriod version. In the case of my SE Xperia X10 it is version 1.5/1.6 and then press the Root button. I thought this would take a lot of time but it was completed in minutes. If it is successful you should see something like what is in the image bellow.</p>
<p><img src="http://puredistortion.com/wp-content/uploads/2010/08/androot_rooted.gif" alt="rooted success" /> </p>
<p>This will deploy the exploit to gain &#8216;su&#8217; on the server and deploys the Super Permissions app to manage what applications have Superuser permissions.</p>
<p>That is it, no stress and no drama&#8230;. well I had none and the app can Unroot the handset for you as well. If you choose this you are doing this <strong>at your own risk!</strong> Just because I had no issues dosent mean you wont. Also ensure you are aware of the effect this will have on you support from mobile/cell phone provider/carrier.</p>
<p>From here you can start to install things like Barnacle WiFi Tether and Orbot and BusyBox.</p>
<ul class="socialwrap size24 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F08%2F25%2Frooting-my-droid-in-one-touch%2F&amp;title=Rooting+my+Droid+in+one+touch." title="Bookmark this post : Rooting my Droid in one touch. on Delicious"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F08%2F25%2Frooting-my-droid-in-one-touch%2F&amp;title=Rooting+my+Droid+in+one+touch.&amp;bodytext=The+Xperia+X10+blog+had+a+post+about+the+new+UniversalAndroot+application+and+how+easy+it+was+to+now+root+your+Xeperia+X10.%0D%0A%0D%0AHere+are+the+steps+I+took+to+root+my+phone%3A%0D%0A%0D%0A1.+Download+the+UniversalAndroot+APK+file+from+this+link+on+my+Mac.%0D%0A%0D%0A2.+Upload+the+APK+file+to+the+phone+via+the+USB+cable.+I+uploaded+it+to+%2Fsd" title="Digg this post : Rooting my Droid in one touch."><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fpuredistortion.com%2F2010%2F08%2F25%2Frooting-my-droid-in-one-touch%2F&amp;t=Rooting+my+Droid+in+one+touch." title="Recommend this post : Rooting my Droid in one touch. on Facebook"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="reddit" href="http://www.reddit.com/submit?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F08%2F25%2Frooting-my-droid-in-one-touch%2F&amp;title=Rooting+my+Droid+in+one+touch." title="Share this post : Rooting my Droid in one touch. on Reddit"><span class="head">share via Reddit</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F08%2F25%2Frooting-my-droid-in-one-touch%2F&amp;title=Rooting+my+Droid+in+one+touch." title="Share this post : Rooting my Droid in one touch. with Stumblers"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fpuredistortion.com%2F2010%2F08%2F25%2Frooting-my-droid-in-one-touch%2F" title="Tweet this post : Rooting my Droid in one touch. on Twitter"><span class="head">Tweet about it</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="" class="rss" href="http://puredistortion.com/2010/08/25/rooting-my-droid-in-one-touch/feed" title="Follow this post : Rooting my Droid in one touch. comments"><span class="head">Subscribe to the comments on this post</span></a></li>
<li class="iconOnly"><a rel="" class="email" href="mailto:?subject=PureDistortion : Rooting my Droid in one touch.&#038;body=Check this link out.  http://puredistortion.com/2010/08/25/rooting-my-droid-in-one-touch/" title="Tell a friend about this post : Rooting my Droid in one touch. "><span class="head">Tell a friend</span></a></li>
</ul>
<div class="clean"></div>
]]></content:encoded>
			<wfw:commentRss>http://puredistortion.com/2010/08/25/rooting-my-droid-in-one-touch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I love the Droid.</title>
		<link>http://puredistortion.com/2010/07/23/i-love-the-droid/</link>
		<comments>http://puredistortion.com/2010/07/23/i-love-the-droid/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 06:52:02 +0000</pubDate>
		<dc:creator>Dale</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Technology Junk]]></category>
		<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://puredistortion.com/?p=101</guid>
		<description><![CDATA[Today is day 2 with my Xeperia X10 and it is an amazing phone, sng that there is so much that the phone does I am going to be playing all weekend with the phone. The screen is amazing and full scree video is a joy to watch. Camera is good quality and the andrd [...]]]></description>
			<content:encoded><![CDATA[<p>
<p>Today is day 2 with my Xeperia X10 and it is an amazing phone, sng that there is so much that the phone does I am going to be playing all weekend with the phone.</p>
<p></p>
<p>The screen is amazing and full scree video is a joy to watch. Camera is good quality and the andrd market interface is so much easier than the iPhone .</p>
<p></p>
<p>The only bummer is that it is runnib Anxroid 1.6, but this is being udated in Q4. So not such big deal.</p>
<p></p>
<p>I will post up more as I play.</p>
<p>
</p>
</p>
<ul class="socialwrap size24 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F07%2F23%2Fi-love-the-droid%2F&amp;title=I+love+the+Droid." title="Bookmark this post : I love the Droid. on Delicious"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F07%2F23%2Fi-love-the-droid%2F&amp;title=I+love+the+Droid.&amp;bodytext=Today+is+day+2+with+my+Xeperia+X10+and+it+is+an+amazing+phone%2C+sng+that+there+is+so+much+that+the+phone+does+I+am+going+to+be+playing+all+weekend+with+the+phone.%0AThe+screen+is+amazing+and+full+scree+video+is+a+joy+to+watch.+Camera+is+good+quality+and+the+andrd+market+interface+is+so+much+easier+than+the+iPhone+.%0AThe+on" title="Digg this post : I love the Droid."><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fpuredistortion.com%2F2010%2F07%2F23%2Fi-love-the-droid%2F&amp;t=I+love+the+Droid." title="Recommend this post : I love the Droid. on Facebook"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="reddit" href="http://www.reddit.com/submit?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F07%2F23%2Fi-love-the-droid%2F&amp;title=I+love+the+Droid." title="Share this post : I love the Droid. on Reddit"><span class="head">share via Reddit</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F07%2F23%2Fi-love-the-droid%2F&amp;title=I+love+the+Droid." title="Share this post : I love the Droid. with Stumblers"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fpuredistortion.com%2F2010%2F07%2F23%2Fi-love-the-droid%2F" title="Tweet this post : I love the Droid. on Twitter"><span class="head">Tweet about it</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="" class="rss" href="http://puredistortion.com/2010/07/23/i-love-the-droid/feed" title="Follow this post : I love the Droid. comments"><span class="head">Subscribe to the comments on this post</span></a></li>
<li class="iconOnly"><a rel="" class="email" href="mailto:?subject=PureDistortion : I love the Droid.&#038;body=Check this link out.  http://puredistortion.com/2010/07/23/i-love-the-droid/" title="Tell a friend about this post : I love the Droid. "><span class="head">Tell a friend</span></a></li>
</ul>
<div class="clean"></div>
]]></content:encoded>
			<wfw:commentRss>http://puredistortion.com/2010/07/23/i-love-the-droid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cool Tool: Preyproject</title>
		<link>http://puredistortion.com/2010/07/09/cool-tool-preyproject/</link>
		<comments>http://puredistortion.com/2010/07/09/cool-tool-preyproject/#comments</comments>
		<pubDate>Fri, 09 Jul 2010 07:31:41 +0000</pubDate>
		<dc:creator>Dale</dc:creator>
				<category><![CDATA[Computer Stuff]]></category>
		<category><![CDATA[Technology Junk]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[commuting]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://puredistortion.com/?p=96</guid>
		<description><![CDATA[I was watching HAK5 on REV3 last week and they mentioned a tool called the preyroject. What the prey does is runs a piece of software on your PC/MAC/Linux computer that communicates back to your account at www.preyproject.com so in the event you computer is stollen or lost you can connect to the website and [...]]]></description>
			<content:encoded><![CDATA[<p>I was watching <a href="http://hak5.org">HAK5</a> on <a href="http://www.revision3.com">REV3</a> last week and they mentioned a tool called the preyroject. </p>
<p>What the prey does is runs a piece of software on your PC/MAC/Linux computer that communicates back to your account at <a href="http://www.preyproject.com">www.preyproject.com</a> so in the event you computer is stollen or lost you can connect to the website and tell your laptop it is lost.</p>
<p>When you set this setting the Prey software starts to send you back information regarding your missin laptop such as LAN and WAN IP addresses, running processes, logged in users, screen shots and a photo from the webcam if you have one. </p>
<p>The software will also try to geotag you location via GPS or wireless acces point. The software will also try to connect to the Internet via open AP&#8217;s if it is not already connected to the internet.  </p>
<p>You can also have the software place a popup on screen and have a buzzer sound every report interval, but this may just infuriate whoever has stollen you computer and have it end up in the bin. </p>
<p>It installed on my macbook really easily and registers with just a quick submission of your preyproject.com credentials. I have yet to test installing it on Windows or Linux, but plan to when I get a chance. </p>
<p>The awesome bit about the software is that it is written in BASH so it is very portable. It was also announced that there is a version available now for the Aindroid platform, which I am excited about for when I get my new Smartphone in the next few months as it seems like a perfect place for this software on a mobile phone. </p>
<p>Make sure you check out HAK5 as well as it is always full of cool tools like this every week.</p>
<ul class="socialwrap size24 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F07%2F09%2Fcool-tool-preyproject%2F&amp;title=Cool+Tool%3A+Preyproject" title="Bookmark this post : Cool Tool: Preyproject on Delicious"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F07%2F09%2Fcool-tool-preyproject%2F&amp;title=Cool+Tool%3A+Preyproject&amp;bodytext=I+was+watching+HAK5+on+REV3+last+week+and+they+mentioned+a+tool+called+the+preyroject.+%0D%0A%0D%0AWhat+the+prey+does+is+runs+a+piece+of+software+on+your+PC%2FMAC%2FLinux+computer+that+communicates+back+to+your+account+at+www.preyproject.com+so+in+the+event+you+computer+is+stollen+or+lost+you+can+connect+to+the+website+and+tell+yo" title="Digg this post : Cool Tool: Preyproject"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fpuredistortion.com%2F2010%2F07%2F09%2Fcool-tool-preyproject%2F&amp;t=Cool+Tool%3A+Preyproject" title="Recommend this post : Cool Tool: Preyproject on Facebook"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="reddit" href="http://www.reddit.com/submit?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F07%2F09%2Fcool-tool-preyproject%2F&amp;title=Cool+Tool%3A+Preyproject" title="Share this post : Cool Tool: Preyproject on Reddit"><span class="head">share via Reddit</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F07%2F09%2Fcool-tool-preyproject%2F&amp;title=Cool+Tool%3A+Preyproject" title="Share this post : Cool Tool: Preyproject with Stumblers"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fpuredistortion.com%2F2010%2F07%2F09%2Fcool-tool-preyproject%2F" title="Tweet this post : Cool Tool: Preyproject on Twitter"><span class="head">Tweet about it</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="" class="rss" href="http://puredistortion.com/2010/07/09/cool-tool-preyproject/feed" title="Follow this post : Cool Tool: Preyproject comments"><span class="head">Subscribe to the comments on this post</span></a></li>
<li class="iconOnly"><a rel="" class="email" href="mailto:?subject=PureDistortion : Cool Tool: Preyproject&#038;body=Check this link out.  http://puredistortion.com/2010/07/09/cool-tool-preyproject/" title="Tell a friend about this post : Cool Tool: Preyproject "><span class="head">Tell a friend</span></a></li>
</ul>
<div class="clean"></div>
]]></content:encoded>
			<wfw:commentRss>http://puredistortion.com/2010/07/09/cool-tool-preyproject/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing google chrome on Fedora 12</title>
		<link>http://puredistortion.com/2010/05/04/installing-google-chrome-on-fedora-12/</link>
		<comments>http://puredistortion.com/2010/05/04/installing-google-chrome-on-fedora-12/#comments</comments>
		<pubDate>Mon, 03 May 2010 23:23:19 +0000</pubDate>
		<dc:creator>Dale</dc:creator>
				<category><![CDATA[Computer Stuff]]></category>
		<category><![CDATA[Technology Junk]]></category>

		<guid isPermaLink="false">http://puredistortion.com/?p=93</guid>
		<description><![CDATA[I have just installed google chrome via yum on my Fedora 12 Desktop. This is done by adding a repo file in /etc/yum.repos.d called chromium.repo This file should contain the following: [chromium] name=Chromium Test Packages baseurl=http://spot.fedorapeople.org/chromium/F$releasever/ enabled=1 gpgcheck=0 Once this is installed run the command yum install chromium and yum will go off and fetch [...]]]></description>
			<content:encoded><![CDATA[<p>I have just installed google chrome via yum on my Fedora 12 Desktop. </p>
<p>This is done by adding a repo file in <code>/etc/yum.repos.d</code> called <code>chromium.repo</code></p>
<p>This file should contain the following:</p>
<p><code><br />
[chromium]<br />
name=Chromium Test Packages<br />
baseurl=http://spot.fedorapeople.org/chromium/F$releasever/<br />
enabled=1<br />
gpgcheck=0<br />
</code></p>
<p>Once this is installed run the command <code>yum install chromium</code> and yum will go off and fetch the RPMS and dependancies required to install chrome on you fedora 12 machine. </p>
<p>I had a look at the repo and there are also packages there for Fedord 13 for the brave (there is only 15 days to go). So this should work for F13 as well. </p>
<p>I followed a tutorial for installing Fedora 11/12 which has some more detail. <a href="http://rajaseelan.com/2009/07/04/how-to-install-google-chrome-in-fedora-10-or-fedora-11/">You can get to the article here.</a> </p>
<ul class="socialwrap size24 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F05%2F04%2Finstalling-google-chrome-on-fedora-12%2F&amp;title=Installing+google+chrome+on+Fedora+12" title="Bookmark this post : Installing google chrome on Fedora 12 on Delicious"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F05%2F04%2Finstalling-google-chrome-on-fedora-12%2F&amp;title=Installing+google+chrome+on+Fedora+12&amp;bodytext=I+have+just+installed+google+chrome+via+yum+on+my+Fedora+12+Desktop.+%0D%0A%0D%0AThis+is+done+by+adding+a+repo+file+in+%2Fetc%2Fyum.repos.d+called+chromium.repo%0D%0A%0D%0AThis+file+should+contain+the+following%3A%0D%0A%0D%0A%0D%0A%5Bchromium%5D%0D%0Aname%3DChromium+Test+Packages%0D%0Abaseurl%3Dhttp%3A%2F%2Fspot.fedorapeople.org%2Fchromium%2FF%24releasever%2F%0D%0Aenabled%3D1%0D%0Agpgcheck%3D0" title="Digg this post : Installing google chrome on Fedora 12"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fpuredistortion.com%2F2010%2F05%2F04%2Finstalling-google-chrome-on-fedora-12%2F&amp;t=Installing+google+chrome+on+Fedora+12" title="Recommend this post : Installing google chrome on Fedora 12 on Facebook"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="reddit" href="http://www.reddit.com/submit?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F05%2F04%2Finstalling-google-chrome-on-fedora-12%2F&amp;title=Installing+google+chrome+on+Fedora+12" title="Share this post : Installing google chrome on Fedora 12 on Reddit"><span class="head">share via Reddit</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F05%2F04%2Finstalling-google-chrome-on-fedora-12%2F&amp;title=Installing+google+chrome+on+Fedora+12" title="Share this post : Installing google chrome on Fedora 12 with Stumblers"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fpuredistortion.com%2F2010%2F05%2F04%2Finstalling-google-chrome-on-fedora-12%2F" title="Tweet this post : Installing google chrome on Fedora 12 on Twitter"><span class="head">Tweet about it</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="" class="rss" href="http://puredistortion.com/2010/05/04/installing-google-chrome-on-fedora-12/feed" title="Follow this post : Installing google chrome on Fedora 12 comments"><span class="head">Subscribe to the comments on this post</span></a></li>
<li class="iconOnly"><a rel="" class="email" href="mailto:?subject=PureDistortion : Installing google chrome on Fedora 12&#038;body=Check this link out.  http://puredistortion.com/2010/05/04/installing-google-chrome-on-fedora-12/" title="Tell a friend about this post : Installing google chrome on Fedora 12 "><span class="head">Tell a friend</span></a></li>
</ul>
<div class="clean"></div>
]]></content:encoded>
			<wfw:commentRss>http://puredistortion.com/2010/05/04/installing-google-chrome-on-fedora-12/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Send specific messages from the sendmail mail queue.</title>
		<link>http://puredistortion.com/2010/04/28/send-specific-messages-from-the-sendmail-mail-queue/</link>
		<comments>http://puredistortion.com/2010/04/28/send-specific-messages-from-the-sendmail-mail-queue/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 08:48:58 +0000</pubDate>
		<dc:creator>Dale</dc:creator>
				<category><![CDATA[Computer Stuff]]></category>
		<category><![CDATA[Technology Junk]]></category>

		<guid isPermaLink="false">http://puredistortion.com/?p=91</guid>
		<description><![CDATA[Had to test specific messages from a sendmail mail queue at work today and had to try to work out what was holding up the mail queue. Here are the commands I was using: To send messages with a specific message id: sendmail -v -qI To send messages with a specific recipient: sendmail -v -qS [...]]]></description>
			<content:encoded><![CDATA[<p>Had to test specific messages from a sendmail mail queue at work today and had to try to work out what was holding up the mail queue. </p>
<p>Here are the commands I was using: </p>
<p>To send messages with a specific message id:<br />
<code>sendmail -v -qI <queue id substring></code></p>
<p>To send messages with a specific recipient:<br />
<code>sendmail -v -qS <sender address substring></code></p>
<p>To send messages with a specific sender:<br />
<code>sendmail -v -qR <recipient address substring></code></p>
<p>The substrings can be partial of the information that you are searching for. For example if you are looking to have all email being sent to a specific domain sent from the queue you would execute:</p>
<p><code>sendmail -v -qRdomain.com</code></p>
<p>Make sure that you have <b>NO</b> space between the switches and you substring. If you do have a space I found that sendmail will try to send the entire queue rather that the messages that you are trying to release from the queue. </p>
<p>I found this in a <a href="http://lists.freebsd.org/pipermail/freebsd-questions/2004-March/041322.html">freebsd mailing list thread here.</a> </p>
<ul class="socialwrap size24 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F04%2F28%2Fsend-specific-messages-from-the-sendmail-mail-queue%2F&amp;title=Send+specific+messages+from+the+sendmail+mail+queue." title="Bookmark this post : Send specific messages from the sendmail mail queue. on Delicious"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F04%2F28%2Fsend-specific-messages-from-the-sendmail-mail-queue%2F&amp;title=Send+specific+messages+from+the+sendmail+mail+queue.&amp;bodytext=Had+to+test+specific+messages+from+a+sendmail+mail+queue+at+work+today+and+had+to+try+to+work+out+what+was+holding+up+the+mail+queue.+%0D%0A%0D%0AHere+are+the+commands+I+was+using%3A+%0D%0A%0D%0ATo+send+messages+with+a+specific+message+id%3A%0D%0Asendmail+-v+-qI+%0D%0A%0D%0ATo+send+messages+with+a+specific+recipient%3A%0D%0Asendmail+-v+-qS+%0D%0A%0D%0ATo+send+mess" title="Digg this post : Send specific messages from the sendmail mail queue."><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fpuredistortion.com%2F2010%2F04%2F28%2Fsend-specific-messages-from-the-sendmail-mail-queue%2F&amp;t=Send+specific+messages+from+the+sendmail+mail+queue." title="Recommend this post : Send specific messages from the sendmail mail queue. on Facebook"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="reddit" href="http://www.reddit.com/submit?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F04%2F28%2Fsend-specific-messages-from-the-sendmail-mail-queue%2F&amp;title=Send+specific+messages+from+the+sendmail+mail+queue." title="Share this post : Send specific messages from the sendmail mail queue. on Reddit"><span class="head">share via Reddit</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F04%2F28%2Fsend-specific-messages-from-the-sendmail-mail-queue%2F&amp;title=Send+specific+messages+from+the+sendmail+mail+queue." title="Share this post : Send specific messages from the sendmail mail queue. with Stumblers"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fpuredistortion.com%2F2010%2F04%2F28%2Fsend-specific-messages-from-the-sendmail-mail-queue%2F" title="Tweet this post : Send specific messages from the sendmail mail queue. on Twitter"><span class="head">Tweet about it</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="" class="rss" href="http://puredistortion.com/2010/04/28/send-specific-messages-from-the-sendmail-mail-queue/feed" title="Follow this post : Send specific messages from the sendmail mail queue. comments"><span class="head">Subscribe to the comments on this post</span></a></li>
<li class="iconOnly"><a rel="" class="email" href="mailto:?subject=PureDistortion : Send specific messages from the sendmail mail queue.&#038;body=Check this link out.  http://puredistortion.com/2010/04/28/send-specific-messages-from-the-sendmail-mail-queue/" title="Tell a friend about this post : Send specific messages from the sendmail mail queue. "><span class="head">Tell a friend</span></a></li>
</ul>
<div class="clean"></div>
]]></content:encoded>
			<wfw:commentRss>http://puredistortion.com/2010/04/28/send-specific-messages-from-the-sendmail-mail-queue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick Hack: delete bulk processes reported with ps/grep.</title>
		<link>http://puredistortion.com/2010/04/27/quick-hack-delete-bulk-processes-reported-with-psgrep/</link>
		<comments>http://puredistortion.com/2010/04/27/quick-hack-delete-bulk-processes-reported-with-psgrep/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 02:03:27 +0000</pubDate>
		<dc:creator>Dale</dc:creator>
				<category><![CDATA[Computer Stuff]]></category>
		<category><![CDATA[awk]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[qmail]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[smtp]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[xargs]]></category>

		<guid isPermaLink="false">http://puredistortion.com/?p=88</guid>
		<description><![CDATA[Having qmail running on multiple machines (I know there are better alternatives) we often have to go in and clean up after a crashed qmail service so it will behave again for a while. Here is a quick and dirty hack to kill processes up that are there when you do a ps aux &#124; [...]]]></description>
			<content:encoded><![CDATA[<p>Having qmail running on multiple machines (I know there are better alternatives) we often have to go in and clean up after a crashed qmail service so it will behave again for a while.</p>
<p>Here is a quick and dirty hack to kill processes up that are there when you do a <em>ps aux | grep &lt;process name&gt;<br />
</em></p>
<p><code>SEARCH='qmail' ; ps -eo pid,cmd | grep  $SEARCH | awk '{ print $1 }' | xargs -I pid kill -15 pid</code></p>
<p>This uses <em>ps</em> and <em>grep</em> to find the processes and <em>awk</em> and <em>xargs</em> to create and execute the kill command for the PID of that process.</p>
<p>This command can easily be adapted to search for whatever process is required by changing the string in the <em>SEARCH</em> variable at the start of the command. The command above is designed as a follow up to using a <em>ps aux | grep</em> to find the search string that identifies the process.  </p>
<p>Check out a quick howto on <a href="http://sidvind.com/wiki/Xargs_by_example">xargs here</a>. I think it is one of the must for all hardcore Linux sys admins out there.</p>
<ul class="socialwrap size24 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F04%2F27%2Fquick-hack-delete-bulk-processes-reported-with-psgrep%2F&amp;title=Quick+Hack%3A+delete+bulk+processes+reported+with+ps%2Fgrep." title="Bookmark this post : Quick Hack: delete bulk processes reported with ps/grep. on Delicious"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F04%2F27%2Fquick-hack-delete-bulk-processes-reported-with-psgrep%2F&amp;title=Quick+Hack%3A+delete+bulk+processes+reported+with+ps%2Fgrep.&amp;bodytext=Having+qmail+running+on+multiple+machines+%28I+know+there+are+better+alternatives%29+we+often+have+to+go+in+and+clean+up+after+a+crashed+qmail+service+so+it+will+behave+again+for+a+while.%0D%0A%0D%0AHere+is+a+quick+and+dirty+hack+to+kill+processes+up+that+are+there+when+you+do+a+ps+aux+%7C+grep+%26lt%3Bprocess+name%26gt%3B%0D%0A%0D%0A%0D%0ASEARCH%3D%27qmai" title="Digg this post : Quick Hack: delete bulk processes reported with ps/grep."><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fpuredistortion.com%2F2010%2F04%2F27%2Fquick-hack-delete-bulk-processes-reported-with-psgrep%2F&amp;t=Quick+Hack%3A+delete+bulk+processes+reported+with+ps%2Fgrep." title="Recommend this post : Quick Hack: delete bulk processes reported with ps/grep. on Facebook"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="reddit" href="http://www.reddit.com/submit?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F04%2F27%2Fquick-hack-delete-bulk-processes-reported-with-psgrep%2F&amp;title=Quick+Hack%3A+delete+bulk+processes+reported+with+ps%2Fgrep." title="Share this post : Quick Hack: delete bulk processes reported with ps/grep. on Reddit"><span class="head">share via Reddit</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F04%2F27%2Fquick-hack-delete-bulk-processes-reported-with-psgrep%2F&amp;title=Quick+Hack%3A+delete+bulk+processes+reported+with+ps%2Fgrep." title="Share this post : Quick Hack: delete bulk processes reported with ps/grep. with Stumblers"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fpuredistortion.com%2F2010%2F04%2F27%2Fquick-hack-delete-bulk-processes-reported-with-psgrep%2F" title="Tweet this post : Quick Hack: delete bulk processes reported with ps/grep. on Twitter"><span class="head">Tweet about it</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="" class="rss" href="http://puredistortion.com/2010/04/27/quick-hack-delete-bulk-processes-reported-with-psgrep/feed" title="Follow this post : Quick Hack: delete bulk processes reported with ps/grep. comments"><span class="head">Subscribe to the comments on this post</span></a></li>
<li class="iconOnly"><a rel="" class="email" href="mailto:?subject=PureDistortion : Quick Hack: delete bulk processes reported with ps/grep.&#038;body=Check this link out.  http://puredistortion.com/2010/04/27/quick-hack-delete-bulk-processes-reported-with-psgrep/" title="Tell a friend about this post : Quick Hack: delete bulk processes reported with ps/grep. "><span class="head">Tell a friend</span></a></li>
</ul>
<div class="clean"></div>
]]></content:encoded>
			<wfw:commentRss>http://puredistortion.com/2010/04/27/quick-hack-delete-bulk-processes-reported-with-psgrep/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mark all messages as Read in Gmail.</title>
		<link>http://puredistortion.com/2010/04/19/mark-all-messages-as-read-in-gmail/</link>
		<comments>http://puredistortion.com/2010/04/19/mark-all-messages-as-read-in-gmail/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 04:18:15 +0000</pubDate>
		<dc:creator>Dale</dc:creator>
				<category><![CDATA[Computer Stuff]]></category>
		<category><![CDATA[Technology Junk]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[Gmail]]></category>
		<category><![CDATA[webmail]]></category>

		<guid isPermaLink="false">http://puredistortion.com/?p=84</guid>
		<description><![CDATA[I have an issue where I get slack with my email and do not stay on top of things. Especially in accounts where I get a lot of mailing list traffic. I wanted to clean out a whole heap of this and found a really quick way to make use of the filters in Gmail [...]]]></description>
			<content:encoded><![CDATA[<p>I have an issue where I get slack with my email and do not stay on top of things. Especially in accounts where I get a lot of mailing list traffic. I wanted to clean out a whole heap of this and found a really quick way to make use of the filters in Gmail to mark the messages.</p>
<p>It is really simple.</p>
<p>Goto &#8216;Create a filter&#8217; which is next to the search bar.</p>
<p>In the &#8216;Has the words&#8217; section add in <code>is:unread</code></p>
<p>When you hit next you will be prompted with the dialogue box bellow.</p>
<p><a href="http://puredistortion.com/wp-content/uploads/2010/04/Screenshot.png"><img src="http://puredistortion.com/wp-content/uploads/2010/04/Screenshot-300x126.png" alt="Gmail filter dialog box" title="Gmail filter dialog box" width="300" height="126" class="aligncenter size-medium wp-image-85" /></a></p>
<p>Click &#8216;Ok&#8217; on the dialogue box and move on to the next screen. </p>
<p>Select the &#8216;Mark as read&#8217; tick box as well as the &#8216;Also apply filter to&#8217; tick box next to the &#8216;Create filter&#8217; button. </p>
<p>And there you are done. Don&#8217;t forget to go through and delete the filter afterwards as if you don&#8217;t all mail will hit your inbox and be marked as read. </p>
<p>I found this on <a href="http://lifehacker.com/396928/mark-all-unread-messages-as-read-in-gmail">Lifehacker</a> which is an awesome site and well worth following.</p>
<ul class="socialwrap size24 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F04%2F19%2Fmark-all-messages-as-read-in-gmail%2F&amp;title=Mark+all+messages+as+Read+in+Gmail." title="Bookmark this post : Mark all messages as Read in Gmail. on Delicious"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F04%2F19%2Fmark-all-messages-as-read-in-gmail%2F&amp;title=Mark+all+messages+as+Read+in+Gmail.&amp;bodytext=I+have+an+issue+where+I+get+slack+with+my+email+and+do+not+stay+on+top+of+things.+Especially+in+accounts+where+I+get+a+lot+of+mailing+list+traffic.+I+wanted+to+clean+out+a+whole+heap+of+this+and+found+a+really+quick+way+to+make+use+of+the+filters+in+Gmail+to+mark+the+messages.%0D%0A%0D%0AIt+is+really+simple.%0D%0A%0D%0AGoto+%27Create+a+" title="Digg this post : Mark all messages as Read in Gmail."><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fpuredistortion.com%2F2010%2F04%2F19%2Fmark-all-messages-as-read-in-gmail%2F&amp;t=Mark+all+messages+as+Read+in+Gmail." title="Recommend this post : Mark all messages as Read in Gmail. on Facebook"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="reddit" href="http://www.reddit.com/submit?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F04%2F19%2Fmark-all-messages-as-read-in-gmail%2F&amp;title=Mark+all+messages+as+Read+in+Gmail." title="Share this post : Mark all messages as Read in Gmail. on Reddit"><span class="head">share via Reddit</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F04%2F19%2Fmark-all-messages-as-read-in-gmail%2F&amp;title=Mark+all+messages+as+Read+in+Gmail." title="Share this post : Mark all messages as Read in Gmail. with Stumblers"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fpuredistortion.com%2F2010%2F04%2F19%2Fmark-all-messages-as-read-in-gmail%2F" title="Tweet this post : Mark all messages as Read in Gmail. on Twitter"><span class="head">Tweet about it</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="" class="rss" href="http://puredistortion.com/2010/04/19/mark-all-messages-as-read-in-gmail/feed" title="Follow this post : Mark all messages as Read in Gmail. comments"><span class="head">Subscribe to the comments on this post</span></a></li>
<li class="iconOnly"><a rel="" class="email" href="mailto:?subject=PureDistortion : Mark all messages as Read in Gmail.&#038;body=Check this link out.  http://puredistortion.com/2010/04/19/mark-all-messages-as-read-in-gmail/" title="Tell a friend about this post : Mark all messages as Read in Gmail. "><span class="head">Tell a friend</span></a></li>
</ul>
<div class="clean"></div>
]]></content:encoded>
			<wfw:commentRss>http://puredistortion.com/2010/04/19/mark-all-messages-as-read-in-gmail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgarding rdiff-backup from source.</title>
		<link>http://puredistortion.com/2010/04/13/upgarding-rdiff-backup-from-source/</link>
		<comments>http://puredistortion.com/2010/04/13/upgarding-rdiff-backup-from-source/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 11:03:08 +0000</pubDate>
		<dc:creator>Dale</dc:creator>
				<category><![CDATA[Computer Stuff]]></category>

		<guid isPermaLink="false">http://puredistortion.com/?p=81</guid>
		<description><![CDATA[I recently had an issue where I was running rdiff-backup on a server that had a different earlier version of rdiff-backup to the one that we are running on our backup server. I was receiving a security violation error. As the Ubuntu box that I was trying to backup did not have a newer package [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had an issue where I was running rdiff-backup on a server that had a different earlier version of rdiff-backup to the one that we are running on our backup server. I was receiving a security violation error.</p>
<p>As the Ubuntu box that I was trying to backup did not have a newer package available for rdiff-backup. I had to update from source which consisted of 4 commands to download that source tarbal and install the newer version.</p>
<p>Before you start you need to install a package for librsync called librsync-dev this can be done with aptitude like this:<br />
<code> aptitude install librsync-dev </code></p>
<p>Once this is done you can upgrade rdiff-backup like so:<br />
<code><br />
# wget http://savannah.nongnu.org/download/rdiff-backup/rdiff-backup-1.2.8.tar.gz<br />
# tar -xzf rdiff-backup-1.2.8.tar.gz<br />
# cd rdiff-backup-1.2.8.tar.gz<br />
# python setup.py install<br />
</code></p>
<ul class="socialwrap size24 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F04%2F13%2Fupgarding-rdiff-backup-from-source%2F&amp;title=Upgarding+rdiff-backup+from+source." title="Bookmark this post : Upgarding rdiff-backup from source. on Delicious"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F04%2F13%2Fupgarding-rdiff-backup-from-source%2F&amp;title=Upgarding+rdiff-backup+from+source.&amp;bodytext=I+recently+had+an+issue+where+I+was+running+rdiff-backup+on+a+server+that+had+a+different+earlier+version+of+rdiff-backup+to+the+one+that+we+are+running+on+our+backup+server.+I+was+receiving+a+security+violation+error.%0D%0A%0D%0AAs+the+Ubuntu+box+that+I+was+trying+to+backup+did+not+have+a+newer+package+available+for+rdiff-bac" title="Digg this post : Upgarding rdiff-backup from source."><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fpuredistortion.com%2F2010%2F04%2F13%2Fupgarding-rdiff-backup-from-source%2F&amp;t=Upgarding+rdiff-backup+from+source." title="Recommend this post : Upgarding rdiff-backup from source. on Facebook"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="reddit" href="http://www.reddit.com/submit?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F04%2F13%2Fupgarding-rdiff-backup-from-source%2F&amp;title=Upgarding+rdiff-backup+from+source." title="Share this post : Upgarding rdiff-backup from source. on Reddit"><span class="head">share via Reddit</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F04%2F13%2Fupgarding-rdiff-backup-from-source%2F&amp;title=Upgarding+rdiff-backup+from+source." title="Share this post : Upgarding rdiff-backup from source. with Stumblers"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fpuredistortion.com%2F2010%2F04%2F13%2Fupgarding-rdiff-backup-from-source%2F" title="Tweet this post : Upgarding rdiff-backup from source. on Twitter"><span class="head">Tweet about it</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="" class="rss" href="http://puredistortion.com/2010/04/13/upgarding-rdiff-backup-from-source/feed" title="Follow this post : Upgarding rdiff-backup from source. comments"><span class="head">Subscribe to the comments on this post</span></a></li>
<li class="iconOnly"><a rel="" class="email" href="mailto:?subject=PureDistortion : Upgarding rdiff-backup from source.&#038;body=Check this link out.  http://puredistortion.com/2010/04/13/upgarding-rdiff-backup-from-source/" title="Tell a friend about this post : Upgarding rdiff-backup from source. "><span class="head">Tell a friend</span></a></li>
</ul>
<div class="clean"></div>
]]></content:encoded>
			<wfw:commentRss>http://puredistortion.com/2010/04/13/upgarding-rdiff-backup-from-source/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Passing a dictionary to a dynamicly generated XMLRPC function</title>
		<link>http://puredistortion.com/2010/03/27/passing-a-dictionary-to-a-dynamicly-generated-xmlrpc-function/</link>
		<comments>http://puredistortion.com/2010/03/27/passing-a-dictionary-to-a-dynamicly-generated-xmlrpc-function/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 13:39:29 +0000</pubDate>
		<dc:creator>Dale</dc:creator>
				<category><![CDATA[Computer Stuff]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[xmlrpc]]></category>

		<guid isPermaLink="false">http://puredistortion.com/?p=78</guid>
		<description><![CDATA[Working on some python code for some automation around the house and had the need to be able to pass dictionary object to a function name that was dynamically generated by the input to the script. Normally this is simple using the xmlrpclib module that you can install for python. All you need to do [...]]]></description>
			<content:encoded><![CDATA[<p>Working on some python code for some automation around the house and had the need to be able to pass dictionary object to a function name that was dynamically generated by the input to the script. </p>
<p>Normally this is simple using the <code>xmlrpclib</code> module that you can install for python. All you need to do is pass in the dictionary object into the function and make sure that the function that you write on the XMLRPC server is looking for a dictionary object. </p>
<p>This is how you would pass in a dictionary object to a known XMLRPC function:</p>
<p><code>s = xmlrpclib.ServerProxy('http://localhost:8000')<br />
dictionary = []<br />
api_call = s.function(dictionary)<br />
return api_call</code></p>
<p>When you don&#8217;t know the function name it is recommended that you use the <code>getattr</code> method as it is quicker, but you cannot pass in a dictionary object into it. So the only solution I found to do this is to use the <code>eval</code> method in the way I did bellow:</p>
<p><code>s = xmlrpclib.ServerProxy('http://localhost:8000')<br />
dictionary = []<br />
function = 'function name'<br />
api_call = eval('s.%s(dictionary)' % function)<br />
return api_call</code></p>
<p>I would love to hear any improvements to the way I am doing this if you have any. Please leave a comment.</p>
<ul class="socialwrap size24 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F03%2F27%2Fpassing-a-dictionary-to-a-dynamicly-generated-xmlrpc-function%2F&amp;title=Passing+a+dictionary+to+a+dynamicly+generated+XMLRPC+function" title="Bookmark this post : Passing a dictionary to a dynamicly generated XMLRPC function on Delicious"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F03%2F27%2Fpassing-a-dictionary-to-a-dynamicly-generated-xmlrpc-function%2F&amp;title=Passing+a+dictionary+to+a+dynamicly+generated+XMLRPC+function&amp;bodytext=Working+on+some+python+code+for+some+automation+around+the+house+and+had+the+need+to+be+able+to+pass+dictionary+object+to+a+function+name+that+was+dynamically+generated+by+the+input+to+the+script.+%0D%0A%0D%0ANormally+this+is+simple+using+the+xmlrpclib+module+that+you+can+install+for+python.+All+you+need+to+do+is+pass+in+the+d" title="Digg this post : Passing a dictionary to a dynamicly generated XMLRPC function"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fpuredistortion.com%2F2010%2F03%2F27%2Fpassing-a-dictionary-to-a-dynamicly-generated-xmlrpc-function%2F&amp;t=Passing+a+dictionary+to+a+dynamicly+generated+XMLRPC+function" title="Recommend this post : Passing a dictionary to a dynamicly generated XMLRPC function on Facebook"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="reddit" href="http://www.reddit.com/submit?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F03%2F27%2Fpassing-a-dictionary-to-a-dynamicly-generated-xmlrpc-function%2F&amp;title=Passing+a+dictionary+to+a+dynamicly+generated+XMLRPC+function" title="Share this post : Passing a dictionary to a dynamicly generated XMLRPC function on Reddit"><span class="head">share via Reddit</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fpuredistortion.com%2F2010%2F03%2F27%2Fpassing-a-dictionary-to-a-dynamicly-generated-xmlrpc-function%2F&amp;title=Passing+a+dictionary+to+a+dynamicly+generated+XMLRPC+function" title="Share this post : Passing a dictionary to a dynamicly generated XMLRPC function with Stumblers"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fpuredistortion.com%2F2010%2F03%2F27%2Fpassing-a-dictionary-to-a-dynamicly-generated-xmlrpc-function%2F" title="Tweet this post : Passing a dictionary to a dynamicly generated XMLRPC function on Twitter"><span class="head">Tweet about it</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="" class="rss" href="http://puredistortion.com/2010/03/27/passing-a-dictionary-to-a-dynamicly-generated-xmlrpc-function/feed" title="Follow this post : Passing a dictionary to a dynamicly generated XMLRPC function comments"><span class="head">Subscribe to the comments on this post</span></a></li>
<li class="iconOnly"><a rel="" class="email" href="mailto:?subject=PureDistortion : Passing a dictionary to a dynamicly generated XMLRPC function&#038;body=Check this link out.  http://puredistortion.com/2010/03/27/passing-a-dictionary-to-a-dynamicly-generated-xmlrpc-function/" title="Tell a friend about this post : Passing a dictionary to a dynamicly generated XMLRPC function "><span class="head">Tell a friend</span></a></li>
</ul>
<div class="clean"></div>
]]></content:encoded>
			<wfw:commentRss>http://puredistortion.com/2010/03/27/passing-a-dictionary-to-a-dynamicly-generated-xmlrpc-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
