<?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>n3wt0n! &#187; Open Source</title>
	<atom:link href="http://n3wt0n.com/blog/category/opensource/feed/" rel="self" type="application/rss+xml" />
	<link>http://n3wt0n.com/blog</link>
	<description>Student4Life</description>
	<lastBuildDate>Wed, 25 Jan 2012 21:40:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Capturing game footage with FFmpeg in Ubuntu</title>
		<link>http://n3wt0n.com/blog/capturing-game-footage-with-ffmpeg-in-ubuntu/</link>
		<comments>http://n3wt0n.com/blog/capturing-game-footage-with-ffmpeg-in-ubuntu/#comments</comments>
		<pubDate>Thu, 16 Sep 2010 14:14:16 +0000</pubDate>
		<dc:creator>kyle</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[capture]]></category>
		<category><![CDATA[encode]]></category>
		<category><![CDATA[footage]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[record]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://n3wt0n.com/blog/?p=855</guid>
		<description><![CDATA[It&#8217;s surprisingly easier than I expected. I&#8217;d previously thought FFmpeg was so complicated that I looked everywhere else for a decent video capture tool in Linux. I found the following explanation at qubodup&#8217;s blog. And he, in turn, found the tutorial from a much larger blog post. Start the game/open the window you want to [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s surprisingly easier than I expected. I&#8217;d previously thought FFmpeg was so complicated that I looked everywhere else for a decent video capture tool in Linux.</p>
<p>I found the following explanation at <a href="https://qubodup.wordpress.com/2010/06/02/record-a-windowed-game-in-linux-using-ffmpeg-in-three-simple-steps/" target="_blank">qubodup&#8217;s blog</a>. And he, in turn, found the tutorial from a <a href="https://verb3k.wordpress.com/2010/01/26/how-to-do-proper-screencasts-on-linux/" target="_blank" class="broken_link">much larger blog post</a>.</p>
<ol>
<li>Start the game/open the window you want to record (I expect it should be windowed for the following instructions to make sense).</li>
<li>In a terminal, enter &#8216;xwininfo&#8217; and then click on the window you will be recording.</li>
<li>You&#8217;ll see a bunch of information pop up in the window.
<ol>
<li>If you want to capture window decorations, also make note of the  values in <strong>-geometry</strong> at the bottom. (<strong>width</strong>, <strong>height</strong>, <strong>upper-left X</strong>, <strong>upper-left Y</strong>)</li>
<li>If you want to capture only the window contents, make note of <strong>Width</strong>, <strong>Height</strong>, <strong>Absolute upper-left X</strong>, <strong>Absolute upper-left Y</strong>.</li>
</ol>
</li>
<li>In a terminal, type/paste the following
<p><code>ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s WIDTHxHEIGHT -i :0.0+XPOSITION,YPOSITION -acodec pcm_s16le -vcodec libx264 -vpre lossless_ultrafast -threads 0 output.mkv</code></li>
<li>Replace the capitals with the values you noted previously.</li>
<li>Press enter to begin recording. When done, press <strong>Ctrl-C</strong> in the terminal.</li>
<li>In a terminal, type the following to encode the video
<p><code>ffmpeg -i output.mkv -acodec libmp3lame -ab 128k -ac 2 -vcodec libx264 -vpre hq -crf 22 -threads 0 our-final-product.mp4</code></li>
</ol>
<p>I&#8217;ve yet to get the audio to record properly, but at least the video records flawlessly.</p>
<div class="plus-one-wrap"><g:plusone href="http://n3wt0n.com/blog/capturing-game-footage-with-ffmpeg-in-ubuntu/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://n3wt0n.com/blog/capturing-game-footage-with-ffmpeg-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updated Avatar</title>
		<link>http://n3wt0n.com/blog/updated-avatar/</link>
		<comments>http://n3wt0n.com/blog/updated-avatar/#comments</comments>
		<pubDate>Sat, 08 Aug 2009 07:44:15 +0000</pubDate>
		<dc:creator>kyle</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[avatar]]></category>
		<category><![CDATA[inkscape]]></category>

		<guid isPermaLink="false">http://n3wt0n.com/blog/?p=617</guid>
		<description><![CDATA[I figured since I&#8217;m too awake to sleep, it&#8217;s about time I clean up my nasty-ass avatar. Vectorize it, even. Before After Inkscape came to my rescue. And it&#8217;s free. And now I&#8217;ve got a good looking avatar.]]></description>
			<content:encoded><![CDATA[<p>I figured since I&#8217;m too awake to sleep, it&#8217;s about time I clean up my nasty-ass avatar. Vectorize it, even.</p>
<table border="1" cellpadding="5">
<tbody>
<tr>
<td><a rel="attachment wp-att-619" href="http://n3wt0n.com/blog/?attachment_id=619"><img class="size-full wp-image-619" title="smile_02" src="http://n3wt0n.com/blog/wp-content/uploads/2009/08/smile_021.png" alt="Before" width="249" height="221" /></a></td>
<td><a rel="attachment wp-att-620" href="http://n3wt0n.com/blog/?attachment_id=620"><img class="size-full wp-image-620" title="smile_01" src="http://n3wt0n.com/blog/wp-content/uploads/2009/08/smile_01.png" alt="After" width="256" height="222" /></a></td>
</tr>
<tr>
<td align="center">Before</td>
<td align="center">After</td>
</tr>
</tbody>
</table>
<p><a href="http://www.inkscape.org/" target="_blank">Inkscape</a> came to my rescue. And it&#8217;s free. And now I&#8217;ve got a good looking avatar.</p>
<div class="plus-one-wrap"><g:plusone href="http://n3wt0n.com/blog/updated-avatar/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://n3wt0n.com/blog/updated-avatar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free Business</title>
		<link>http://n3wt0n.com/blog/free-business/</link>
		<comments>http://n3wt0n.com/blog/free-business/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 16:47:38 +0000</pubDate>
		<dc:creator>kyle</dc:creator>
				<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://n3wt0n.com/blog/?p=349</guid>
		<description><![CDATA[I just read a forum post by Nine Inch Nails&#8217; Trent Reznor. He covers how to make money without selling your soul to a label. Trent covers music but it&#8217;s transferrable to, say, books and even games&#8230; It&#8217;s nothing new. It works. Why isn&#8217;t everyone giving their stuff away?]]></description>
			<content:encoded><![CDATA[<p>I just read a <a href="http://forum.nin.com/bb/read.php?30,767183,page=1" target="_blank">forum post</a> by Nine Inch Nails&#8217; Trent Reznor. He covers how to make money without selling your soul to a label.</p>
<p>Trent covers music but it&#8217;s transferrable to, say, <a href="http://1889.ca/2009/07/the-success-of-free/" target="_blank">books</a> and even <a href="http://lostgarden.com/2009/07/flash-love-letter-2009-part-1.html" target="_blank">games</a>&#8230;</p>
<p>It&#8217;s nothing new. It works. Why isn&#8217;t everyone giving their stuff away?</p>
<div class="plus-one-wrap"><g:plusone href="http://n3wt0n.com/blog/free-business/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://n3wt0n.com/blog/free-business/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Displaying an SVG hosted by GoDaddy</title>
		<link>http://n3wt0n.com/blog/displaying-an-svg-hosted-by-godaddy/</link>
		<comments>http://n3wt0n.com/blog/displaying-an-svg-hosted-by-godaddy/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 19:01:17 +0000</pubDate>
		<dc:creator>kyle</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[godaddy]]></category>
		<category><![CDATA[host]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[svg]]></category>
		<category><![CDATA[torrentboy]]></category>

		<guid isPermaLink="false">http://n3wt0n.com/blog/?p=313</guid>
		<description><![CDATA[I&#8217;ve recently been contributing to the TorrentBoy Project and trying to keep some level of activity going for it at all times. The project still needs active contributors, especially if you&#8217;re any good with stringing coherent words together or connecting lines together to form pretty pictures. See 1889.ca for more information. Writers? Artists? Anyone! How [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently been contributing to the <a href="http://torrentboy.1889.ca/" target="_blank">TorrentBoy Project</a> and trying to keep some level of activity going for it at all times. The project still needs active contributors, especially if you&#8217;re any good with stringing coherent words together or connecting lines together to form pretty pictures. See <a href="http://1889.ca/" target="_blank">1889.ca</a> for more information. Writers? Artists? Anyone!</p>
<p>How is this relevant? I told MCM, the brain behind the project, that I&#8217;d get off my butt and finally post the <strong>.svg</strong> I had created. Being that TorrentBoy is a collaborative project, it helps others if they have a &#8220;launching&#8221; point to contribute from. From my perspective, I&#8217;m hoping that someone can take my image of <a href="http://wiki.n3wt0n.com/uploads/TorrentBoyGraphics/Crash/torrentboy_crash_02_eyes_02.svg" target="_blank">Crash with Waser Bwaster</a> (<a href="http://creativecommons.org/licenses/by-sa/2.5/ca/" target="_blank"><img src="http://i.creativecommons.org/l/by-sa/2.5/ca/80x15.png" /></a>) and make him <strong>awesome</strong>.</p>
<p>Back to the point, GoDaddy doesn&#8217;t display <strong>.svg</strong> files by default. When linking to an SVG, the page will just spit out the source code to the image. Not very helpful. A temporary solution would be to change the <strong>.svg</strong> extension to <strong>.xml</strong>, which will then correctly display the image. But that&#8217;s not how we do it!</p>
<p>The solution is this. Stick the following lines into your websites root <strong>.htaccess</strong> file (the <strong>~/html</strong> directory).</p>
<pre>AddType image/svg+xml svg
AddType image/svg+xml svgz
AddEncoding x-gzip .svgz</pre>
<p>Give it a try. Much thanks to <a href="http://codedread.com/SVGKS_2b.php" target="_blank">this article</a> for the solution.</p>
<div class="plus-one-wrap"><g:plusone href="http://n3wt0n.com/blog/displaying-an-svg-hosted-by-godaddy/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://n3wt0n.com/blog/displaying-an-svg-hosted-by-godaddy/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Install XBMC in Ubuntu 9.04 Jaunty Jackalope</title>
		<link>http://n3wt0n.com/blog/install-xbmc-in-ubuntu-904-jaunty-jackalope/</link>
		<comments>http://n3wt0n.com/blog/install-xbmc-in-ubuntu-904-jaunty-jackalope/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 17:03:42 +0000</pubDate>
		<dc:creator>kyle</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[9.04]]></category>
		<category><![CDATA[ati]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[launchpad]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[xbmc]]></category>

		<guid isPermaLink="false">http://n3wt0n.com/blog/?p=306</guid>
		<description><![CDATA[I&#8217;m going to make this as simple as possible. I&#8217;ll even stay away from the &#8220;command line&#8221; until it makes sense to use it. First, add the repository to your software sources file. The repository can be found at Launchpad, I found it by searching for PPA XBMC jaunty from the site&#8217;s search function. The [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m going to make this as simple as possible. I&#8217;ll even stay away from the &#8220;command line&#8221; until it makes sense to use it.</p>
<p>First, add the repository to your software sources file. The repository can be found at <a href="https://launchpad.net/~team-xbmc/+archive/jaunty-ppa" target="_blank">Launchpad</a>, I found it by searching for <strong>PPA XBMC jaunty</strong> from the site&#8217;s search function. The two XBMC repositories for Jaunty are</p>
<pre>deb http://ppa.launchpad.net/team-xbmc/jaunty-ppa/ubuntu <span id="series-deb">jaunty</span> main
deb-src http://ppa.launchpad.net/team-xbmc/jaunty-ppa/ubuntu <span id="series-deb-src">jaunty</span> main</pre>
<p id="sources-list-entries">But we&#8217;re mostly interested in that first one (repository). Highlight and copy the first line so we can add it to our repositories. Open up the Sources manager</p>
<pre><strong>System &gt; Administration &gt; Software Sources</strong></pre>
<p>Then click the <strong>Third-Party Software</strong> tab. Click <strong>Add</strong> at the bottom left of the window and paste in the repository that you copied previously.</p>
<p>Next we need to <strong>Authenticate</strong> the repository so that it shows up in the system&#8217;s list of software that we can install. To do this, click the <strong>Authentication</strong> tab in that software sources window.</p>
<p>In order to authenticate, we need to import the XBMC <em>key file</em> for Jaunty. The public key, like the link to the repository itself, can be found on Launchpad. You might notice on the XBMC-Jaunty launchpad page the following line:</p>
<pre>This repository is signed with <code>1024R/9317790E</code> OpenPGP key.</pre>
<p>The public key is found by first clicking that link. You&#8217;ll be presented with another link on a line like the following:</p>
<pre>sig  sig3  <a href="http://keyserver.ubuntu.com:11371/pks/lookup?op=get&amp;search=0x9F10E6AE9317790E">9317790E</a> 2009-04-04 ...<a href="http://keyserver.ubuntu.com:11371/pks/lookup?op=vindex&amp;search=0x9F10E6AE9317790E"></a></pre>
<p>Click the first link to be taken to the repository&#8217;s <em>public key</em>. You need to copy everything below the heading. Everything includes</p>
<pre>-----BEGIN PGP PUBLIC KEY BLOCK-----</pre>
<p>and the block of characters in the middle, all the way to the end of</p>
<pre>-----END PGP PUBLIC KEY BLOCK-----</pre>
<p>After that has been copied, create a file and paste the block into it. The name of the file doesn&#8217;t matter as you only need the file for another minute.</p>
<p>After the key has been pasted into the file, go back to <strong>Authentication</strong> tab of the <strong>Software Sources</strong> window. At the bottom left of the window is the <strong>Import Key File&#8230;</strong> button. Click it. Navigate to and select the key file you just created. Click OK.</p>
<p>You should now see the XBMC key information in the <strong>Trusted software providers</strong> window. That&#8217;s it for setting up the repository. Just click <strong>Close</strong> and you&#8217;ll be prompted to update the system&#8217;s available software listing.</p>
<p>To install, just go through the steps you would regularly to install software. Personally, I prefer to run the command from a shell.</p>
<pre>sudo aptitude update
sudo aptitude install xbmc</pre>
<p>If you haven&#8217;t already done so, you can now delete the XBMC launchpad key.</p>
<p><strong>Note:</strong> <span style="text-decoration: line-through;">If you are using an ATI video card, you may need to install the ATI video card drivers from the ATI site. This is evident when you go to run XBMC and a window flashes and disappears.<br />
</span>It appears now that, in the updates leading up to but not necessarily including today, ATI video cards will now work properly with XBMC and no longer cause it to crash.</p>
<div class="plus-one-wrap"><g:plusone href="http://n3wt0n.com/blog/install-xbmc-in-ubuntu-904-jaunty-jackalope/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://n3wt0n.com/blog/install-xbmc-in-ubuntu-904-jaunty-jackalope/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>sendmail from the command line in GoDaddy</title>
		<link>http://n3wt0n.com/blog/sendmail-from-the-command-line-in-godaddy/</link>
		<comments>http://n3wt0n.com/blog/sendmail-from-the-command-line-in-godaddy/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 21:34:45 +0000</pubDate>
		<dc:creator>kyle</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[godaddy]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[instruction]]></category>
		<category><![CDATA[line]]></category>
		<category><![CDATA[sendmail]]></category>

		<guid isPermaLink="false">http://n3wt0n.com/blog/?p=301</guid>
		<description><![CDATA[This is another useful tidbit to use with the article, Backing up your Database (with GoDaddy and Cron). What it does: Allow you to send mail to a specified email address by using the program sendmail. You do this from the shell in your GoDaddy account. I shouldn&#8217;t have to tell you that this tutorial [...]]]></description>
			<content:encoded><![CDATA[<p>This is another useful tidbit to use with the article, <a href="http://n3wt0n.com/blog/?p=271" target="_blank">Backing up your Database (with GoDaddy and Cron)</a>.</p>
<p><span style="text-decoration: underline;">What it does:</span> Allow you to <em>send mail</em> to a specified email address by using the program <strong>sendmail</strong>.</p>
<p>You do this from the shell in your GoDaddy account. I shouldn&#8217;t have to tell you that this tutorial is meant for the shared Linux hosting account.</p>
<pre>/usr/sbin/sendmail.real -f myaccount@theurl.com
intendedrecipient@theotherurl.com</pre>
<p>Type that all on one line. Of course, change the addresses to suit your needs, then press &lt;enter&gt;. You&#8217;ll be greeted with&#8230; nothing happening. <strong>sendmail</strong> is now waiting for further instructions. So type the following.</p>
<pre>Subject: whatever your subject is
And now you type your message below that</pre>
<p>And you&#8217;ll still be left with nothing happening. Now <strong>sendmail</strong> is waiting for you to tell it that the message is over. So simply type a period on a line by itself.</p>
<pre>.</pre>
<p>And press &lt;enter&gt;. Your message should now send.</p>
<p>This is handy for a cron job where you want either a receipt that the cron job completed, or perhaps you want a file (backup?) sent to you on a regular basis.</p>
<p><span style="text-decoration: underline;">Example:</span></p>
<pre>/usr/sbin/sendmail.real \
-f test@example.com \
recipient@example.com
Subject: Testing for HowTo
This is just a test message.
And this is a new line.
.</pre>
<p>The following email is what I received.</p>
<pre><strong>from</strong> test@example.com
<strong>to</strong>
<strong>date</strong> <span class="gI">Mon, Apr 20, 2009 at 2:22 PM
</span><span class="gI"><strong>subject</strong> Testing for HowTo</span>
<strong>mailed-by</strong> bounce.secureserver.net
This is just a test message.
And this is a new line.</pre>
<div class="plus-one-wrap"><g:plusone href="http://n3wt0n.com/blog/sendmail-from-the-command-line-in-godaddy/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://n3wt0n.com/blog/sendmail-from-the-command-line-in-godaddy/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Open Sourcery</title>
		<link>http://n3wt0n.com/blog/open-sourcery/</link>
		<comments>http://n3wt0n.com/blog/open-sourcery/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 21:47:31 +0000</pubDate>
		<dc:creator>kyle</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[1889]]></category>
		<category><![CDATA[contribute]]></category>
		<category><![CDATA[open]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[pmwiki]]></category>
		<category><![CDATA[source]]></category>
		<category><![CDATA[torrent boy]]></category>
		<category><![CDATA[torrentboy]]></category>

		<guid isPermaLink="false">http://n3wt0n.com/blog/?p=292</guid>
		<description><![CDATA[Recently I came across a gem of a site on the interwebs. I found 1889ca (Is it just called 1889? Maybe 1889 books?). It&#8217;s the home of some great stories, very much in the same light as Cory Doctorow&#8217;s works. But there&#8217;s a twist. These are children&#8217;s books. Not all of them (keep the little [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I came across a gem of a site on the interwebs. I found <a href="http://www.1889.ca/" target="_blank">1889ca</a> (Is it just called 1889? Maybe 1889 books?). It&#8217;s the home of some great stories, very much in the same light as <a href="http://craphound.com/" target="_blank">Cory Doctorow&#8217;s works</a>. But there&#8217;s a twist. These are children&#8217;s books. Not all of them (keep the little ones away from the Steam Duck series), but the majority are aimed at the &#8220;sub teenager&#8221; age range.</p>
<p>Recently, and much to my surprise, MCM, the man behind the site, launched an open source project: <a href="http://torrentboy.1889.ca/" target="_blank">TorrentBoy</a>. I felt like this was something I had to take part in. Who wouldn&#8217;t love to help drive the evolution of a wise-cracking boy who turns into a super-hero by tapping into the latent power that engulfs all of Earth&#8217;s inhabitants? I know I would!</p>
<p>So when MCM asked for the Twitter-Public&#8217;s opinion on which CMS (Content Management System) we&#8217;d recommend, preferably one built like a wiki, I just had to suggest the use of PmWiki. I like PmWiki. The documentation accompanying it is great. And, Lo! Check out the <a href="http://torrentboy.1889.ca/" target="_blank">TorrentBoy site</a> now! I wasn&#8217;t expecting to be able to contribute the way that I had, but I did.</p>
<p>So I&#8217;m not sure if this is a public awareness call for bored geeks out there who wish to contribute to an open source project (much like TorrentBoy, or any other project). If you want to help contribute to a project, you can. You&#8217;re not about to get your head torn off like you might if you play <a href="http://www.quakelive.com/" target="_blank">QuakeLive</a> (people who play Quake can be scary mean!).</p>
<div class="plus-one-wrap"><g:plusone href="http://n3wt0n.com/blog/open-sourcery/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://n3wt0n.com/blog/open-sourcery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programming Humans (Greying an Image)</title>
		<link>http://n3wt0n.com/blog/programming-humans-greying-an-image/</link>
		<comments>http://n3wt0n.com/blog/programming-humans-greying-an-image/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 06:28:19 +0000</pubDate>
		<dc:creator>kyle</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[colour]]></category>
		<category><![CDATA[gimp]]></category>
		<category><![CDATA[gray]]></category>
		<category><![CDATA[grey]]></category>
		<category><![CDATA[guide]]></category>

		<guid isPermaLink="false">http://n3wt0n.com/blog/?p=287</guid>
		<description><![CDATA[I was in the shower and something struck me as slightly humorous. Just before the shower, I wrote a small program. It&#8217;s written in this new programming language that I call the &#8220;English Human programming language&#8221;. It features inline-comments (nifty snippets integrated into the code that the interpreter is fancy enough to parse out). In [...]]]></description>
			<content:encoded><![CDATA[<p>I was in the shower and something struck me as slightly humorous. Just before the shower, I wrote a small program. It&#8217;s written in this new programming language that I call the &#8220;English Human programming language&#8221;. It features inline-comments (nifty snippets integrated into the code that the interpreter is fancy enough to parse out). In fact, the interpreter is intelligent enough to parse out anything that is written as a comment.</p>
<p>The &#8220;program&#8221; is a set of instructions for using &#8220;The Gimp&#8221; to gray out an image. The usual thing where only a certain portion of the image has any color left in it.</p>
<p>The program is reprinted below:</p>
<pre>Instructions for "The Gimp".

File &gt; Open
	select your picture

Click through the following. This will set up the picture
so that you can grey out what you want and leave color
where you want.

Select &gt; All

Edit &gt; Copy

Colors &gt; Desaturate &gt; Ok

Layer &gt; New Layer &gt; Ok

Edit &gt; Paste

Layer &gt; Anchor Layer

Now you can start "deleting the color" from the image.
"Shift-E" will select the "erase tool" but that might take
a while. I suggest you use the "Rectangle Select Tool"
(can get to it by pressing "r" on the keyboard). That will
select big chunks which you can then "Control-X" to delete
out of the picture.</pre>
<p>There you have it, a set of instructions that when followed will fancify an image.</p>
<div class="plus-one-wrap"><g:plusone href="http://n3wt0n.com/blog/programming-humans-greying-an-image/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://n3wt0n.com/blog/programming-humans-greying-an-image/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To: &#8220;Blog Roll&#8221; in Drupal (6.x)</title>
		<link>http://n3wt0n.com/blog/how-to-blog-roll-in-drupal/</link>
		<comments>http://n3wt0n.com/blog/how-to-blog-roll-in-drupal/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 06:40:43 +0000</pubDate>
		<dc:creator>kyle</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[blog roll]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[roll]]></category>

		<guid isPermaLink="false">http://n3wt0n.com/blog/?p=260</guid>
		<description><![CDATA[Recently I was asked to include a link to the South Okanagan Linux Users Group as a favor for them linking to the North Okanagan Linux Users Group, which I help maintain. The NoLUG runs on Drupal, which unlike WordPress (which I use for n3wt0n) does not include a &#8220;blog roll&#8221; by default. And by [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I was asked to include a link to the <a href="http://solug.org/" target="_blank">South Okanagan Linux Users Group</a> as a favor for them linking to the <a href="http://nolug.ca/" target="_blank">North Okanagan Linux Users Group</a>, which I help maintain. The NoLUG runs on Drupal, which unlike WordPress (which I use for n3wt0n) does not include a &#8220;blog roll&#8221; by default. And by blog roll, I mean a collection of links to other similar blogs which is usually featured on every page throughout the site.</p>
<p>SOLUG scratched our back, it&#8217;s only fair in return to scratch theirs. So how do you go about creating a blog roll in Drupal? You may think about using an <a href="http://drupal.org/project/blogroll" target="_blank">existing</a> <a href="http://drupal.org/project/simpleblogroll" target="_blank">module</a>, but that was too much work. Here&#8217;s the simple way.</p>
<p>Follow the path:</p>
<pre>Home » Administer » Site building » Blocks (Add Block)</pre>
<p>And fill in the following fields:</p>
<pre><strong>Block description</strong> - What the block will be called on the Blocks menu.<strong>
Block title</strong> - What the block will be called on the actual page.<strong>
Block body</strong> - The HTML to make up your blog roll.</pre>
<p>The block body I used for the NoLUG site was simply an unordered list that makes for easy maintenance.</p>
<pre>&lt;ul&gt;
&lt;li&gt;&lt;a href="http://clug.ca/" &gt;Calgary LUG&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://lug.kamloops.net/" &gt;Kamloops LUG&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://solug.org/" &gt;South Okanagan LUG&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vanlug.bc.ca/" &gt;Vancouver LUG&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</pre>
<p>Now choose whichever configuration options you want to associate with the block. I recommend</p>
<pre><strong>Custom visibility settings:</strong> Users cannot control whether or not they see this block.
<strong>Show block on specific pages:</strong> Show on every page except the listed pages. (Leave the listed pages blank)</pre>
<p>Make sure you click &#8220;Save Block&#8221; so your hard work is saved. This will take you back to the Blocks menu.</p>
<p>Scroll to the bottom of the Blocks menu, to the Disabled section. Locate the newly created &#8220;Blog Roll&#8221; and select either Right or Left Sidebar (or wherever you want to place the block). Click &#8220;Save Blocks&#8221; and there you have your new Blog Roll.</p>
<div class="plus-one-wrap"><g:plusone href="http://n3wt0n.com/blog/how-to-blog-roll-in-drupal/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://n3wt0n.com/blog/how-to-blog-roll-in-drupal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing color of directories list</title>
		<link>http://n3wt0n.com/blog/changing-color-of-directories-list/</link>
		<comments>http://n3wt0n.com/blog/changing-color-of-directories-list/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 22:30:44 +0000</pubDate>
		<dc:creator>kyle</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[change]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[directory]]></category>
		<category><![CDATA[dir_colors]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://n3wt0n.com/blog/?p=256</guid>
		<description><![CDATA[In addition to changing the layout/color of your terminal, you can also set the colors of directories as displayed within the terminal. This comes in handy when you are SSH&#8217;ing into a remote PC and the directories are showing up as dark blue against a black background. From within a terminal, copy the DIR_COLORS file [...]]]></description>
			<content:encoded><![CDATA[<p>In addition to changing the layout/color of your terminal, you can also set the colors of directories as displayed within the terminal. This comes in handy when you are SSH&#8217;ing into a remote PC and the directories are showing up as dark blue against a black background.</p>
<p>From within a terminal, copy the DIR_COLORS file into your home directory.</p>
<pre>cp /etc/DIR_COLORS ~/.dir_colors</pre>
<p><strong>ls</strong> will automatically look for the <strong>.dir_colors</strong> within your home directory. Open that up and look for the section that looks like this:</p>
<p># Text color codes:<br />
# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white<br />
FILE 00         # normal file<br />
DIR 01;36       # directory</p>
<p>Adjust the numbers to the appropriately matching color-codes (as defined just above that section). Now <strong>ls</strong> should display in the assigned colors.</p>
<div class="plus-one-wrap"><g:plusone href="http://n3wt0n.com/blog/changing-color-of-directories-list/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://n3wt0n.com/blog/changing-color-of-directories-list/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

