<?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>Biodegradable Geek &#187; Misc</title>
	<atom:link href="http://biodegradablegeek.com/category/misc/feed/" rel="self" type="application/rss+xml" />
	<link>http://biodegradablegeek.com</link>
	<description></description>
	<lastBuildDate>Tue, 22 Jun 2010 21:52:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Blackberry Desktop Software Released for Mac OS X</title>
		<link>http://biodegradablegeek.com/2009/10/blackberry-desktop-software-released-for-mac-os-x/</link>
		<comments>http://biodegradablegeek.com/2009/10/blackberry-desktop-software-released-for-mac-os-x/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 18:06:42 +0000</pubDate>
		<dc:creator>Isam</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[blackberry]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://biodegradablegeek.com/2009/10/blackberry-desktop-software-released-for-mac-os-x/</guid>
		<description><![CDATA[

Earlier today, RIM released Blackberry Desktop Software for Mac (10.5.5+ required). It lets you sync your iTunes music with your Blackberry, sync your contacts and appointments with &#8220;popular Mac applications,&#8221; add/remove apps, and transfer data between your Mac and BB.
This 26 meg app is nice, but RIM needs to get going on a Mac port [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://na.blackberry.com/eng/services/desktop/desktop_mac.jsp?1"><img src="http://biodegradablegeek.com/wp-content/uploads/2009/10/200910021404.jpg" width="400" height="346" alt="200910021404 Blackberry Desktop Software Released for Mac OS X"  title="Blackberry Desktop Software Released for Mac OS X" /></a></p>
<p>
Earlier today, RIM released <a href="http://na.blackberry.com/eng/services/desktop/desktop_mac.jsp?1">Blackberry Desktop Software</a> for Mac (10.5.5+ required). It lets you sync your iTunes music with your Blackberry, sync your contacts and appointments with &#8220;popular Mac applications,&#8221; add/remove apps, and transfer data between your Mac and BB.<br />
This 26 meg app is nice, but RIM needs to get going on a Mac port of their SDK. Sad considering most of it is just Java, with EXE wrappers. Fortunately there&#8217;s <a href="http://code.google.com/p/openberry/source/checkout">Openberry</a> and other workarounds.</p>
<div style="text-align: center;">
  <a href="http://na.blackberry.com/eng/services/desktop/desktop_mac.jsp?1"><img src="http://biodegradablegeek.com/wp-content/uploads/2009/10/Volumes_BlackBerry-Desktop-Manager-1.jpg" width="121" height="121" alt="_Volumes_BlackBerry Desktop Manager-1.jpg" title="Blackberry Desktop Software Released for Mac OS X" /></a>
</div>
]]></content:encoded>
			<wfw:commentRss>http://biodegradablegeek.com/2009/10/blackberry-desktop-software-released-for-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>External Links Being Hidden Behind Emoticons/Smilies</title>
		<link>http://biodegradablegeek.com/2009/07/external-links-being-hidden-behind-emoticonssmilies/</link>
		<comments>http://biodegradablegeek.com/2009/07/external-links-being-hidden-behind-emoticonssmilies/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 23:55:04 +0000</pubDate>
		<dc:creator>Isam</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[spyware]]></category>
		<category><![CDATA[workaround]]></category>

		<guid isPermaLink="false">http://biodegradablegeek.com/?p=500</guid>
		<description><![CDATA[Lately, I&#8217;ve noticed a lot of the spam comments on my blogs contain links concealed behind smilies. This helps you place any URL on a forum or a blog, without raising any red flags, as would happen if you blatantly add links to your posts or signature. It&#8217;s not obvious that this paragraph is just [...]]]></description>
			<content:encoded><![CDATA[<p>Lately, I&#8217;ve noticed a lot of the spam comments on my blogs contain links concealed behind smilies. This helps you place any URL on a forum or a blog, without raising any red flags, as would happen if you blatantly add links to your posts or signature. It&#8217;s not obvious that this paragraph is just here to build a <a href="http://en.wikipedia.org/wiki/Backlink" target="_blank">backlink</a> to another site <a href="http://incomezombie.com/?x=I_Click_Happy_Faces" target="_blank"><img class="plainimg" title="grin" src="/wp-content/uploads/2009/07/grin.gif" alt="grin External Links Being Hidden Behind Emoticons/Smilies" width="15" height="15" /></a></p>
<p>Why the hell would you want your links where humans don&#8217;t notice them? Because machines <i>do</i> notice them, and your purpose is to have as many sites link back to you as possible. This artificially raises the rank of a site in the search engines. Whether this method actually helps or not is questionable. It helps, especially if done on a big level, but the point of this post isn&#8217;t to discuss <a href="http://bluehatseo.com" target="_blank">SEO</a>. It&#8217;s to raise awareness of this what I&#8217;m noticing to be an increasingly common tactic.</p>
<p>This idea isn&#8217;t new. Adding URLs to a 1&#215;1 pixel transparent gif for tracking purposes is old and common, but this is now being used to build backlinks.</p>
<p>You can make this impossible by disabling UBB/HTML in your blog comments. Other methods include adding a border around smilies which are clickable.</p>
]]></content:encoded>
			<wfw:commentRss>http://biodegradablegeek.com/2009/07/external-links-being-hidden-behind-emoticonssmilies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Gmail Captcha is Optional</title>
		<link>http://biodegradablegeek.com/2009/06/gmail-captcha-is-optional/</link>
		<comments>http://biodegradablegeek.com/2009/06/gmail-captcha-is-optional/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 17:41:30 +0000</pubDate>
		<dc:creator>Isam</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Workarounds]]></category>
		<category><![CDATA[workaround]]></category>

		<guid isPermaLink="false">http://biodegradablegeek.com/?p=472</guid>
		<description><![CDATA[When you try to login with bad credentials, Gmail gives you a captcha to fill in before your next login attempt. Not only does this captcha appear randomly (keep putting in the wrong username and it will sometimes appear, sometimes not) (update: now it appears to be more consistent), but it&#8217;s also optional*. Just put [...]]]></description>
			<content:encoded><![CDATA[<p>When you try to login with bad credentials, Gmail gives you a captcha to fill in before your next login attempt. <span style="text-decoration: line-through;">Not only does this captcha appear randomly (keep putting in the wrong username and it will sometimes appear, sometimes not)</span> (<strong>update:</strong> now it appears to be more consistent), but it&#8217;s also <strong>optional</strong>*. Just put in your correct username and password, ignoring the captcha, and it will log you in.</p>
<p>I probably discovered this out of frustration, but for the past few months (or years) I thought it was something we all knew until I saw one of my friend&#8217;s enter the captcha value. I never actually stopped to think about why a captcha would be &#8220;optional&#8221; &#8211; it&#8217;s ridiculous, and I&#8217;m probably overlooking an obvious point to this.</p>
<div id="attachment_474" class="wp-caption alignright" style="width: 280px"><img class="size-full wp-image-474" title="gmail_username_correct" src="http://biodegradablegeek.com/wp-content/uploads/2009/06/gmail_username_correct.jpg" alt="Enter the correct name/pass and hit login" width="270" height="344" /><p class="wp-caption-text">Enter the correct name/pass and hit login</p></div>
<div id="attachment_475" class="wp-caption alignright" style="width: 280px"><img class="size-full wp-image-475" title="gmail_wrong_username" src="http://biodegradablegeek.com/wp-content/uploads/2009/06/gmail_wrong_username.jpg" alt="Seemingly random captcha" width="270" height="346" /><p class="wp-caption-text">Seemingly random captcha</p></div>
<p><em>* I&#8217;m not sure why, but some people are saying that they cannot login without entering the captcha. I&#8217;ve tried on Swiftweasel and Firefox 3.x/Opera 9.x and 10/Konqueror/Chrome on Linux, and on Safari on the Mac, and have never needed to enter the captcha. </em></p>
<p>Also worth mentioning, a lot of forms you get when you try to download something are optional. For example, if you try to download Mimer SQL, it gives you this form: http://developer.mimer.com/downloads/downloads_licens.tml?id=528 but you can just scroll down and hit the  download button without putting any info in.</p>
]]></content:encoded>
			<wfw:commentRss>http://biodegradablegeek.com/2009/06/gmail-captcha-is-optional/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Bash Tips for Power Users</title>
		<link>http://biodegradablegeek.com/2009/06/bash-tips-for-power-users/</link>
		<comments>http://biodegradablegeek.com/2009/06/bash-tips-for-power-users/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 19:22:14 +0000</pubDate>
		<dc:creator>Isam</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[List]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[getting things done]]></category>
		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://biodegradablegeek.com/?p=105</guid>
		<description><![CDATA[Every Geek site needs an obligatory Bash Tips post
Copy Files Securely Between Two Machines
I used to always forget the syntax for this, until I realized that the syntax is exactly like the standard cp command. In fact, you can copy files like you normally would using scp, on your local machine. The following are equivalent:

$ [...]]]></description>
			<content:encoded><![CDATA[<p>Every Geek site needs an obligatory Bash Tips post</p>
<h2><strong>Copy Files Securely Between Two Machines</strong></h2>
<p>I used to always forget the syntax for this, until I realized that the syntax is exactly like the standard <strong>cp</strong> command. In fact, you can copy files like you normally would using scp, on your local machine. The following are equivalent:</p>
<pre class="brush: bash;">
$ cp file file.orig
$ scp file file.orig
</pre>
<p>Where they differ is, <strong>scp</strong> lets you copy files over a network, through SSH. Here&#8217;s an example:</p>
<pre class="brush: bash;">
$ scp contents.txt silver@ssh.domain.com:/tmp
</pre>
<p>This will copy local file contents.txt to /tmp on the remote machine ssh.domain.com, as user silver. Here are some more examples:</p>
<pre class="brush: bash;">
$ scp draft.pdf ssh.domain.com:
</pre>
<p>(copy draft.pdf to my home dir on remote machine. username is implied to be the same locally and remotely.)</p>
<pre class="brush: bash;">
$ scp swine.jpg rex@ssh.domain.com
</pre>
<p>(<strong>read</strong>: This will copy swine.jpg to local machine as a file named rex@ssh.domain.com. To make it go remote, append a : to the address, like above)<strong> </strong></p>
<p><strong>scp</strong> supports, among other things, compression (-C) and recursive copying of directories (-r).<br />
<strong> </strong></p>
<pre class="brush: bash;">
$ scp -rC code/ ssh.domain.com:/archive/code_02032009
</pre>
<p><strong></strong></p>
<p>Trying to copy to a directory you don&#8217;t have permission to (/usr etc) will fail.</p>
<h2>Don&#8217;t Get Lost Jumping To and Fro Between Directories</h2>
<p>You can use <strong>cd -</strong> to jump to the previous (NOT parent) dir. For example:</p>
<pre class="brush: bash;">
kiwi@localhost: ~ $ cd /usr/local/share
kiwi@localhost: /usr/local/share $ cd -
/home/kiwi
kiwi@localhost: ~ $ cd -
/usr/local/share
kiwi@localhost: /usr/local/share $
</pre>
<p>Another way is using <strong>pushd/popd</strong> &#8211; A Last In First Out (LIFO) stack of dirs.</p>
<pre class="brush: bash;">
kiwi@localhost: ~ $ pushd /usr/local/share/
/usr/local/share ~
</pre>
<p><strong>pushd</strong> is like cd but keeps note of the current dir before cd&#8217;ing into a new one. The stack of dirs is listed every time you invoke <strong>pushd</strong> <em>(the &#8220;/usr/local/share ~&#8221; output you see above.)</em></p>
<pre class="brush: bash;">
kiwi@localhost: /usr/local/share $ pushd /
/ /usr/local/share ~
</pre>
<p>Stack is ordered left to right, latest push first. If we pop the first dir off:</p>
<pre class="brush: bash;">
kiwi@localhost: / $ popd
/usr/local/share /tmp ~
kiwi@localhost: /usr/local/share $
</pre>
<p>We&#8217;re back in the share dir. We can keep popping until there&#8217;s nothing left (throws an error):</p>
<pre class="brush: bash;">
kiwi@localhost: /usr/local/share $ popd
/tmp ~
kiwi@localhost: /tmp $ pushd /lib
/lib /tmp ~
kiwi@localhost: /lib $ popd
/tmp ~
kiwi@localhost: /tmp $ popd
~
kiwi@localhost: ~ $ popd
bash: popd: directory stack empty
</pre>
<h2>Working with Long Lines</h2>
<p>No need for more Bash shortcut <a href="http://cheat.errtheblog.com/s/bash/" target="_blank">cheat sheets</a>, but here are some useful ones to help you work with long lines.</p>
<p>You can jump to the <strong>start &amp; end</strong> of a line using <strong>CTRL+a &amp; CTRL+e</strong> respectively. Example (* is the cursor):</p>
<pre class="brush: bash;">
kiwi@localhost: ~ $ echo al the ducks are swimming in the w*
</pre>
<p>and you want to fix the first word. You can hop to the beginning of the line with <strong>CTRL+a</strong>:</p>
<pre class="brush: bash;">
kiwi@localhost: ~ $ *echo al the ducks are swimming in the w
</pre>
<p>and now you can jump to the end of the misspelled word &#8220;al&#8221; using <strong>CTRL+Right</strong> twice to correct it:</p>
<pre class="brush: bash;">
kiwi@localhost: ~ $ echo all*the ducks are swimming in the w
</pre>
<p>Now ctrl+e to jump to the end of line:</p>
<pre class="brush: bash;">
kiwi@localhost: ~ $ echo all the ducks are swimming in the w*
</pre>
<p>Instead of backspacing every character, use <strong>ALT+Backspace</strong> to backspace entire words. You can also delete <strong>all</strong> or part of a line using <strong>CTRL+u</strong> combo. It deletes everything before the cursor. Likewise, <strong>CTRL+k</strong> wipes out everything after the cursor. I&#8217;ve developed a habit of using CTRL+e CTRL+k to delete lines.</p>
<p>Bash has a lot of <strong>ALT</strong> commands that let you move and manipulate words. <strong>ALT+l</strong> and <strong>ALT+u</strong> will make a word in front of the cursor lowercase or uppercase, for example. A neat one I don&#8217;t think I ever used is ALT+\ It pulls everything after the cursor left to the first non-whitespace character. Here&#8217;s an example, * is the cursor:</p>
<p><strong>BEFORE:</strong></p>
<pre class="brush: bash;">
$ my     spacebar is    *sticky
</pre>
<p><strong>AFTER (ALT+\):</strong></p>
<pre class="brush: bash;">
$ my     spacebar issticky
</pre>
<h2>Avoid Retyping Commands &amp; Arguments</h2>
<p><strong>ESC + .</strong> is <span style="text-decoration: underline;">very</span> useful. Escape followed by a period will output the argument you sent to your last Bash command. Command calls themselves are outputted if they were invoked without any arguments <em>(popd, ls, etc).</em></p>
<p>Example, unzipping a file and moving the archive to /tmp:</p>
<pre class="brush: bash;">
$ unzip archive-with-a-long-ambiguous-name-03092009-5960-1.2.5.zip
$ mv archive-with-a-long-ambiguous-name-03092009-5960-1.2.5.zip /tmp
</pre>
<p>In the mv command, the archive name was outputted by pressing <strong>ESC+.</strong> (full command being mv (ESC+.) /tmp) There was no need to type the long archive name twice.</p>
<p>The argument is taken from your bash history. You can keep invoking ESC+. to cycle back through all your recent command arguments. (history -c to clear)</p>
<p>Try not to forget this; You&#8217;ll naturally find plenty of uses for it.</p>
<p>Another way to avoid re-typing commands is <strong>CTRL+R</strong>. It will initiate a search of your command history. Begin typing, and watch Bash try to complete your command from previous ones you entered.</p>
<h2>Command Getting Too Big? Send it to your Editor</h2>
<p>Sometimes you begin writing what you think will be a simple command, only to realize that it has grown too complex for the command line, and you wish you were in your text editor.</p>
<p>First make sure your default editor is set. This is either in $EDITOR (export EDITOR=/usr/local/bin/vim) or elsewhere depending on the distro.</p>
<p>Use &#8220;fc&#8221; to open the last executed command in your editor:</p>
<pre class="brush: bash;">
ls -paul --sort=size
... ls output ...
fc
</pre>
<p>Now the <em>ls</em> line will be open in your editor. But what if you hadn&#8217;t executed the command yet? No problem. You&#8217;re sending off an email, but quickly realize that the command line isn&#8217;t ideal for everything:</p>
<pre class="brush: bash;">
echo -e &quot;Dear Santa, \n\n\tIt has become evident that your fat ass is contributing to Global Warming, primarily due to the large quantity of coal you distribute annually. We hereby
</pre>
<p>No matter where you are on the line, hit <strong>CTRL+x, CTRL+e</strong> to invoke your editor, which now contains what you were typing on the cmd line.</p>
<p>I always find myself wanting to finish a command in vim, but unwilling to type the first few lines over, especially when I&#8217;m trying to write a for loop or any ugly multiline Bash code.</p>
<p><strong>IMPORTANT: Whatever you type in your editor is executed automatically after you quit the editor.</strong><br />
<span id="more-105"></span></p>
<h2>Multiple Commands on a Single Line</h2>
<p>There are a number of ways to piece together commands (||, pipes, etc), depending on your need, but sometimes, you just commands executed consecutively. You can use ; or &amp;&amp;.</p>
<p><strong>semicolon (;) vs AND (&amp;&amp;)</strong>: The semicolon will run through each command consecutively, whereas &amp;&amp; is a little smarter, and will not continue if a command does not end successfully (return 0 &#8211; you can check the return value of the last app ran with <strong>echo $?</strong>).</p>
<p>&amp;&amp; is generally safer. i.e., ./configure &amp;&amp; make (&amp;&amp; sudo make install)</p>
<p>AND</p>
<pre class="brush: bash;">
$ cp bogus &amp;amp;&amp;amp; echo &quot;** copied&quot;
cp: missing destination file operand after `bogus'
Try `cp --help' for more information.
</pre>
<p>SEMICOLON;</p>
<pre class="brush: bash;">
cp bogus; echo &quot;** copied... or did I? tun tun tunnn!&quot;
cp: missing destination file operand after `bogus'
Try `cp --help' for more information.
** copied... or did I? tun tun tunnn!
</pre>
<h2>Convert between DOS and UNIX ASCII files</h2>
<p>Sometimes you get a text file that has weird ^M characters in it. These are due to a difference in how Unix and Windows systems end lines. You can convert between these formats using <strong>unix2dos</strong> or <strong>todos</strong> and <strong>dos2unix</strong> or <strong>fromdos</strong>.</p>
<pre class="brush: bash;">
$ mkdir /tmp/rcfl
$ cd /tmp/rcfl
$ echo -e &quot;Justa Lonely\nASCII File&quot; &gt; out
$ file out
out: ASCII text
$ todos out
$ file out
out: ASCII text, with CRLF line terminators
$ vim out # notice [dos] flag in status bar, quit :q!
$ fromdos out
$ file out
out: ASCII text
</pre>
<h2>Background Processes</h2>
<p>Have a little more control over your apps.</p>
<p><strong>Stop Right Thurr</strong><br />
When a program is running in the foreground, you no longer have access to the command line. An example is &#8216;tail -f&#8217; or &#8216;ruby script/server&#8217;</p>
<p>You can have a running process pause for a sec with <strong>CTRL+z</strong>.<br />
Do your dirty work and then bring the app back to the foreground with <strong>fg</strong>.<br />
To list the processes you have paused, use <strong>jobs</strong></p>
<pre class="brush: bash;">
$ tail -f useful.log
00:00:50 User did something that was log-worthy
00:00:56 User did something that was log-worthy
00:00:57 User did something that was log-worthy

# (press CTRL+z)
[1]+  Stopped                 tail -f useful.log

$ echo &quot;look ma, I can type&quot;
look ma, I can type

$ fg
tail -f useful.log

# (press CTRL+z)
[1]+  Stopped                 tail -f useful.log

$ tail -f blah.tmp

# (press CTRL+z)
[2]+  Stopped                 tail -f blah.tmp

$ jobs
[1]-  Stopped                 tail -f useful.log
[2]+  Stopped                 tail -f blah.tmp
$ fg 1
(process [2] continues)
</pre>
<p><strong>In the Background</strong></p>
<p>You can have a process start in the background by appending to it a <strong>&amp;</strong>.<br />
and bring this to the foreground using <strong>fg [#]</strong>.<br />
As before, jobs will list background processes, but with status <em>Running</em> instead of <em>Stopped</em>.</p>
<p>Programs running in the background will still output to stdout, which means they&#8217;ll make the shell ugly. So if you plan on using them, think about redirecting the output.</p>
<h2>Bash Redirection</h2>
<p>Some things are mentioned on nearly every &#8216;bash tips&#8217; page &#8212; like redirecting output. Here are the basics. We&#8217;re concerned with 2 I/O streams: STDOUT and STDERR. STDOUT has a value of 1, and it is the screen. If a program writes to stdout, that text is shown in the console. Errors are sent through a different stream, stderr, which has a value of 2. Value 0 is stdin, used for user input. The technical details aren&#8217;t important. Just remember that 1 is screen and 2 is error.</p>
<p>There&#8217;s a number of ways to redirect output:</p>
<pre class="brush: bash;">
$ echo &quot;asdfasdf&quot; 1&gt; /tmp/asdf.txt # overwrite existing file
$ echo &quot;asdfasdf&quot; &gt; /tmp/asdf.txt # (same, 1 is default, optional)
$
$ echo &quot;32452345&quot; &gt;&gt; /tmp/asdf.txt # append to end of existing file*
$ echo &quot;wash the dishes&quot; &gt; /dev/null # just ignore output
$ echo &quot;wash the dishes&quot; 2&gt; /dev/null # just ignore errors
$
$ more 1&gt; /dev/null # error still shown
$ more 2&gt; /dev/null # nothing shown
$ more &amp;&gt; /dev/null # nothing shown
$
$ more 2&gt;| /dev/null # silence errors
$ more &gt;| /tmp/more.txt # save output to file
$
$ more 1&gt; /tmp/more.txt 2&gt;&amp;1 # redirect stdout to file and redirect stderr to stdout (same file)
$ more 2&gt; /tmp/more.txt 1&gt;&amp;2 # have stdout follow stderr to file
</pre>
<p>To redirect output to a file &amp; screen, use <strong>tee</strong></p>
<pre class="brush: bash;">
$ echo &quot;dont forget the milk&quot; | tee /tmp/toforget.txt
</pre>
<p>More a more extensive guide on redirection, see <a href="http://tldp.org/LDP/abs/html/io-redirection.html" target="_blank">Bash IO Redirection</a> or some of the External Links below.</p>
<h2>Art of teh Alias</h2>
<p>I use a lot of aliases. Here are a few:</p>
<pre class="brush: bash;">
# I use these a lot. Can also have aptupdate, aptremove etc...
alias aptinstall='sudo apt-get install'
alias aptsearch='apt-cache search'
alias suvim='sudo vim'

# Aliasing command names. To use original commands, you'd need to specify absolute path.
alias a2restart='sudo apache2ctl restart'
alias gem='sudo gem'
alias checkinstall='sudo checkinstall'

# I used these to workaround the infamous FF memory leak (ugly)
# alias swapoff='sudo swapoff'
# alias swapon='sudo swapon'

# Going places. This + ssh keypair
alias macbookshell='ssh 192.168.1.17'
alias workshell='ssh meh@ssh.domain.com'

# Pretty output. (--group-directories-first might not work on your system).
alias lsf='ls -hAlF --group-directories-first --color=always --time-style=+&quot; %m/%d/%y %I:%M %p &quot;'

# List only directories
alias lsd='ls -d */'

# I'm a measly human!
alias free=&quot;free -m&quot;

# 'gimme x' is equivalent to 'sudo chown me.me x'
# alias gimme=&quot;ME6=`whoami` &amp;amp;&amp;amp; sudo \&quot;chown $ME6.$ME6\&quot;&quot;

# Usage: nullminate bloated-file.log
alias nullminate=&quot;cat /dev/null &gt; &quot;

# Search contents of an entire dir. Usage: scan &quot;PESKY_VARIABLE ?=&quot; project-123/
alias scan=&quot;grep -Rin --color&quot;
</pre>
<p>These should go in a ~/.bash_aliases file and invoked from within your user conf (.bashrc?)</p>
<p><!--<br />
screen<br />
public keys<br />
sub sections (shortcuts, history, redirection)<br />
--></p>
<p><strong>External links (related): </strong></p>
<ul>
<li><a href="http://www.caliban.org/bash/" target="_blank">Working more productively with bash 2.x/3.x</a></li>
<li><a href="http://www.hypexr.org/bash_tutorial.php" target="_blank">Getting Started with BASH</a></li>
<li><a href="http://www.wains.be/index.php/2007/11/26/bash-tips-and-tricks/" target="_blank">Bash Tips &amp; Tricks</a></li>
<li><a href="http://hacktux.com/bash/script/efficient" target="_blank">10 Tips for Writing Efficient Bash Scripts</a></li>
<li><a href="http://www.linuxtutorialblog.com/post/tutorial-the-best-tips-tricks-for-bash" target="_blank">Best Tips &amp; Trips for Bash</a></li>
<li><a href="http://linuxhelp.blogspot.com/2005/08/bash-shell-shortcuts.html" target="_blank">Bash Shell Shortcuts</a></li>
<li><a href="http://bashish.sourceforge.net/" target="_blank">Bashish</a></li>
<li><a href="http://www.davidpashley.com/articles/writing-robust-shell-scripts.html" target="_blank">Writing Robust Shell Scripts</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://biodegradablegeek.com/2009/06/bash-tips-for-power-users/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Do You Keep Old Programming Books?</title>
		<link>http://biodegradablegeek.com/2009/06/do-you-keep-old-programming-books/</link>
		<comments>http://biodegradablegeek.com/2009/06/do-you-keep-old-programming-books/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 21:08:30 +0000</pubDate>
		<dc:creator>Isam</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[books]]></category>

		<guid isPermaLink="false">http://biodegradablegeek.com/?p=445</guid>
		<description><![CDATA[I knew HTML and learned ActionScript (actually ActionScript wasn&#8217;t out yet. Flash only had basic scripting support) , and around 1999 I wanted to learn Javascript. I ended up getting a book on Java, thinking it was Javascript. It didn&#8217;t take more than a day to figure out they&#8217;re completely different languages, but for some [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_448" class="wp-caption alignright" style="width: 360px"><a href="http://www.flickr.com/photos/osiatynska/3287986172/" target="_blank"><img class="size-full wp-image-448" title="Photo by ailatan (flickr)" src="http://biodegradablegeek.com/wp-content/uploads/2009/06/ailatan_flickr_books.jpg" alt="Photo by ailatan (flickr)" width="350" height="350" /></a><p class="wp-caption-text">Photo by ailatan (flickr)</p></div>
<p>I knew HTML and learned ActionScript (actually ActionScript wasn&#8217;t out yet. Flash only had basic scripting support) , and around 1999 I wanted to learn Javascript. I ended up getting a book on Java, thinking it was Javascript. It didn&#8217;t take more than a day to figure out they&#8217;re completely different languages, but for some reason, I kept the book anyway. $30 was a lot of money at the time. I could of bought a used Playstation game, or saved it towards what would become the <a href="http://en.wikipedia.org/wiki/Dreamcast" target="_blank">greatest console of all time</a>, released 9/9/99. But &#8211; the book will be useful eventually, I told myself, and with that, on my bookshelf it went.</p>
<p>Today I walked by my bookshelf and there it was: Teach Yourself Java. The last time I opened this book was the day after I bought it, sometime in 1999. Even if I keep it, if I&#8217;d like to learn Java now, I would buy a new book anyway.</p>
<p>A lot of us keep books. Seeing our library physically grow feels good, even if we haven&#8217;t read most of the books in it, because we will eventually, right? Keeping reference books is one thing (though I never use mine, what with <a href="http://cheat.errtheblog.com/" target="_blank">cheat</a> and <a href="http://en.wikipedia.org/wiki/Internet" target="_blank">all</a>) but most books should be traded or given away. Technical books especially, not only because they&#8217;re expensive, but because unlike novels and most other types of books, they become obsolete. But unless you seriously plan on re-reading them, even books that are cheap and timeless should be traded or given away.</p>
<p>Who doesn&#8217;t love a book fair? or going through a big box of books in a garage sale? If we all horde books, who would keep this circle going? So what can you do with your old books instead?<br />
<span id="more-445"></span><br />
You can borrow books from the library instead of buying them. Not only does not pack ratting books save space, but the deadline of having to give it back provides an incentive to begin reading them ASAP. If I&#8217;m shopping online I tend to buy dozens of books at a time, become overwhelmed when they get here, and then not start a single one. Interestingly, the last 2-3 books I&#8217;ve read (and the one <a href="http://www.amazon.com/Happiness-Science-behind-Your-Smile/dp/product-description/0192805592" target="_blank">I&#8217;m reading now</a>) have all been from the library, even though I have ~20 unread books I purchased months ago.</p>
<p>You can still keep track of what you&#8217;ve read by using services/apps like <a href="http://books.livingsocial.com/" target="_blank">LivingSocial</a> or <a href="http://www.shelfari.com/" target="_blank">Shelfari</a> &#8211; or something simpler like your Amazon account or just an Excel or text file.</p>
<h2>What Can You Do With Old Books?</h2>
<p>One interesting thing people do is to just leave the book in a public place for somebody else to come and pick up. Unfortunately, while it sounds interesting, this isn&#8217;t recommended. Books left on the bus, train, a taxi or park bench might get trashed or destroyed more likely than they are to land in an interested prospect&#8217;s hands.</p>
<ul>
<li>Books can be given to your local library, or perhaps a college or used book stores.</li>
<li>Sell them online (Craigslist) or at your (neighbor&#8217;s) garage sale.</li>
<li>Join a site like <a href="http://www.bookcrossing.com" target="_blank">BookCrossing.com</a> or <a href="http://www.readitswapit.co.uk/TheLibrary.aspx" target="_blank">ReadItSwapIt.co.uk</a> where people swap books they&#8217;ve read. Also see <a href="http://www.greenmetropolis.com/" target="_blank">Green Metropolis</a></li>
</ul>
<p>Interesting post: <a href="http://www.guardian.co.uk/books/2005/oct/29/featuresreviews.guardianreview8" target="_blank">Desert Island Bookshelf</a> | <a href="http://socialbookshelf.org/" target="_blank">SocialBookshelf</a></p>
]]></content:encoded>
			<wfw:commentRss>http://biodegradablegeek.com/2009/06/do-you-keep-old-programming-books/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>4 Do-It-Yourself Whiteboard Alternatives</title>
		<link>http://biodegradablegeek.com/2009/04/4-do-it-yourself-whiteboard-alternatives/</link>
		<comments>http://biodegradablegeek.com/2009/04/4-do-it-yourself-whiteboard-alternatives/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 01:58:36 +0000</pubDate>
		<dc:creator>Isam</dc:creator>
				<category><![CDATA[List]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[workaround]]></category>

		<guid isPermaLink="false">http://biodegradablegeek.com/?p=165</guid>
		<description><![CDATA[
Whiteboards are as useful as they are overpriced. I built one using tileboard (the thing they use in bathrooms), and I highly recommend making/buying one. It took me awhile to find tileboard in my area. In case anyone has the same problem, here are 4 alternatives I considered:
They are not in any specific order. 
Glass [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://biodegradablegeek.com/wp-content/uploads/2009/04/post_it_note_wall_by_rainbowcookee-300x225.jpg" alt="post it note wall by rainbowcookee 300x225 4 Do It Yourself Whiteboard Alternatives" title="post_it_note_wall" width="300" height="225" class="alignright size-medium wp-image-419" /><br />
Whiteboards are as useful as they are overpriced. I built one using tileboard (the thing they use in bathrooms), and I highly recommend making/buying one. It took me awhile to find tileboard in my area. In case anyone has the same problem, here are 4 alternatives I considered:</p>
<p><em>They are not in any specific order. </em></p>
<h2>Glass or Plexiglas</h2>
<p>Anything Expo markers can write on may be used as a board surface. This means a piece of glass, or <a href="http://en.wikipedia.org/wiki/Acrylic_glass" target="_blank">acrylic glass (Plexiglas)</a>, placed over a bright white surface it (i.e., a wall or table). Glass actually works pretty well in terms of eligibility and clean up, but it&#8217;s heavy, has sharp edges and cannot be drilled into (easily). It&#8217;s also not cheap.</p>
<p>Plexiglas works well, but I heard some dry erase Expo markers have problems coming off. Research this before trying Plexiglas. <strong><a href="http://harleyjcooper.com/2007/02/02/my-expo-markers-story/" target="_blank">Never use Acetone to clean Plexiglas</a></strong> (or any plastic). </p>
<p>Plexiglas might be a hassle to cut. Sawing at a high speed, be it power or manual, might cause the edge to melt and stick back together between each cut. It&#8217;s usually cut underwater ( don&#8217;t try putting a power saw in your bathtub). </p>
<p>What I did was use a regular hack saw, and had my friend shoot the area I was sawing with a <strong>water gun</strong> to cool it between each cut. A water gun.</p>
<p>Both glass and plexiglass have the advantage of letting you make overlays (assuming they are translucent). You can put anything behind this <em>board</em>, as opposed to having an all white surface. Some examples I&#8217;ve seen are adding templates like a blank calendar or checklist behind the glass.</p>
<p>If you put some work into it, this can be a nice, cheap setup.</p>
<h2>Chalkboard or Chalkpaper</h2>
<p>Chalkboards are cheaper than whiteboards, and even cheaper if you go the DIY route and make one using chalk paper. Chalk paper is basically a rough surface you can buy in rolls, which can be written on using standard chalk. Which means.. hopscotch in the office!</p>
<p>Chalkboards have great contrast, and chalk is dirt cheap compared to dry/wet erase markers (unless you steal those from your local college). The problem, and it&#8217;s a big one, is chalk dust. Chalk dust in a small room or office make this route unacceptable for most people. There is &#8220;anti-dust&#8221; / dust-free chalk, but dust can still be a problem if you don&#8217;t have good ventilation.<br />
<span id="more-165"></span></p>
<h2>Paper Whiteboard, or Just Paper</h2>
<p>Paper. Big paper. There exists huge books of pages that you hang up on the wall, meant to act as a huge Post-It book. I&#8217;ve seen these sold at Michael&#8217;s. An alternative is to just hang up a big sketch book, but that might get expensive. Paper has plenty of advantages&#8230;</p>
<p>You can write on a page using a pen, pencil, markers, crayons, blood etc. It&#8217;s flexible and mobile; You can detach papers for storage or to just generally move around, tear in two, etc. Clean up is as easy as curling up a huge piece of paper and shooting a basket.</p>
<p>The cons? Erasing is a nuisance (and only possible if you use a pencil or erasable pen), and the entire thing is meant to be disposable, making this a a recurring expense. This might mean you will end up squeezing as much content on each page as you can to save money. </p>
<p>I&#8217;ve seen &#8220;paper whiteboards&#8221; at IKEA &#8211; but with a short stand, designed for children. You get far less cool points hanging up paper than you would having a <em>real</em> (looking) whiteboard in your house. </p>
<h2>DIY Digital / Touch Whiteboard</h2>
<p>Expensive from scratch, but you might be able to use what you have around the house to hack up a nice digital whiteboard; One great example is the <a href="http://www.google.com/search?q=wiimote+whiteboard" target="_blank">Wiimote Whiteboard</a>:</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/5s5EvhHy7eQ&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/5s5EvhHy7eQ&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>If you can find tileboard, I suggest using that instead. It&#8217;s cheap and it works well. You can probably cover an entire wall for $20. These alternative methods are OK, and in some cases might even be great, but they&#8217;re no match for a &#8216;real&#8217; whiteboard, or one made of tileboard. </p>
<p><em><a href="http://rainbowcookee.deviantart.com/art/Post-It-Note-Wall-82626130" target="_blank">* Post-It Wall pic by RainBowCookee</a></em></p>
]]></content:encoded>
			<wfw:commentRss>http://biodegradablegeek.com/2009/04/4-do-it-yourself-whiteboard-alternatives/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Burning Xbox 360 Games on Linux (Stealth!)</title>
		<link>http://biodegradablegeek.com/2009/03/burning-xbox-360-games-on-linux-stealth/</link>
		<comments>http://biodegradablegeek.com/2009/03/burning-xbox-360-games-on-linux-stealth/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 05:20:02 +0000</pubDate>
		<dc:creator>Isam</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Workarounds]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[piracy]]></category>
		<category><![CDATA[workaround]]></category>

		<guid isPermaLink="false">http://biodegradablegeek.com/?p=361</guid>
		<description><![CDATA[
You could run ImgBurn in Wine, or probably burn the games in VirtualBox running Windows, but that&#8217;s no solution&#8230; you&#8217;re reading this because you want to burn Xbox 360 games on Linux using native tools. It&#8217;s surprisingly easy!
The games are usually an ISO file, along with a little DVD (.dvd) file that tells the burner [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://biodegradablegeek.com/wp-content/uploads/2009/03/xbox360-bg.jpg" alt="xbox360 bg Burning Xbox 360 Games on Linux (Stealth!)" title="xbox360-bg" width="300" height="290" class="alignright plainimg size-full wp-image-367" /><br />
You could run ImgBurn in Wine, or probably burn the games in VirtualBox running Windows, but that&#8217;s no solution&#8230; you&#8217;re reading this because <strong>you want to burn Xbox 360 games on Linux using native tools</strong>. It&#8217;s surprisingly easy!</p>
<p>The games are usually an ISO file, along with a little DVD (.dvd) file that tells the burner to use a layer break value of 1913760. This file is not necessary in Linux (or Windows) as we will be telling the app to use that break value explicitly.</p>
<p><strong>I will go into detail on how to setup what you need. If you&#8217;re impatient, you might wanna skip the setup and jump straight to the <a href="#quickie">quick recap</a>.</strong></p>
<p><strong>Extract the ISO</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>games<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">360</span><span style="color: #000000; font-weight: bold;">/</span>GameX
rar  x kfc-gamex.part01.rar</pre></div></div>

<p>If you don&#8217;t have rar (&#8220;winrar&#8221;) installed, lookie:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">The program 'unrar' can be found in the following packages:
 * unrar-free
 * unrar
Try: sudo apt-get install &lt;selected package&gt;</pre></div></div>

<p>you can also DL it from <a href="http://rarlabs.com">rarlabs.com</a>.</p>
<p>Now we need to see if the game is stealth/valid. This is done using an app that runs natively on Linux (and OS X) called <strong>abgx360</strong>. </p>
<h2>Install abgx360</h2>
<p><img src="http://biodegradablegeek.com/wp-content/uploads/2009/03/abgx360-linux.png" alt="abgx360 linux Burning Xbox 360 Games on Linux (Stealth!)" title="abgx360-linux" width="695" height="112" class="size-full wp-image-365" /></p>
<p>Download the tar.gz files from <a href="http://abgx360.net/download.html">http://abgx360.net/download.html</a>. The TUI is nice. Don&#8217;t bother getting the GUI for abgx360.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-zxvf</span> abgx360-1.0.0.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> abgx360-1.0.0<span style="color: #000000; font-weight: bold;">/</span>
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> checkinstall <span style="color: #660033;">-D</span></pre></div></div>

<p>(You may use &#8216;make install&#8217; but this is not recommended on Debian/Ubuntu. checkinstall keeps your shit organized.)</p>
<p><em>If ./configure fails with an error about wx-config/wxWidgets, make sure wxWidgets is installed..</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-cache</span> search wxgtk2</pre></div></div>

<p><em>and make sure wx-config is in your PATH. On Ubuntu Intrepid, it wasn&#8217;t. Find it and make a symlink to something in your path.. i.e., </em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">locate</span> wx-config <span style="color: #666666; font-style: italic;"># (finds it in /etc/alternatives/wx-config)</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>alternatives<span style="color: #000000; font-weight: bold;">/</span>wx-config <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>wx-config</pre></div></div>

<p><em>Rerun ./configure/make/checkinstall</em></p>
<p>If you downloaded the local database (abgx360-data) from the site above, install it now; Just extract and move the .abgx360/ dir into your ~/ </p>
<h2>Checking ISO CRC/SS &#8211; Is the game stealth?</h2>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">abgx360 <span style="color: #660033;">-af3</span> kfc-gamex.iso</pre></div></div>

<p>the af3 flag will automagically fix/patch the ISO should it encounter any problems.<br />
What abgx360 will do is check the ISO&#8217;s CRC against an online (or offline, ~/.abgx360/) database. It might begin by updating its database. If this is a problem (no net connection), pass it -localonly</p>
<p>When that&#8217;s done&#8230;</p>
<h2>Burning the ISO Using growisofs</h2>
<p>Making sure the dual layer DVD is in your drive, run the following command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># growisofs -use-the-force-luke=dao -use-the-force-luke=break:1913760  -dvd-compat -speed=4 -Z /dev/burner=kfc-gamex.iso</span></pre></div></div>

<p>I commented it out so you don&#8217;t execute it trying to paste it. Let&#8217;s look closer at this command&#8230;</p>
<p>The <strong>break:1913760</strong> is the layer break, which you&#8217;ll find in the .dvd file. If for whatever reason you can&#8217;t check the .dvd file, just use this value. </p>
<p>Set your speed to something low. Some say 2.5x but I have no problems burning at 4X (my max is 8X). You don&#8217;t need to know the lowest speed your burner can go. Just set it to 2-4 and you&#8217;ll be fine.</p>
<p><strong>Set /dev/burner to your own device.</strong> It&#8217;s probably /dev/scd0, /dev/scd1, or may already have a symlink like /dev/dvd6 /dev/dvd etc..</p>
<h3>Try grepping dmesg to find your device. i.e., </h3>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">dmesg</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #ff0000;">&quot;LITE&quot;</span></pre></div></div>

<h3>This might give you some information but probably nothing too helpful: </h3>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> dvdrecord <span style="color: #660033;">-scanbus</span></pre></div></div>

<h3>To see if you have the right device, try ejecting it. </h3>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">eject <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>dvd6</pre></div></div>

<p>Set the kfc-gamex.iso to whatever the name/path of your ISO is (case sensitive of course). </p>
<p>Now I usually begin with a dry run. By passing <em>-dry-run</em> to growisofs, it will proceed as normal but quit before writing anything to disk. Actually, it kind of just spits out a command and dies. Awful design! i.e.,</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ growisofs <span style="color: #660033;">-dry-run</span> <span style="color: #660033;">-use-the-force-luke</span>=dao <span style="color: #660033;">-use-the-force-luke</span>=<span style="color: #7a0874; font-weight: bold;">break</span>:<span style="color: #000000;">1913760</span>  <span style="color: #660033;">-dvd-compat</span> <span style="color: #660033;">-speed</span>=<span style="color: #000000;">4</span> <span style="color: #660033;">-Z</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">burner</span>=kfc-gamex.iso
Executing <span style="color: #ff0000;">'builtin_dd if=kfc-bh5.iso of=/dev/dvd6 obs=32k seek=0'</span>
$</pre></div></div>

<p>So the above is good. Now remove the -dry-run flag to proceed with the actual burn.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">growisofs -use-the-force-luke=dao -use-the-force-luke=break:1913760  -dvd-compat -speed=4 -Z /dev/burner=kfc-gamex.iso</pre></div></div>

<p>Find something to do, or just stare at the screen. After about 20 minutes (at 4X), you&#8217;ll see the burn end successfully with output like this:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;"> 7798128640/7835492352 (99.5%) @3.8x, remaining 0:06 RBU 100.0% UBU  99.8%
 7815495680/7835492352 (99.7%) @3.8x, remaining 0:03 RBU  59.7% UBU  99.8%
 7832862720/7835492352 (100.0%) @3.8x, remaining 0:00 RBU   7.9% UBU  99.8%
builtin_dd: 3825936*2KB out @ average 3.9x1352KBps
/dev/burner: flushing cache
/dev/burner: closing track
/dev/burner: closing disc</pre></div></div>

<p>You&#8217;re done! </p>
<p><a name="quickie"><br />
<h2>Quick Recap</h2>
<p></a><br />
Assuming you installed all the dependencies above, here&#8217;s a quick recap of what needs to be done to burn a game.<br />
It really takes about 1 minute to begin the process. Write a shell script if you like.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> GameX_REGION_FREE_XBOX360_KFC<span style="color: #000000; font-weight: bold;">/</span>
rar x kfc-gamex.part01.rar <span style="color: #666666; font-style: italic;"># Extract game ISO </span>
abgx360 <span style="color: #660033;">-af3</span> kfc-gamex.iso <span style="color: #666666; font-style: italic;"># Checks if rip is valid/stealth/ss patched</span>
growisofs <span style="color: #660033;">-use-the-force-luke</span>=dao <span style="color: #660033;">-use-the-force-luke</span>=<span style="color: #7a0874; font-weight: bold;">break</span>:<span style="color: #000000;">1913760</span>  <span style="color: #660033;">-dvd-compat</span> <span style="color: #660033;">-speed</span>=<span style="color: #000000;">4</span> <span style="color: #660033;">-Z</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">burner</span>=kfc-gamex.iso
eject <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>burner <span style="color: #666666; font-style: italic;"># When burn is done, eject &amp; play.</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://biodegradablegeek.com/2009/03/burning-xbox-360-games-on-linux-stealth/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
		<item>
		<title>Blackberry Bold 9000 vs Curve 8900</title>
		<link>http://biodegradablegeek.com/2009/02/blackberry-bold-9000-vs-curve-8900/</link>
		<comments>http://biodegradablegeek.com/2009/02/blackberry-bold-9000-vs-curve-8900/#comments</comments>
		<pubDate>Sat, 21 Feb 2009 09:07:08 +0000</pubDate>
		<dc:creator>Isam</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[blackberry]]></category>
		<category><![CDATA[phones]]></category>
		<category><![CDATA[reviews]]></category>

		<guid isPermaLink="false">http://biodegradablegeek.com/?p=329</guid>
		<description><![CDATA[Phones aren&#8217;t something I&#8217;ve been into, and not something I ever wrote about (or ever planned to), but I feel this post will be helpful to many people choosing between these two devices, and out of all my sites, I feel this is the most relevant one I can throw this post up on. I&#8217;ll [...]]]></description>
			<content:encoded><![CDATA[<p>Phones aren&#8217;t something I&#8217;ve been into, and not something I ever wrote about (or ever planned to), but I feel this post will be helpful to many people choosing between these two devices, and out of all my sites, I feel this is the most relevant one I can throw this post up on. I&#8217;ll  primarily stick to the main points I noticed, and on practical use, rather than on the specific technical differences between each Blackberry.</p>
<p>Hard choice, but comes down to two points. Do you really need 3G? and are you willing to switch carriers or do you want to stick with your current one?</p>
<h2>The Blackberry Curve 8900</h2>
<h3>Build / Form Factor</h3>
<p>It might not be noticeable in the pics, but the 8900 has a much better build than the Bold. The  device is physically smaller and more comfortable to carry with one hand (the Bold must feel like a <a href="http://farm3.static.flickr.com/2413/2261090761_37df9ec7c5.jpg?v=0" target="_blank">classic Gameboy</a> to people with small hands), letting you type with one hand comfortably.<br />
<img class="alignright size-full wp-image-330" title="blackberry-curve-8900-1" src="http://biodegradablegeek.com/wp-content/uploads/2009/02/blackberry-curve-8900-1.jpg" alt="blackberry curve 8900 1 Blackberry Bold 9000 vs Curve 8900" width="270" height="180" /><br />
The trackball is solid and much more accurate than the Bold&#8217;s, which feels flimsy and feels worn out after a few days. If you have a bold and hold it up to your ear and keep tapping the trackball without actually pressing it down, you&#8217;ll notice it makes a sound kind of like the sound your keyboard makes when you tap it without actually pressing it down. This isn&#8217;t much of a problem and not something I notice in practice, but it does feel <em>cheap</em>. The 8900s also feels perfect at the default sensitivity (70).</p>
<p>The keyboard buttons are raised higher than the bold and are physically separated. The keys aren&#8217;t as slippery and it&#8217;s much harder to mistype. They also feel &#8216;heavier&#8217; and nicer to push overall. Having the numbers in red on the 8900 (all white on the Bold) is also a nice touch, but while I prefer the 8900&#8217;s keyboard, I have absolutely no problems with the Bold&#8217;s after getting used to it.</p>
<p>RIM definitely took issues present in the Bold into account when designing the 8900. The right convenience button (camera by default) on the 8900 must be pressed down harder and held down longer before the camera application is invoked. This gets rid of the annoying &#8220;could not start camera&#8221; error or pitch black pictures of your pocket that occur when the camera shortcut key is pressed down accidently on the Bold.</p>
<p>This might just be me, but on the Bold, my index finger tends to naturally get in the way of the camera when I&#8217;m taking pics. I need to be aware of it and intentionally keep it out of the way. This doesn&#8217;t happen on the 8900. Speaking of cameras&#8230;<span id="more-329"></span></p>
<h3>Camera</h3>
<p>The camera on the 8900 has 3.2 megapixels (compared to the Bold&#8217;s 2 MP) and autofocus. It doesn&#8217;t sound like a big improvement, but it&#8217;s huge when you see pictures side by side. Pictures taken on the 9000 look grainy, like a traditional camera phone pic, and the color temperature is off even with the white balance set to auto.</p>
<p>If you don&#8217;t use your phone for snapping pics, apps like <a href="http://na.blackberry.com/eng/devices/features/social/flickr.jsp" target="_blank">Flickr for Blackberry</a> and the <a href="http://na.blackberry.com/eng/devices/features/social/facebook.jsp" target="_blank">Facebook Blackberry app</a>, might change that habit. You&#8217;d be glad you chose the 8900 vs the 9000 anytime you&#8217;re stuck without your SLR and need to capture a moment.</p>
<h3>Screen</h3>
<p>The screen on the 8900 is slightly smaller than the Bold. It also has a longer ratio compared to the Bold&#8217;s wide screen. It&#8217;s hard to say which is better, but using bothdevices,  I prefer looking at the 8900, especially when reading. The resolution is higher (480&#215;360 vs 480&#215;320) and the screen color temperature is richer. Text is sharper on the 8900, and colors look more natural than on the 9000. Overall, both screens are amazing, and some may opt for a slightly larger screen than a smaller one at a higher resolution.</p>
<h3>Battery</h3>
<p>The battery on the 8900 lasts a few hours longer than the Bold, but it may last significantly more depending on how you use your BB. I like having a lot of apps open and I use the blackberry a lot, for IRC, browsing, email, AIM, etc. The Bold&#8217;s 3G antenna (which cannot be turned off)  saps a lot of power, as does its slightly faster processor.</p>
<h3>Battery Cover</h3>
<p>The 8900 doesn&#8217;t have the leather plate on the back (though eventually we might see 3rd party battery covers featuring this). The chrome battery cover on the 8900 looks good and feels sturdy, and many people prefer this to the leather. I personally prefer the leather battery cover on the 9000. <strong>It has a more CEO-of-a-fortune-500-company vibe to it.<br />
</strong></p>
<h3>Other</h3>
<p>The 8900 comes with 256 megs of RAM compared to the 9000. This might result in better performance in some apps against the Bold&#8217;s 128 megs of RAM and faster processor.</p>
<p>Both are small as hell for storing media and you&#8217;ll wanna upgrade ASAP.</p>
<p><em>Never buy the memory card from the phone retailer. Tmobile here charges $40 for a 2 gig micro SD card. AT&amp;T charges $25. My bro got his from Radioshack for$8 (probably with a friend&#8217;s discount).<br />
</em></p>
<h2>The Blackberry Bold 9000</h2>
<h3>Carriers</h3>
<p>First and most important in your decision on which BB to get: carriers. Here in New York, the 8900 is only available at T-Mobile (and soon Verizon), and the Bold is only available with AT&amp;T. YMMV here, but AT&amp;T has significantly better coverage and a higher voice quality. As a consumer, AT&amp;T just feels more mature and better to do business with. It&#8217; s the small things like offering insurance for $2 cheaper and giving you twice as long to opt-in for it as T-Mobile (30 days vs 14 days), more competent tech support and less time on hold, etc.<img class="alignright size-full wp-image-331" title="blackberry-bold-9000" src="http://biodegradablegeek.com/wp-content/uploads/2009/02/blackberry-bold-9000.jpg" alt="blackberry bold 9000 Blackberry Bold 9000 vs Curve 8900" width="282" height="258" /></p>
<p>A big reason I migrated over from T-Mobile was because T-Mobile&#8217;s website sucks. I avoided T-Mobile&#8217;s site so often I missed payments. The site reminds me of GoDaddy. Promos and prominent colors (pink?!) all over the place competing for my attention.</p>
<p>In T-Mobile&#8217;s defence, their prices are usually much cheaper than AT&amp;T. Also, T-Mobile has excellent coverage, be it as good as AT&amp;T or not, and the 8900 supports UMA.</p>
<p>In regard to carriers, you might want to go with a carrier that has a lot of authorized branches in your area. This can make service/repair/upgrades less of a hassle later on.</p>
<h3>Processor</h3>
<p>The bold has a faster processor. This might be something to consider if you use your BB like you use your laptop (having lots of stuff open), though having twice as much RAM (8900 has 256, bold 128) would be better in some cases, I didn&#8217;t notice much of a difference in performance in practice.</p>
<p>I did notice AIM and MSN crash (raised exceptions) a few times when there were too many things open on the 8900. &#8220;Too many things&#8221; included far more than you would practically have open in a real life setting. We&#8217;re talking a few games, the browser, a video etc open simultanously. I can&#8217;t confirm that this is what caused AIM or MSN to halt for a bit and then crash, but it&#8217;s just a pattern I&#8217;m beginning to notice. It doesn&#8217;t always happen and will probably be addressed in the next OS patch/release. I&#8217;m going to migrate away from the official AIM client and into <a href="http://www.beejive.com/" target="_blank">BeeJive</a> when I find <span style="text-decoration: line-through;">a torrent</span> $20.</p>
<h3>3G support<strong><br />
</strong></h3>
<p>3G support is great, but it&#8217;s something I noticed I can live without because I usually do most of my major web browsing when I&#8217;m close to wifi anyway. The only time I really wish I had 3G when I&#8217;m on the Curve is when I&#8217;m using Google Maps. It takes a little longer to load, but this con doesn&#8217;t outweigh the other pros the 8900 offers. If you plan on tethering Internet to your laptop, 3G should definitely be something to look into.</p>
<p>Also note that the 3G antenna cannot be turned off. This means a much lower battery life than the 8900. Not much of a problem if you have a car charger though, and you&#8217;ll use the blackberry much less over time compared to when you first bought it, so don&#8217;t be shocked if you notice 1/2 the battery is drained after  2 hours of continous usage.</p>
<h3>Other</h3>
<p>The 9000 looks leet. I don&#8217;t know what&#8217;s so attractive about the 9000, but it&#8217;s probably just the fact that it doesn&#8217;t look like the older Blackberrys. The 8900 looks nice, but it grew on me;  Not something I found particularly eye catching at first. The 8900 being numerically less than 9000, and the fact that the 8900 has a smaller form factor, sort of make the 8900 seem like a watered down Bold, or a step backwards, but it really isn&#8217;t. <strong>From what I noticed, this is the #1 reason people choose the Bold over the Curve, only using  &#8217;carrier&#8217; or &#8216;3G support&#8217; as logical reasons for justification on their choice/purchase after the fact.</strong></p>
<p>The Bold came with a slick leather bolt holster, and the 8900 came with a little girly pouch. The pouch is actually pretty nice; It fits snuggly and does a good job of protecting the phone when I&#8217;m carrying it around directly in my pocket. Only problem is it&#8217;s one more step taking it out of the pouch. It&#8217;s also harder to show off than having it visible on your RIM belt holster. Fortunately, the <a href="http://assets1.curvedepot.com/store_images/product_images/accessories/large/3216.jpg" target="_blank">holster made by Speck</a> is pretty good.</p>
<h3>Both devices are great. If you can&#8217;t make up your mind, pick names out of a hat, or go strictly by carriers and the plans each carrier has.</h3>
]]></content:encoded>
			<wfw:commentRss>http://biodegradablegeek.com/2009/02/blackberry-bold-9000-vs-curve-8900/feed/</wfw:commentRss>
		<slash:comments>31</slash:comments>
		</item>
		<item>
		<title>Multiple Monitors vs One Big Screen</title>
		<link>http://biodegradablegeek.com/2009/02/multiple-monitors-vs-one-big-screen/</link>
		<comments>http://biodegradablegeek.com/2009/02/multiple-monitors-vs-one-big-screen/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 18:56:03 +0000</pubDate>
		<dc:creator>Isam</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[dual screen]]></category>
		<category><![CDATA[efficiency]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://biodegradablegeek.com/?p=317</guid>
		<description><![CDATA[
Most people I know who&#8217;ve never used dual screen ask me why I don&#8217;t invest in one big monitor instead. There&#8217;s a big difference between having multiple monitors and having just one, no matter the size. Though which is better really depends on what you&#8217;re using the computer for, what OS/window manager you&#8217;re using, and [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://biodegradablegeek.com/wp-content/uploads/2009/02/dualscreen.jpg" alt="dualscreen Multiple Monitors vs One Big Screen" title="dualscreen" width="400" height="300" class="alignright size-full wp-image-319" /><br />
Most people I know who&#8217;ve never used dual screen ask me why I don&#8217;t invest in one big monitor instead. There&#8217;s a big difference between having multiple monitors and having just one, no matter the size. Though which is better really depends on what you&#8217;re using the computer for, what OS/window manager you&#8217;re using, and how you use your particular setup. </p>
<p>For programming, and the way I use my desktop (gnome+compiz), having multiple screens is much more productive than one big screen because I hate minimizing and dragging windows. If I&#8217;m coding in rails for example, I can have <a href="http://biodegradablegeek.com/2007/12/using-vim-as-a-complete-ruby-on-rails-ide/">my editor</a> maximized in one screen, and a reference window or a <strong>`tail -f file.log`</strong> maximized in the other screen. With a big monitor I would need to manually resize each window or depend on my window managers cascade feature, which requires some manual resizing as well. </p>
<p>For coding or writing, a killer setup would be having two or three widescreen displays setup vertically side-by-side. I noticed I only look at 3/4th of the screen real estate when I&#8217;m coding, and when I hack or write, <span id="more-317"></span>I generally prefer having one long narrow window (off topic, but I always exceed <a href="https://launchpad.net/bzr/+bug/39657">80 chars per line</a>). Widescreen wasn&#8217;t made for coding anyway. </p>
<p>When it comes to (photo) editing, whether you&#8217;re using 1 or 2 monitors, widescreen is a must. Many people complain that Gimp doesn&#8217;t support MDI (Multiple Document Interface: Having multiple windows in a container, like Photoshop or AOL), but I noticed that Photoshop on Mac doesn&#8217;t have MDI either, and I finally began Learning to Love the Gimp Interface. I can edit a picture full screen in one monitor, while I have my entire toolset open on another screen. I can also do all my editing in one screen and have tutorials or references on another display. </p>
<p>Taskbars on each screen are also separated, so that apps open in one desktop don&#8217;t show up on the taskbar of another desktop (tweakable). This simplifies the taskbar and makes it quicker to find what you have minimized. <a href="http://biodegradablegeek.com/wp-content/uploads/2009/02/windows_double_taskbar.jpg">No more 256 pixel thick taskbars.</a></p>
<p>I used to think having a split/gap between screens was annoying, but it naturally segregates the workspace. I can banish windows I don&#8217;t care about to &#8216;the other&#8217; screen and focus without distractions on my main desktop. It&#8217;s sorta like the ADHD plugin for compiz. I can also switch my attention to make which ever monitor I want to be my &#8220;main display.&#8221; This brings us to another <strong>huge advantage</strong> a multi-monitor setup has over a huge single display. </p>
<p>You can physically move each screen around independently, which is great when you&#8217;re working in teams (i.e., you wanna demo something) or you just have people over. Just last night I had a basketball game on my 2nd display tilted so my bro can watch (neither of us have cable) while I did my thing in &#8216;my own&#8217; desktop.</p>
<p>With <a href="http://burtonini.com/blog/computers/devilspie">Devilspie</a>, you can probably configure yourself a pretty nice setup for a big monitor, but if you don&#8217;t plan on doing much hacking, dual screens are naturally more productive in OS X and Linux. I noticed Windows XP has problems with dual screen, i.e., the taskbar doesn&#8217;t go across both monitors, and the <a href="http://lifehacker.com/5056337/mousejail-keeps-your-cursor-on-the-right-screen">cursor moves off screen and &#8220;breaks&#8221; into other desktops while you&#8217;re in a game</a>. Very annoying, but Vista or <a href="http://btjunkie.org/search?q=windows+7">Windows 7 </a> might not exhibit these problems, and there are <a href="http://en.wikipedia.org/wiki/UltraMon">workarounds</a> in XP. </p>
]]></content:encoded>
			<wfw:commentRss>http://biodegradablegeek.com/2009/02/multiple-monitors-vs-one-big-screen/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>RescueTime&#8217;s 22 Gigabyte notifier.debuglog Log File</title>
		<link>http://biodegradablegeek.com/2008/11/rescuetimes-22-gigabyte-notifierdebuglog-log-file/</link>
		<comments>http://biodegradablegeek.com/2008/11/rescuetimes-22-gigabyte-notifierdebuglog-log-file/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 08:25:46 +0000</pubDate>
		<dc:creator>Isam</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[nuisance]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[registry cleaner]]></category>
		<category><![CDATA[rescuetime]]></category>
		<category><![CDATA[spyware]]></category>

		<guid isPermaLink="false">http://biodegradablegeek.com/?p=285</guid>
		<description><![CDATA[I did find it weird that I kept running out of disk space recently. That hasn&#8217;t happened in years, and most of my big files go on another HD. On top of that, this box has been sluggish lately, even taking into account the fact that it&#8217;s ~4 years old and I always have 5-6 [...]]]></description>
			<content:encoded><![CDATA[<p>I did find it weird that I kept running out of disk space recently. That hasn&#8217;t happened in years, and most of my big files go on another HD. On top of that, this box has been sluggish lately, even taking into account the fact that it&#8217;s ~4 years old and I always have 5-6 desktops filled to the brim.</p>
<p>I finally found the culprit. <a href="http://rescuetime.com" target="_blank">RescueTime</a>&#8217;s (unofficial) Linux client keeps a log of <strong>every single window that has gotten focus, EVER.</strong> I figured this would be cleared when the notifications were sent out, but apparently it wasn&#8217;t. My <strong>failed/</strong> dir is nearly empty, so I know the notifications are getting sent out. The file is named ~/.rescuetime/tmp/notifier.debuglog</p>
<p>It might be that the client only clears the log when the app is closed? That sucks, because I don&#8217;t shutdown or reboot (or log out of X for that matter). Aside from the handful of kernel-update reboots (yeah yeah I could just init level down to preserve my uptime), I literally haven&#8217;t kept my PC off since 2006.</p>
<p>I don&#8217;t mind the disk space, but how the hell are you opening, seeking and writing to a 22gig+ file literally every single time focus is switched? I swear to the Gods I was one CC digit away from ordering a Mac.</p>
<p style="text-align: center;"><img class="size-full wp-image-286 aligncenter" title="notifier debug log rescue time picture" src="http://biodegradablegeek.com/wp-content/uploads/2008/11/notifierdebuglog.png" alt="notifier debug log rescue time picture" width="500" height="243" /></p>
<p>RescueTime is a great service/app, but I&#8217;ll keep the client off until this is fixed or they release an official client. No offense to the guys working on the Linux client (&lt;3), especially considering it&#8217;s probably their pet project, and I&#8217;ve had no other problems with it thus far. Hell, maybe the debug log could of easily been turned off.</p>
<p>I&#8217;m using version 90 (newest release as of 11/16). This may have already been fixed in trunk. I&#8217;ll check/submit a bug report&#8230; eventually.</p>
<p>https://launchpad.net/rescuetime-linux-uploader</p>
]]></content:encoded>
			<wfw:commentRss>http://biodegradablegeek.com/2008/11/rescuetimes-22-gigabyte-notifierdebuglog-log-file/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
