<?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>0x0000</title>
	<atom:link href="http://n00bsys0p.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://n00bsys0p.wordpress.com</link>
	<description>A mixture of hardcore geekery and the odd head injury.</description>
	<lastBuildDate>Thu, 26 Jan 2012 19:15:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='n00bsys0p.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>0x0000</title>
		<link>http://n00bsys0p.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://n00bsys0p.wordpress.com/osd.xml" title="0x0000" />
	<atom:link rel='hub' href='http://n00bsys0p.wordpress.com/?pushpress=hub'/>
		<item>
		<title>New site address! RSS Readers please change your URL&#8230;</title>
		<link>http://n00bsys0p.wordpress.com/2011/08/02/new-site-address-rss-readers-please-change-your-url/</link>
		<comments>http://n00bsys0p.wordpress.com/2011/08/02/new-site-address-rss-readers-please-change-your-url/#comments</comments>
		<pubDate>Tue, 02 Aug 2011 21:10:52 +0000</pubDate>
		<dc:creator>n00bsys0p</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://n00bsys0p.wordpress.com/?p=306</guid>
		<description><![CDATA[Hi, everybody! This will most likely be the last post in this blog, as I have moved over to a site of my own hosting, which will be found at both http://n00bsys0p.co.uk. Any of you who are subscribed to my RSS feed, will need to modify their reader to check the following URL: http://n00bsys0p.co.uk/rss.xml n00b<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=n00bsys0p.wordpress.com&amp;blog=3099347&amp;post=306&amp;subd=n00bsys0p&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi, everybody!</p>
<p>This will most likely be the last post in this blog, as I have moved over to a site of my own hosting, which will be found at both <a href="http://n00bsys0p.co.uk" title="n00b's Tech Blog">http://n00bsys0p.co.uk</a>.</p>
<p>Any of you who are subscribed to my RSS feed, will need to modify their reader to check the following URL:<br />
<code>http://n00bsys0p.co.uk/rss.xml</code></p>
<p>n00b</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/n00bsys0p.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/n00bsys0p.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/n00bsys0p.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/n00bsys0p.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/n00bsys0p.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/n00bsys0p.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/n00bsys0p.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/n00bsys0p.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/n00bsys0p.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/n00bsys0p.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/n00bsys0p.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/n00bsys0p.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/n00bsys0p.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/n00bsys0p.wordpress.com/306/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=n00bsys0p.wordpress.com&amp;blog=3099347&amp;post=306&amp;subd=n00bsys0p&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://n00bsys0p.wordpress.com/2011/08/02/new-site-address-rss-readers-please-change-your-url/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1f3a7b0ee36ecd53e999cdae4da3ceb1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">n00bsys0p</media:title>
		</media:content>
	</item>
		<item>
		<title>Reverse Xorg scrolling in Linux (&#8216;Natural Scrolling&#8217;).</title>
		<link>http://n00bsys0p.wordpress.com/2011/07/26/reverse-xorg-scrolling-in-linux-natural-scrolling/</link>
		<comments>http://n00bsys0p.wordpress.com/2011/07/26/reverse-xorg-scrolling-in-linux-natural-scrolling/#comments</comments>
		<pubDate>Tue, 26 Jul 2011 14:02:46 +0000</pubDate>
		<dc:creator>n00bsys0p</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[natural scrolling]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[xinput]]></category>
		<category><![CDATA[xorg]]></category>

		<guid isPermaLink="false">http://n00bsys0p.wordpress.com/?p=302</guid>
		<description><![CDATA[Hey guys, I found an interesting snippet of information today. In OSX Lion, scrolling is reversed, like we have seen on a lot of touch applications. I for one, find this form of scrolling much more natural than the standard method, particularly when using a laptop touchpad. It is also, really easy to implement on [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=n00bsys0p.wordpress.com&amp;blog=3099347&amp;post=302&amp;subd=n00bsys0p&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hey guys,</p>
<p>I found an interesting snippet of information today. In OSX Lion, scrolling is reversed, like we have seen on a lot of touch applications. I for one, find this form of scrolling much more natural than the standard method, particularly when using a laptop touchpad.</p>
<p>It is also, really easy to implement on any Linux system. I can&#8217;t claim credit for this entirely. I have paraphrased the necessary Linux terminal commands from <a href="https://github.com/cemmanouilidis/naturalscrolling" title="Natural Scrolling" target="_blank">this</a> python app.</p>
<p>The only commands you will need are `xinput`, `grep` and `sed`. The original code used gawk to separate text fields, but I thought I&#8217;d use sed, as it gives me a chance to show you some more regex pattern matching, which I have decided will be a running theme through as many of my posts as possible.</p>
<p>The first thing to do is to extract the slave input device&#8217;s xinput id. This is done using `xinput list`, and grep/sed to extract the exact number we want. Here&#8217;s the command:<br />
<code>xinput list | egrep "slave.*pointer" | grep -v XTEST | sed -e 's/^.*id=//' -e 's/\s.*$//'</code><br />
This extracts the id number by first matching the regex &#8220;slave.*pointer&#8221;, which means match the letters &#8220;slave&#8221;, then anything, then the letters &#8220;pointer&#8221;. It then makes sure that our output ignores any line which contains the characters &#8220;XTEST&#8221;. Now it has the line it wants, it needs to extract the correct field. As I mentioned, I&#8217;ve used sed instead of awk (which is possibly slightly more readable &#8211; I never said my option was the better one). I use sed -e, so I can search and replace multiple regex in the order I specify. The first sed expression is to match anything from the start of the line (^.*), until it reaches the end of the characters &#8220;id=&#8221;, and replace them with nothing (//). The second sed expression starts matching at the first whitespace found (\s), and continues on until the end of the line ($). It is not necessary to include the $, as sed will default to matching until the end of the line anyway. I have included it only for the purposes of explanation.</p>
<p>Now we have our id number (in my case &#8220;11&#8243;), we can find out what the current input order is. For this, we use the following command, replacing {idnum} with the number we extracted before:<br />
<code>xinput get-button-map {idnum}</code><br />
This will most likely output a sequence of numbers, in order. If the numbers are in order, this means that the scrolling is not reversed. What we need to do to reverse the scrolling, is reverse numbers 4 and 5, which represent the scroll wheel. We do this by using a very similar command to the one we just used. In this, replace {order} with the same sequence you saw in the output of `xinput get-button-map`, with 4 and 5&#8242;s order reversed, and {idnum} with our extracted input id again:<br />
<code>xinput set-button-map {idnum} {order}</code><br />
That&#8217;s it done! Go to any application with a scroll-wheel activated scroll function, and watch it in action! To switch back, just repeat the last command with 4 and 5 back in the correct order!</p>
<p>To simplify this whole process, check out the Python code at the link I mentioned previously. You may or may not be able to use it as it is, because it uses PyGTK, and therefore KDE users will have to port it to PyKDE in order to use it. It&#8217;s pretty simple as long as you have any programming experience. Even if not, I encourage you to have a look &#8211; Python&#8217;s an amazing language!</p>
<p>Anything you want to know in more detail, or any corrections/improvements you would like to suggest, please direct it to the comments section, and I&#8217;ll do my best to get back to you as soon as I can!</p>
<p>n00b</p>
<br /> Tagged: <a href='http://n00bsys0p.wordpress.com/tag/linux/'>linux</a>, <a href='http://n00bsys0p.wordpress.com/tag/natural-scrolling/'>natural scrolling</a>, <a href='http://n00bsys0p.wordpress.com/tag/regex/'>regex</a>, <a href='http://n00bsys0p.wordpress.com/tag/xinput/'>xinput</a>, <a href='http://n00bsys0p.wordpress.com/tag/xorg/'>xorg</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/n00bsys0p.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/n00bsys0p.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/n00bsys0p.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/n00bsys0p.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/n00bsys0p.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/n00bsys0p.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/n00bsys0p.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/n00bsys0p.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/n00bsys0p.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/n00bsys0p.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/n00bsys0p.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/n00bsys0p.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/n00bsys0p.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/n00bsys0p.wordpress.com/302/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=n00bsys0p.wordpress.com&amp;blog=3099347&amp;post=302&amp;subd=n00bsys0p&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://n00bsys0p.wordpress.com/2011/07/26/reverse-xorg-scrolling-in-linux-natural-scrolling/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1f3a7b0ee36ecd53e999cdae4da3ceb1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">n00bsys0p</media:title>
		</media:content>
	</item>
		<item>
		<title>BASH script to add GUI to cp</title>
		<link>http://n00bsys0p.wordpress.com/2011/07/21/bash-script-to-add-gui-to-cp/</link>
		<comments>http://n00bsys0p.wordpress.com/2011/07/21/bash-script-to-add-gui-to-cp/#comments</comments>
		<pubDate>Thu, 21 Jul 2011 11:34:06 +0000</pubDate>
		<dc:creator>n00bsys0p</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[awk]]></category>
		<category><![CDATA[BASH]]></category>
		<category><![CDATA[bc]]></category>
		<category><![CDATA[cp]]></category>
		<category><![CDATA[df]]></category>
		<category><![CDATA[egrep]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[sed]]></category>
		<category><![CDATA[tr]]></category>

		<guid isPermaLink="false">http://n00bsys0p.wordpress.com/?p=273</guid>
		<description><![CDATA[Hi folks! Got an interesting BASH script for you this time. I regularly use a BASH script to clone a HDD using cp, and other than perhaps using &#8220;-v&#8221;, I couldn&#8217;t think of a way to give it a GUI. A little research and thought into it came up with the following result: #!/bin/bash SRC="/mnt" [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=n00bsys0p.wordpress.com&amp;blog=3099347&amp;post=273&amp;subd=n00bsys0p&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi folks!</p>
<p>Got an interesting BASH script for you this time. I regularly use a BASH script to clone a HDD using cp, and other than perhaps using &#8220;-v&#8221;, I couldn&#8217;t think of a way to give it a GUI. A little research and thought into it came up with the following result:</p>
<p><code>#!/bin/bash<br />
SRC="/mnt"<br />
TGT="/mnt2"<br />
echo "Copying $SRC to $TGT"<br />
[[ -w /tmp/fifo ]] &amp;&amp; rm /tmp/fifo<br />
mkfifo /tmp/fifo<br />
exec 5&#060;&#062;/tmp/fifo<br />
(cat &lt;&amp;5 | dialog --guage &quot;Copying OS and data files from source to target HDD&quot; 7 30) &amp;<br />
CPPID=$!<br />
TOTAL=$(df | grep $SRC | awk &#039;{print $3}&#039; | tr &#039;\n&#039; &#039;+&#039; | sed &#039;s/.$/\n/&#039; | bc)<br />
while true; do<br />
&nbsp;&nbsp;&nbsp;&nbsp;COPIED=$(df | grep $TGT | awk &#039;{print $3}&#039; | tr &#039;\n&#039; &#039;+&#039; | sed &#039;s/.$/\n/&#039; | bc)<br />
&nbsp;&nbsp;&nbsp;&nbsp;echo 100*$COPIED/$TOTAL | bc &gt;&amp;5<br />
&nbsp;&nbsp;&nbsp;&nbsp;if [ ! &quot;$(ps aux | awk &#039;{print $2}&#039; | grep $CPPID)&quot; ]; then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;break<br />
&nbsp;&nbsp;&nbsp;&nbsp;fi<br />
&nbsp;&nbsp;&nbsp;&nbsp;sleep 10<br />
done<br />
5&lt;&amp;-<br />
reset</code></p>
<p>Apologies for the truly horrible formatting. WordPress&#8217;s code tags aren&#8217;t the best! Now I&#8217;ll do my best to explain each stage&#8230;</p>
<p>First up, the script sets variables for the locations to copy from and to. These must be mounted volumes in this example, as we use `df` to detect them. This wouldn&#8217;t be too difficult to convert to use some other method of working out the size, such as `du`, if you aren&#8217;t using a mounted volume.</p>
<p>We then create a pipe called fifo in /tmp. This is how we will feed data to `dialog`.</p>
<p>Now we connect file descriptor 5 to the pipe, to facilitate the connection to our ncurses dialog, then pipe FD 5 into the `dialog` program, yet again forked into the background.</p>
<p>Next, we find the total size of the source partition, and set it to the variable $TOTAL.</p>
<p>Here we set the copy process off, and fork it into the background, so the script will jump through to the next section, which regularly updates our instance of `dialog`.</p>
<p>Here&#8217;s the interesting bit&#8230; We run a while true loop, which every 10 seconds, checks the cumulative size of the target partition ($COPIED), and compares it to $TOTAL by converting it to a percentage, using bc. This number is then fed into the pipe, which we have connected to dialog. Each loop, we also check to see if the copy process is still running, and if not, we break out of the loop.</p>
<p>To clean up, we close the file descriptor (5&lt;&amp;-), and use `reset`, as dialog has a nasty habit of breaking the terminal, and `clear` doesn&#039;t fix it.</p>
<p>As always, if you have any questions, tips, improvements or corrections, just direct them straight to the comments!</p>
<p>n00b</p>
<br /> Tagged: <a href='http://n00bsys0p.wordpress.com/tag/awk/'>awk</a>, <a href='http://n00bsys0p.wordpress.com/tag/bash/'>BASH</a>, <a href='http://n00bsys0p.wordpress.com/tag/bc/'>bc</a>, <a href='http://n00bsys0p.wordpress.com/tag/cp/'>cp</a>, <a href='http://n00bsys0p.wordpress.com/tag/df/'>df</a>, <a href='http://n00bsys0p.wordpress.com/tag/egrep/'>egrep</a>, <a href='http://n00bsys0p.wordpress.com/tag/grep/'>grep</a>, <a href='http://n00bsys0p.wordpress.com/tag/gui/'>gui</a>, <a href='http://n00bsys0p.wordpress.com/tag/regex/'>regex</a>, <a href='http://n00bsys0p.wordpress.com/tag/script/'>script</a>, <a href='http://n00bsys0p.wordpress.com/tag/sed/'>sed</a>, <a href='http://n00bsys0p.wordpress.com/tag/tr/'>tr</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/n00bsys0p.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/n00bsys0p.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/n00bsys0p.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/n00bsys0p.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/n00bsys0p.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/n00bsys0p.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/n00bsys0p.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/n00bsys0p.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/n00bsys0p.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/n00bsys0p.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/n00bsys0p.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/n00bsys0p.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/n00bsys0p.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/n00bsys0p.wordpress.com/273/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=n00bsys0p.wordpress.com&amp;blog=3099347&amp;post=273&amp;subd=n00bsys0p&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://n00bsys0p.wordpress.com/2011/07/21/bash-script-to-add-gui-to-cp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1f3a7b0ee36ecd53e999cdae4da3ceb1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">n00bsys0p</media:title>
		</media:content>
	</item>
		<item>
		<title>Find /dev entries for any loaded kernel module.</title>
		<link>http://n00bsys0p.wordpress.com/2011/07/11/find-dev-entries-for-any-loaded-kernel-module/</link>
		<comments>http://n00bsys0p.wordpress.com/2011/07/11/find-dev-entries-for-any-loaded-kernel-module/#comments</comments>
		<pubDate>Mon, 11 Jul 2011 09:04:04 +0000</pubDate>
		<dc:creator>n00bsys0p</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bus]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[devices]]></category>
		<category><![CDATA[driver]]></category>
		<category><![CDATA[drivers]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[sys]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://n00bsys0p.wordpress.com/?p=266</guid>
		<description><![CDATA[Hey folks, just got a quick one for you. Recently, I needed to find out to which /dev entries a particular driver was attached. For this, I did the following. First, navigate to /sys. This is where kernel information is stored about devices and drivers. Under here, you&#8217;ll notice folders like &#8220;block&#8221; (for storage devices) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=n00bsys0p.wordpress.com&amp;blog=3099347&amp;post=266&amp;subd=n00bsys0p&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hey folks, just got a quick one for you.</p>
<p>Recently, I needed to find out to which /dev entries a particular driver was attached. For this, I did the following.</p>
<p>First, navigate to /sys. This is where kernel information is stored about devices and drivers. Under here, you&#8217;ll notice folders like &#8220;block&#8221; (for storage devices) and &#8220;bus&#8221; for pluggable items such as USB devices and PCI cards.</p>
<p>We are going to be looking in &#8220;bus&#8221;, as the device I am looking for is connected via USB. From /sys/bus, navigate to usb/drivers, and you will see a list of all drivers currently attached to devices connected via USB.</p>
<p>From here, I needed the ftdi_sio driver, so I cd&#8217;d into the folder, and had a look around. Nothing which makes much sense so far, but bear with me. There will be one or multiple symlinks in this folder, which consists of numbers, hyphens, colons and dots. These link to each device&#8217;s sysfs folder. Run the command:<br />
<code>ls [0-9]*/</code></p>
<p>This will look in any folder which starts with a number (in this case our two device folders). Within these folders should be your information. In my case, there was a folder in each of them called ttyUSB? (where the ? was a number).</p>
<p>Now I knew that I just had to connect my program to /dev/ttyUSB? to communicate with the devices.</p>
<p>If there&#8217;s anything anybody doesn&#8217;t understand about this, feels that I could explain better, or simply wants to know more about, then feel free to let me know via the comments.</p>
<p>Have a great day!</p>
<p>n00b</p>
<br /> Tagged: <a href='http://n00bsys0p.wordpress.com/tag/bus/'>bus</a>, <a href='http://n00bsys0p.wordpress.com/tag/dev/'>dev</a>, <a href='http://n00bsys0p.wordpress.com/tag/devices/'>devices</a>, <a href='http://n00bsys0p.wordpress.com/tag/driver/'>driver</a>, <a href='http://n00bsys0p.wordpress.com/tag/drivers/'>drivers</a>, <a href='http://n00bsys0p.wordpress.com/tag/kernel/'>kernel</a>, <a href='http://n00bsys0p.wordpress.com/tag/linux/'>linux</a>, <a href='http://n00bsys0p.wordpress.com/tag/module/'>module</a>, <a href='http://n00bsys0p.wordpress.com/tag/sys/'>sys</a>, <a href='http://n00bsys0p.wordpress.com/tag/usb/'>usb</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/n00bsys0p.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/n00bsys0p.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/n00bsys0p.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/n00bsys0p.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/n00bsys0p.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/n00bsys0p.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/n00bsys0p.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/n00bsys0p.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/n00bsys0p.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/n00bsys0p.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/n00bsys0p.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/n00bsys0p.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/n00bsys0p.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/n00bsys0p.wordpress.com/266/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=n00bsys0p.wordpress.com&amp;blog=3099347&amp;post=266&amp;subd=n00bsys0p&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://n00bsys0p.wordpress.com/2011/07/11/find-dev-entries-for-any-loaded-kernel-module/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1f3a7b0ee36ecd53e999cdae4da3ceb1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">n00bsys0p</media:title>
		</media:content>
	</item>
		<item>
		<title>Mount partitions from a VirtualBox VDI in Linux.</title>
		<link>http://n00bsys0p.wordpress.com/2011/07/07/mount-partitions-from-a-virtualbox-vdi-in-linux/</link>
		<comments>http://n00bsys0p.wordpress.com/2011/07/07/mount-partitions-from-a-virtualbox-vdi-in-linux/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 13:35:52 +0000</pubDate>
		<dc:creator>n00bsys0p</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[nbd]]></category>
		<category><![CDATA[partitions]]></category>
		<category><![CDATA[qemu]]></category>
		<category><![CDATA[qemu-kvm]]></category>
		<category><![CDATA[qemu-nbd]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vdi]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://n00bsys0p.wordpress.com/?p=260</guid>
		<description><![CDATA[Hi, people! The title&#8217;s pretty self explanatory, so I&#8217;ll just dive right in&#8230; I needed to access data on a VM which had no network connectivity, and therefore needed a way to mount partitions from the host (Ubuntu 11.04 in this case). After a little research, I found this article. It explains in simple steps [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=n00bsys0p.wordpress.com&amp;blog=3099347&amp;post=260&amp;subd=n00bsys0p&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi, people!</p>
<p>The title&#8217;s pretty self explanatory, so I&#8217;ll just dive right in&#8230;</p>
<p>I needed to access data on a VM which had no network connectivity, and therefore needed a way to mount partitions from the host (Ubuntu 11.04 in this case).</p>
<p>After a little research, I found <a href="http://bethesignal.org/blog/2011/01/05/how-to-mount-virtualbox-vdi-image/" title="How To Mount VirtualBox VDI Image" target="_blank">this</a> article. It explains in simple steps how to go about this. Here&#8217;s my much shortened (but far less complete) version:</p>
<p>First, you need to have the package qemu-kvm installed. This can be done in Ubuntu by running the following command:<br />
<code>sudo apt-get install qemu-kvm</code></p>
<p>Next, load the nbd kernel module.<br />
<code>sudo modprobe nbd</code></p>
<p>Now you&#8217;re ready to make the partitions available to the host OS by running:<br />
<code>sudo qemu-nbd -c /dev/nbd0 {VDI FILE}</code></p>
<p>This will allow you to access the partitions as /dev/nbdp{number}. For example, to mount the first partition of the VDI in /mnt, you would run the following command:<br />
<code>sudo mount /dev/nbd0p1 /mnt</code>.</p>
<p>For a whole bunch more information on this, click the link to the original article I mentioned before.</p>
<p>Any questions, just ask!</p>
<p>n00b</p>
<br /> Tagged: <a href='http://n00bsys0p.wordpress.com/tag/linux/'>linux</a>, <a href='http://n00bsys0p.wordpress.com/tag/mount/'>mount</a>, <a href='http://n00bsys0p.wordpress.com/tag/nbd/'>nbd</a>, <a href='http://n00bsys0p.wordpress.com/tag/partitions/'>partitions</a>, <a href='http://n00bsys0p.wordpress.com/tag/qemu/'>qemu</a>, <a href='http://n00bsys0p.wordpress.com/tag/qemu-kvm/'>qemu-kvm</a>, <a href='http://n00bsys0p.wordpress.com/tag/qemu-nbd/'>qemu-nbd</a>, <a href='http://n00bsys0p.wordpress.com/tag/ubuntu/'>ubuntu</a>, <a href='http://n00bsys0p.wordpress.com/tag/vdi/'>vdi</a>, <a href='http://n00bsys0p.wordpress.com/tag/virtualbox/'>virtualbox</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/n00bsys0p.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/n00bsys0p.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/n00bsys0p.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/n00bsys0p.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/n00bsys0p.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/n00bsys0p.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/n00bsys0p.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/n00bsys0p.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/n00bsys0p.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/n00bsys0p.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/n00bsys0p.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/n00bsys0p.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/n00bsys0p.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/n00bsys0p.wordpress.com/260/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=n00bsys0p.wordpress.com&amp;blog=3099347&amp;post=260&amp;subd=n00bsys0p&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://n00bsys0p.wordpress.com/2011/07/07/mount-partitions-from-a-virtualbox-vdi-in-linux/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1f3a7b0ee36ecd53e999cdae4da3ceb1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">n00bsys0p</media:title>
		</media:content>
	</item>
		<item>
		<title>Google Chrome: &#8220;Failed to create a ProcessSingleton for your profile directory&#8221; fix.</title>
		<link>http://n00bsys0p.wordpress.com/2011/05/26/google-chrome-failed-to-create-a-processsingleton-for-your-profile-directory-fix/</link>
		<comments>http://n00bsys0p.wordpress.com/2011/05/26/google-chrome-failed-to-create-a-processsingleton-for-your-profile-directory-fix/#comments</comments>
		<pubDate>Thu, 26 May 2011 10:01:11 +0000</pubDate>
		<dc:creator>n00bsys0p</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[chromium]]></category>
		<category><![CDATA[google chrome]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[processsingleton]]></category>

		<guid isPermaLink="false">http://n00bsys0p.wordpress.com/?p=253</guid>
		<description><![CDATA[Hi all, I had a problem starting Google Chrome on one of my servers today. It started with a whole bunch of errors, the most pronounced of which was as follows: Failed to create a ProcessSingleton for your profile directory. This means that running multiple instances would start multiple browser processes rather than opening a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=n00bsys0p.wordpress.com&amp;blog=3099347&amp;post=253&amp;subd=n00bsys0p&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi all,</p>
<p>I had a problem starting Google Chrome on one of my servers today. It started with a whole bunch of errors, the most pronounced of which was as follows:</p>
<p><code>Failed to create a ProcessSingleton for your profile directory.<br />
This means that running multiple instances would start multiple<br />
browser processes rather than opening a new window in the<br />
existing process. Aborting now to avoid profile corruption.</code></p>
<p>Try as I might, I couldn&#8217;t sort the problem. I tried deleting the config folder (/home/user/.config/google-chrome), and other standard random chances. The fix, however, was absurdly simple. I happened to use &#8220;df -h&#8221; during my research, and found that my / partition was completely full. I went into /tmp, found about 4Gb of useless cruft, and promptly deleted it. Problem sorted.</p>
<p>n00b</p>
<br /> Tagged: <a href='http://n00bsys0p.wordpress.com/tag/browser/'>browser</a>, <a href='http://n00bsys0p.wordpress.com/tag/chrome/'>chrome</a>, <a href='http://n00bsys0p.wordpress.com/tag/chromium/'>chromium</a>, <a href='http://n00bsys0p.wordpress.com/tag/google-chrome/'>google chrome</a>, <a href='http://n00bsys0p.wordpress.com/tag/linux/'>linux</a>, <a href='http://n00bsys0p.wordpress.com/tag/processsingleton/'>processsingleton</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/n00bsys0p.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/n00bsys0p.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/n00bsys0p.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/n00bsys0p.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/n00bsys0p.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/n00bsys0p.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/n00bsys0p.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/n00bsys0p.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/n00bsys0p.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/n00bsys0p.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/n00bsys0p.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/n00bsys0p.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/n00bsys0p.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/n00bsys0p.wordpress.com/253/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=n00bsys0p.wordpress.com&amp;blog=3099347&amp;post=253&amp;subd=n00bsys0p&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://n00bsys0p.wordpress.com/2011/05/26/google-chrome-failed-to-create-a-processsingleton-for-your-profile-directory-fix/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1f3a7b0ee36ecd53e999cdae4da3ceb1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">n00bsys0p</media:title>
		</media:content>
	</item>
		<item>
		<title>How to download Flash 10.2 video streams in Linux.</title>
		<link>http://n00bsys0p.wordpress.com/2011/02/10/how-to-download-flash-10-2-video-streams-in-linux/</link>
		<comments>http://n00bsys0p.wordpress.com/2011/02/10/how-to-download-flash-10-2-video-streams-in-linux/#comments</comments>
		<pubDate>Thu, 10 Feb 2011 18:26:06 +0000</pubDate>
		<dc:creator>n00bsys0p</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flash 10.2]]></category>
		<category><![CDATA[flv]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[lsof]]></category>
		<category><![CDATA[proc]]></category>
		<category><![CDATA[stream]]></category>
		<category><![CDATA[tmp]]></category>

		<guid isPermaLink="false">http://n00bsys0p.wordpress.com/?p=238</guid>
		<description><![CDATA[Hey, people! Just thought I&#8217;d post this little nugget of information, as it&#8217;s taken me a little while to work out how to do it. Before I start, I&#8217;ll mention that downloading copyrighted material may well be extremely illegal where you live, so make sure you only use this technique to download videos which contain [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=n00bsys0p.wordpress.com&amp;blog=3099347&amp;post=238&amp;subd=n00bsys0p&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hey, people!</p>
<p>Just thought I&#8217;d post this little nugget of information, as it&#8217;s taken me a little while to work out how to do it. Before I start, I&#8217;ll mention that downloading copyrighted material may well be extremely illegal where you live, so make sure you only use this technique to download videos which contain your work entirely. This can be useful if you have, for example, lost your user details for a video upload site of some variety, and there is no facility to retrieve your videos without it.</p>
<p>Anyway, enough with the disclaimer, on with the hack&#8230;</p>
<p>As you may know, Flash Player used to store the temporary stream files in /tmp. They switched from this at the end of last year to storing them in the specific browser&#8217;s cache folder for reasons unbeknownst to the masses. This still made it pretty easy to locate any file you may have wished to download. After a recent update, I found that I was unable to locate the temporary caching folder anywhere.</p>
<p>My first step was to load the video in a browser, and check the output of the following command:<br />
<code>lsof | grep -i flash</code></p>
<p>This came out with a predictable, and very useful single line:<br />
<code>plugin-co 25646 n00b 17u REG 8,2 31286337 787220 /tmp/FlashXXepl6qa (deleted)</code></p>
<p>This showed me that there was a file descriptor open to a &#8220;deleted&#8221; file, /tmp/FlashXXepl6qa. <del datetime="2011-04-24T15:11:10+00:00">I&#8217;m no programmer, so I have no idea how this works, but it seems that it&#8217;s adding chunks of data to this file descriptor (I imagine stored in RAM), while the file itself is technically nonexistent.</del></p>
<h2><span style="color:#ff0000;">UPDATE (24/04/11):</span></h2>
<p>Thanks to reader Raven Morris, I have some more information about what exactly is happening. The reason is that Linux does not have file locking, like Windows. Windows programs, when they open a file, will lock it, so no other programs can access it. In Linux, when a file is deleted, the operating system will keep track of it until there are no programs which have it open. Once the last program closes the last file descriptor to the file in question, the file becomes unrecoverable without relevant forensic tools, but until then, there is a record of it within the /proc/*/fd directory tree.</p>
<p>Anyway, the second field of the output tells us which process currently has the file descriptor open, and the fourth tells us which number the file descriptor has taken. This is all we need to access the file itself.</p>
<p>If you navigate to your /proc folder, you will see a bunch of folders all named numerically, including a folder which matches the number in the second field. Now navigate to this folder, then its subfolder &#8220;fd&#8221;. In this folder, you will see a whole selection of numbers. These relate to the file descriptors themselves. Run &#8220;ls -l&#8221; in this folder, and you will see that each of these numbers is linked to either pipes, sockets or files. Within this, the number from the fourth field will be symbolic linked to the /tmp/Flash* file we found before. To test that this is the right file, you can run it through mplayer or vlc (&#8220;mplayer filedescriptornumber&#8221;/&#8221;vlc filedescriptornumber&#8221;). If you&#8217;re having trouble finding the filename, try &#8220;ls -l | grep Flash&#8221;, as pointed out by reader Nobi.</p>
<p>Once the video is fully streamed, you can use a simple &#8220;cp&#8221; to copy the file from the file descriptor to a real location on your hard disk. (&#8220;cp filedescriptornumber ~/Videos/filename.flv&#8221;).</p>
<p>Another way to locate these files is to use the following command:<br />
<code>stat -c %N /proc/*/fd/* 2&gt;&amp;1|awk -F[\`\'] '/Flash/{print$2}'</code></p>
<p>I encourage you to play with the various sections of it to see how it works. If you&#8217;re having trouble getting it to work, make sure you have the apostrophes, backticks and spaces in the correct location.</p>
<p>Reader Robert submitted the following BASH alias, to automate the whole process. Here&#8217;s the script to insert into your bashrc:</p>
<p><code>cpflashvideo() { cd /proc/`lsof | awk ‘/Flash/&amp;&amp;/plugin-co/’ | awk //’{printf “%s”, $2}’`/fd/ &amp;&amp; cp `ls -al | grep ‘\(deleted\)’ | awk ‘//{printf “%s”, $8}’` $* &amp;&amp; cd – &gt; /dev/null; }</code></p>
<h2><span style="color:#ff0000;">UPDATE (13/07/11):</span></h2>
<p>A couple of my friends were pondering the question of this, and came up with the following for those of you who have a few to many tabs open at one time&#8230; I&#8217;ve included a couple of versions, to show how this could be done using entirely awk, or a mixture of awk and sed.</p>
<p>This first one uses regexp matching in awk to ensure that the letter is stripped from the end of the fourth field:<br />
<code>for FILE in $(lsof -n | grep "Flash.*deleted" | awk '{printf "/proc/" $2 "/fd/"; sub(/[a-z]+/,"",$4); print $4}'); do<br />
    cp $FILE $(mktemp -u --suffix .flv $HOME/Videos/Video-XXX)<br />
done</code></p>
<p>The next uses sed to strip off the last character of the fourth field:<br />
<code>for FILE in $(lsof -n|grep .tmp.Flash | awk '{print "/proc/" $2 "/fd/" $4}' | sed 's/.$//'); do<br />
    cp -v $FILE $(mktemp -u --suffix=.flv --tmpdir=$HOME/Videos/)<br />
done</code></p>
<p>I hope this post is as interesting for others as I found it myself, and as always, direct any questions to me in the comments!</p>
<p>If you are a Spanish speaker, and have had trouble understanding this, Taringa.net user racsoprieto has translated the basics of the article <a href="http://www.taringa.net/posts/linux/9247590/videos-no-estan-en-tmp-_tmp-ubuntu-bajar-videos-flash-flv.html" title="videos no estan en tmp /tmp ubuntu bajar videos flash flv" target="_blank">here</a>.</p>
<p>n00b</p>
<br /> Tagged: <a href='http://n00bsys0p.wordpress.com/tag/download/'>download</a>, <a href='http://n00bsys0p.wordpress.com/tag/flash/'>flash</a>, <a href='http://n00bsys0p.wordpress.com/tag/flash-10-2/'>flash 10.2</a>, <a href='http://n00bsys0p.wordpress.com/tag/flv/'>flv</a>, <a href='http://n00bsys0p.wordpress.com/tag/linux/'>linux</a>, <a href='http://n00bsys0p.wordpress.com/tag/lsof/'>lsof</a>, <a href='http://n00bsys0p.wordpress.com/tag/proc/'>proc</a>, <a href='http://n00bsys0p.wordpress.com/tag/stream/'>stream</a>, <a href='http://n00bsys0p.wordpress.com/tag/tmp/'>tmp</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/n00bsys0p.wordpress.com/238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/n00bsys0p.wordpress.com/238/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/n00bsys0p.wordpress.com/238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/n00bsys0p.wordpress.com/238/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/n00bsys0p.wordpress.com/238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/n00bsys0p.wordpress.com/238/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/n00bsys0p.wordpress.com/238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/n00bsys0p.wordpress.com/238/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/n00bsys0p.wordpress.com/238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/n00bsys0p.wordpress.com/238/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/n00bsys0p.wordpress.com/238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/n00bsys0p.wordpress.com/238/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/n00bsys0p.wordpress.com/238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/n00bsys0p.wordpress.com/238/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=n00bsys0p.wordpress.com&amp;blog=3099347&amp;post=238&amp;subd=n00bsys0p&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://n00bsys0p.wordpress.com/2011/02/10/how-to-download-flash-10-2-video-streams-in-linux/feed/</wfw:commentRss>
		<slash:comments>59</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1f3a7b0ee36ecd53e999cdae4da3ceb1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">n00bsys0p</media:title>
		</media:content>
	</item>
		<item>
		<title>How NOT to write a BASH script.</title>
		<link>http://n00bsys0p.wordpress.com/2011/01/24/how-not-to-write-a-bash-script/</link>
		<comments>http://n00bsys0p.wordpress.com/2011/01/24/how-not-to-write-a-bash-script/#comments</comments>
		<pubDate>Mon, 24 Jan 2011 23:09:58 +0000</pubDate>
		<dc:creator>n00bsys0p</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[BASH]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://n00bsys0p.wordpress.com/?p=236</guid>
		<description><![CDATA[Hey all! Found another link for you guys to peruse at your leisure. I have found BASH scripting to be pretty much the most useful thing to know when administering Linux systems. Debugging a script which won&#8217;t play fair can be really time-consuming, and these tricks might just save you a heck of a lot [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=n00bsys0p.wordpress.com&amp;blog=3099347&amp;post=236&amp;subd=n00bsys0p&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hey all!</p>
<p>Found another link for you guys to peruse at your leisure. I have found BASH scripting to be pretty much the most useful thing to know when administering Linux systems. Debugging a script which won&#8217;t play fair can be really time-consuming, and these tricks might just save you a heck of a lot of time!</p>
<p>Anyway. <a href="http://mywiki.wooledge.org/BashPitfalls">Here&#8217;s</a> the link.</p>
<p>n00b</p>
<br /> Tagged: <a href='http://n00bsys0p.wordpress.com/tag/bash/'>BASH</a>, <a href='http://n00bsys0p.wordpress.com/tag/cli/'>cli</a>, <a href='http://n00bsys0p.wordpress.com/tag/console/'>console</a>, <a href='http://n00bsys0p.wordpress.com/tag/linux/'>linux</a>, <a href='http://n00bsys0p.wordpress.com/tag/script/'>script</a>, <a href='http://n00bsys0p.wordpress.com/tag/scripting/'>scripting</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/n00bsys0p.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/n00bsys0p.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/n00bsys0p.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/n00bsys0p.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/n00bsys0p.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/n00bsys0p.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/n00bsys0p.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/n00bsys0p.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/n00bsys0p.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/n00bsys0p.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/n00bsys0p.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/n00bsys0p.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/n00bsys0p.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/n00bsys0p.wordpress.com/236/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=n00bsys0p.wordpress.com&amp;blog=3099347&amp;post=236&amp;subd=n00bsys0p&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://n00bsys0p.wordpress.com/2011/01/24/how-not-to-write-a-bash-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1f3a7b0ee36ecd53e999cdae4da3ceb1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">n00bsys0p</media:title>
		</media:content>
	</item>
		<item>
		<title>Incredibly Interesting Console Commands</title>
		<link>http://n00bsys0p.wordpress.com/2011/01/21/incredibly-interesting-console-commands/</link>
		<comments>http://n00bsys0p.wordpress.com/2011/01/21/incredibly-interesting-console-commands/#comments</comments>
		<pubDate>Fri, 21 Jan 2011 11:54:17 +0000</pubDate>
		<dc:creator>n00bsys0p</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://n00bsys0p.wordpress.com/?p=232</guid>
		<description><![CDATA[Found an interesting page, so thought I&#8217;d post a link to it! It&#8217;s a collation of lesser known, yet incredibly useful console commands. Here&#8217;s the link to the page. n00b Tagged: cli, console, linux, terminal<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=n00bsys0p.wordpress.com&amp;blog=3099347&amp;post=232&amp;subd=n00bsys0p&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Found an interesting page, so thought I&#8217;d post a link to it! It&#8217;s a collation of lesser known, yet incredibly useful console commands.</p>
<p><a href="http://www.pixelbeat.org/docs/linux_commands.html">Here&#8217;s the link to the page</a>.</p>
<p>n00b</p>
<br /> Tagged: <a href='http://n00bsys0p.wordpress.com/tag/cli/'>cli</a>, <a href='http://n00bsys0p.wordpress.com/tag/console/'>console</a>, <a href='http://n00bsys0p.wordpress.com/tag/linux/'>linux</a>, <a href='http://n00bsys0p.wordpress.com/tag/terminal/'>terminal</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/n00bsys0p.wordpress.com/232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/n00bsys0p.wordpress.com/232/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/n00bsys0p.wordpress.com/232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/n00bsys0p.wordpress.com/232/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/n00bsys0p.wordpress.com/232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/n00bsys0p.wordpress.com/232/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/n00bsys0p.wordpress.com/232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/n00bsys0p.wordpress.com/232/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/n00bsys0p.wordpress.com/232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/n00bsys0p.wordpress.com/232/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/n00bsys0p.wordpress.com/232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/n00bsys0p.wordpress.com/232/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/n00bsys0p.wordpress.com/232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/n00bsys0p.wordpress.com/232/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=n00bsys0p.wordpress.com&amp;blog=3099347&amp;post=232&amp;subd=n00bsys0p&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://n00bsys0p.wordpress.com/2011/01/21/incredibly-interesting-console-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1f3a7b0ee36ecd53e999cdae4da3ceb1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">n00bsys0p</media:title>
		</media:content>
	</item>
		<item>
		<title>How To: Install Indy 10 on Lazarus</title>
		<link>http://n00bsys0p.wordpress.com/2010/12/17/how-to-install-indy-10-on-lazarus/</link>
		<comments>http://n00bsys0p.wordpress.com/2010/12/17/how-to-install-indy-10-on-lazarus/#comments</comments>
		<pubDate>Fri, 17 Dec 2010 11:26:44 +0000</pubDate>
		<dc:creator>n00bsys0p</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://n00bsys0p.wordpress.com/?p=230</guid>
		<description><![CDATA[Hi all, Just a link here for you. I&#8217;ve been working closely with a programmer, who has used Kylix 3 for the last 6 years, and needed to change to an IDE which is being actively developed. This required switching to the Lazarus Freepascal IDE. As all of the project files used Indy components, I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=n00bsys0p.wordpress.com&amp;blog=3099347&amp;post=230&amp;subd=n00bsys0p&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi all,</p>
<p>Just a link here for you. I&#8217;ve been working closely with a programmer, who has used Kylix 3 for the last 6 years, and needed to change to an IDE which is being actively developed. This required switching to the <a href="http://www.lazarus.freepascal.org/">Lazarus</a> Freepascal IDE. As all of the project files used Indy components, I was asked to find a way to install the Indy component into Lazarus. A bit of trial and error, followed by some excellent tips from the following link, and I was well away!</p>
<p>Anyway, here&#8217;s the link&#8230; http://forum.lazarus.freepascal.org/index.php?topic=5096</p>
<p>Hope it&#8217;s of use!</p>
<p>n00b</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/n00bsys0p.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/n00bsys0p.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/n00bsys0p.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/n00bsys0p.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/n00bsys0p.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/n00bsys0p.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/n00bsys0p.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/n00bsys0p.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/n00bsys0p.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/n00bsys0p.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/n00bsys0p.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/n00bsys0p.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/n00bsys0p.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/n00bsys0p.wordpress.com/230/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=n00bsys0p.wordpress.com&amp;blog=3099347&amp;post=230&amp;subd=n00bsys0p&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://n00bsys0p.wordpress.com/2010/12/17/how-to-install-indy-10-on-lazarus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1f3a7b0ee36ecd53e999cdae4da3ceb1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">n00bsys0p</media:title>
		</media:content>
	</item>
	</channel>
</rss>
