<?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>Honolulu Hacker &#187; Linux</title>
	<atom:link href="http://honoluluhacker.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://honoluluhacker.com</link>
	<description>Tech, Linux, Rails by Holululu-based Kevin English</description>
	<lastBuildDate>Thu, 24 Jun 2010 08:56:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Force download of fasta files and aln files with Apache</title>
		<link>http://honoluluhacker.com/2010/01/14/force-download-of-fasta-files-and-aln-files-with-apache/</link>
		<comments>http://honoluluhacker.com/2010/01/14/force-download-of-fasta-files-and-aln-files-with-apache/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 20:11:19 +0000</pubDate>
		<dc:creator>kenglish</dc:creator>
				<category><![CDATA[Bioinformatics]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://honoluluhacker.com/?p=998</guid>
		<description><![CDATA[If you are serving fasta files or alignment files on your server, you may want to force users to download them instead of previewing them in the browser. My application would return the fasta files as Content-Type text/plain. I wanted to force it to application/x-fasta and force download. This is accomplished rather easily in Apache [...]]]></description>
			<content:encoded><![CDATA[<p>If you are serving fasta files or alignment files on your server, you may want to force users to download them instead of previewing them in the browser. My application would return the fasta files as Content-Type text/plain. I wanted to force it to application/x-fasta and force download. This is accomplished rather easily in Apache with the following directive:</p>

<div class="wp_syntax"><div class="code"><pre class="apache" style="font-family:monospace;">  &lt;<span style="color: #000000; font-weight:bold;">FilesMatch</span> <span style="color: #7f007f;">&quot;<span style="color: #000099; font-weight: bold;">\.</span>(?i:fasta)$&quot;</span>&gt;
    <span style="color: #00007f;">ForceType</span> application/x-fasta
    <span style="color: #00007f;">Header</span> set Content-Disposition attachment
  &lt;/<span style="color: #000000; font-weight:bold;">FilesMatch</span>&gt;
  &lt;<span style="color: #000000; font-weight:bold;">FilesMatch</span> <span style="color: #7f007f;">&quot;<span style="color: #000099; font-weight: bold;">\.</span>(?i:aln)$&quot;</span>&gt;
    <span style="color: #00007f;">ForceType</span> application/x-aln
    <span style="color: #00007f;">Header</span> set Content-Disposition attachment
  &lt;/<span style="color: #000000; font-weight:bold;">FilesMatch</span>&gt;</pre></div></div>

<p>You will have to enable the apache module &#8220;mod_header&#8221; for this to work.</p>
]]></content:encoded>
			<wfw:commentRss>http://honoluluhacker.com/2010/01/14/force-download-of-fasta-files-and-aln-files-with-apache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Example Bash script to rename directories</title>
		<link>http://honoluluhacker.com/2009/11/17/example-bash-script-to-rename-directories/</link>
		<comments>http://honoluluhacker.com/2009/11/17/example-bash-script-to-rename-directories/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 17:18:11 +0000</pubDate>
		<dc:creator>kenglish</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://honoluluhacker.com/?p=768</guid>
		<description><![CDATA[This script will rename directories based on a pattern. My goal was to rename my directories so the album year would be in [] and not (). For example, we would move /home/Music/ACDC/Back in Black (1980) to /home/Music/ACDC/Back in Black [1980]. The downside is you have to enter the pattern twice, once for bash and [...]]]></description>
			<content:encoded><![CDATA[<p>This script will rename directories based on a pattern. My goal was to rename my directories so the album year would be in [] and not (). For example, we would move /home/Music/ACDC/Back in Black (1980) to /home/Music/ACDC/Back in Black [1980]. The downside is you have to enter the pattern twice, once for bash and once for sed.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">find</span>  <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>kenglish<span style="color: #000000; font-weight: bold;">/</span>Music <span style="color: #660033;">-type</span> d <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #000000; font-weight: bold;">while</span> <span style="color: #c20cb9; font-weight: bold;">read</span> DIR; <span style="color: #000000; font-weight: bold;">do</span>
&nbsp;
  <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$DIR</span>&quot;</span> =~ \<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">0</span>-<span style="color: #000000;">9</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #000000;">4</span><span style="color: #7a0874; font-weight: bold;">&#125;</span>\<span style="color: #7a0874; font-weight: bold;">&#41;</span>$ <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
    <span style="color: #007800;">NEW_DIR</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$DIR</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">'s/(\([0-9][0-9][0-9][0-9]\))$/[\1]/'</span><span style="color: #000000; font-weight: bold;">`</span>
    <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$DIR</span>    --&gt;    <span style="color: #007800;">$NEW_DIR</span>&quot;</span> 
    <span style="color: #000000; font-weight: bold;">`</span> <span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$DIR</span>&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$NEW_DIR</span>&quot;</span> <span style="color: #000000; font-weight: bold;">`</span>
  <span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #000000; font-weight: bold;">done</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://honoluluhacker.com/2009/11/17/example-bash-script-to-rename-directories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bash script to copy files in order to my Coby mp305</title>
		<link>http://honoluluhacker.com/2009/08/18/bash-script-to-copy-files-in-order-to-my-coby-mp305/</link>
		<comments>http://honoluluhacker.com/2009/08/18/bash-script-to-copy-files-in-order-to-my-coby-mp305/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 05:30:20 +0000</pubDate>
		<dc:creator>kenglish</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://honoluluhacker.com/?p=747</guid>
		<description><![CDATA[I&#8217;m one of those people that refuses to get an IPOD. I think they are too expensive and they don&#8217;t play nice with Linux.
Last Christmas, I bought myself the 4GB Coby mp305 because it has more capacity than the Sandisk Sansa m200. The interface is crap compared to the Sansa m200. It doesn&#8217;t read the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m one of those people that refuses to get an IPOD. I think they are too expensive and they don&#8217;t play nice with Linux.</p>
<p>Last Christmas, I bought myself the 4GB <a href="http://reviews.cnet.com/mp3-players/coby-mp-305-digital/4505-6490_7-33341997.html?tag=mncol;lst">Coby mp305</a> because it has more capacity than the <a href="http://reviews.cnet.com/mp3-players/sandisk-sansa-m250-2gb/4505-6490_7-31565927.html">Sandisk Sansa m200</a>. The interface is crap compared to the Sansa m200. It doesn&#8217;t read the mp3 ID3tags at all. The navigation tree is simply the directory structure.</p>
<p>The major flaw is that it does not always sort files in the directory in the correct order. I finally figured out that it sorts files by the order that they were put on the device. However, for some reason in linux if you do &#8220;cp -R&#8221;, it doesn&#8217;t put them on in the proper order. </p>
<p>Here&#8217;s my script to put files on the device, it&#8217;s call coby_copy.sh:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #000000; font-weight: bold;">!</span>-d $<span style="color: #000000;">1</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
   <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Source Directory does not exists&quot;</span>
   <span style="color: #7a0874; font-weight: bold;">exit</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #000000; font-weight: bold;">!</span>-d $<span style="color: #000000;">2</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
   <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Target Directory does not exists&quot;</span>
   <span style="color: #7a0874; font-weight: bold;">exit</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;arg1 = $1 arg2 = $2&quot;</span>
&nbsp;
<span style="color: #007800;">IFS</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-en</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>\b&quot;</span><span style="color: #000000; font-weight: bold;">`</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">for</span> FILENAME <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">find</span> $<span style="color: #000000;">1</span> <span style="color: #660033;">-type</span> f <span style="color: #660033;">-iname</span> <span style="color: #ff0000;">&quot;*mp3&quot;</span> <span style="color: #660033;">-print</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sort</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">'s/^\.\///'</span><span style="color: #000000; font-weight: bold;">`</span> 
<span style="color: #000000; font-weight: bold;">do</span>
  <span style="color: #007800;">DIR</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">dirname</span> <span style="color: #007800;">$FILENAME</span><span style="color: #000000; font-weight: bold;">`</span>
  <span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> $<span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$DIR</span>
  <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$FILENAME</span>
  <span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #007800;">$FILENAME</span> <span style="color: #ff0000;">&quot;$2/<span style="color: #007800;">$DIR</span>&quot;</span>
<span style="color: #000000; font-weight: bold;">done</span></pre></div></div>

<p>To run it:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">coby_copy.sh <span style="color: #ff0000;">&quot;Harry Potter and Leopard-Walk-Up-to-Dragon&quot;</span>  <span style="color: #ff0000;">&quot;/mnt/disk/Audio Books&quot;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://honoluluhacker.com/2009/08/18/bash-script-to-copy-files-in-order-to-my-coby-mp305/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install ruby gem libxml-ruby on Ubuntu 9.04 (Jaunty)</title>
		<link>http://honoluluhacker.com/2009/08/18/install-ruby-gem-libxml-ruby-on-ubuntu-9-04-jaunty/</link>
		<comments>http://honoluluhacker.com/2009/08/18/install-ruby-gem-libxml-ruby-on-ubuntu-9-04-jaunty/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 19:14:43 +0000</pubDate>
		<dc:creator>kenglish</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://honoluluhacker.com/?p=737</guid>
		<description><![CDATA[Quick note on how to install the libxml-ruby gem on Ubuntu:

sudo apt-get install libxml2 libxml2-dev
sudo gem install libxml-ruby

]]></description>
			<content:encoded><![CDATA[<p>Quick note on how to install the libxml-ruby gem on Ubuntu:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> libxml2 libxml2-dev
<span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> libxml-ruby</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://honoluluhacker.com/2009/08/18/install-ruby-gem-libxml-ruby-on-ubuntu-9-04-jaunty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setup for CAC card on Linux Ubuntu 9.04 in Firefox</title>
		<link>http://honoluluhacker.com/2009/07/30/setup-for-cac-card-on-linux-ubuntu-9-04/</link>
		<comments>http://honoluluhacker.com/2009/07/30/setup-for-cac-card-on-linux-ubuntu-9-04/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 20:56:31 +0000</pubDate>
		<dc:creator>kenglish</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://honoluluhacker.com/?p=725</guid>
		<description><![CDATA[Install CoolKey

sudo apt-get install coolkey -y

Install PCSC Tools:

sudo apt-get install libpcsclite1 pcsc-tools pcscd -y

Install dod-configuration-1.0.2.xpi into firefox by downloading it to a local directory and then doing &#8220;File&#124;Open&#8221;. You have to get this from https://software.forge.mil which you can only get to with your CAC. Yes, I know. This makes a lot of sense. I got [...]]]></description>
			<content:encoded><![CDATA[<p>Install CoolKey</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> coolkey <span style="color: #660033;">-y</span></pre></div></div>

<p>Install PCSC Tools:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> libpcsclite1 pcsc-tools pcscd <span style="color: #660033;">-y</span></pre></div></div>

<p>Install dod-configuration-1.0.2.xpi into firefox by downloading it to a local directory and then doing &#8220;File|Open&#8221;. You have to get this from https://software.forge.mil which you can only get to with your CAC. Yes, I know. This makes a lot of sense. I got it from a co-worker.</p>
<p>Plugin your CAC card reader and insert your CAC. The green light should come on. Next, you will to set up the CAC in Firefox.</p>
<p>Open Firefox, goto Edit | Preferences | Advanced | Security Devices.</p>
<p>Click Load.</p>
<p>Enter the following:<br />
Module Name : CAC Module<br />
Module filename : /usr/lib/pkcs11/libcoolkeypk11.so</p>
<p><img src="http://honoluluhacker.com/wp-content/uploads/2009/07/Load-Device.png" alt="Load Device - Cac Module" title="Load Device - Cac Module" width="657" height="306" class="alignnone size-full wp-image-728" /></p>
<p>The CAC should appear in your list of security devices now. Click &#8220;Log in&#8221; to test it. It should look something like this:</p>
<p><img src="http://honoluluhacker.com/wp-content/uploads/2009/07/Device-Manager.png" alt="Device-Manager" title="Device-Manager" width="749" height="477" class="alignnone size-full wp-image-730" /><br />
 Click &#8220;Log In&#8221; and enter your pin to test it.</p>
<p>Try to bring up <a href="https://software.forge.mil">https://software.forge.mil</a>. Firefox will complain about the cert so just add an exception for it.</p>
<p>You should be all good. Let me know how this works out.</p>
<p>NOTE: I&#8217;m using Firefox 3.5</p>
]]></content:encoded>
			<wfw:commentRss>http://honoluluhacker.com/2009/07/30/setup-for-cac-card-on-linux-ubuntu-9-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bedazzle Your Bash Prompt with Git Info (for Ubuntu 9.04)</title>
		<link>http://honoluluhacker.com/2009/07/01/bedazzle-your-bash-prompt-with-git-info-for-ubuntu-904/</link>
		<comments>http://honoluluhacker.com/2009/07/01/bedazzle-your-bash-prompt-with-git-info-for-ubuntu-904/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 23:28:44 +0000</pubDate>
		<dc:creator>kenglish</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://honoluluhacker.com/?p=711</guid>
		<description><![CDATA[This is in response to the railstip.org post about how to Bedazzle Your Bash Prompt with Git Info. If you do this in Ubuntu, it will screw up your gnome-terminal title. 
This is how add the git branch to your prompt in Ubuntu 9.04. Edit /home/kenglish/.bashrc. Find the lines with PS1. Replace them with this:

function [...]]]></description>
			<content:encoded><![CDATA[<p>This is in response to the railstip.org post about how to <a href="http://railstips.org/2009/2/2/bedazzle-your-bash-prompt-with-git-info">Bedazzle Your Bash Prompt with Git Info</a>. If you do this in Ubuntu, it will screw up your gnome-terminal title. </p>
<p>This is how add the git branch to your prompt in Ubuntu 9.04. Edit /home/kenglish/.bashrc. Find the lines with PS1. Replace them with this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> parse_git_branch <span style="color: #7a0874; font-weight: bold;">&#123;</span>
  <span style="color: #007800;">ref</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span>git symbolic-ref HEAD <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000; font-weight: bold;">||</span> <span style="color: #7a0874; font-weight: bold;">return</span>
  <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;(&quot;</span><span style="color: #800000;">${ref#refs/heads/}</span><span style="color: #ff0000;">&quot;)&quot;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$color_prompt</span>&quot;</span> = <span style="color: #c20cb9; font-weight: bold;">yes</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
    <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">'${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\] $(parse_git_branch) \$ '</span>
    <span style="color: #666666; font-style: italic;">#PS1=&quot;\w \$(parse_git_branch)\$ &quot;</span>
<span style="color: #000000; font-weight: bold;">else</span>
    <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">'${debian_chroot:+($debian_chroot)}\u@\h:\w $(parse_git_branch)\$ '</span>
<span style="color: #000000; font-weight: bold;">fi</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://honoluluhacker.com/2009/07/01/bedazzle-your-bash-prompt-with-git-info-for-ubuntu-904/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook plugin for Pidgin</title>
		<link>http://honoluluhacker.com/2009/03/30/facebook-plugin-for-pidgin/</link>
		<comments>http://honoluluhacker.com/2009/03/30/facebook-plugin-for-pidgin/#comments</comments>
		<pubDate>Mon, 30 Mar 2009 17:53:00 +0000</pubDate>
		<dc:creator>kenglish</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://honoluluhacker.com/?p=626</guid>
		<description><![CDATA[Today, I installed the Facebook Plugin for Pidgin. Pretty basic, just downloaded the .deb file and double clicked on it.
One caveat was that I had the Pidgin MusicTracker  plugin enabled and this caused Pidgin to crash when I set up my Facebook account. The MusicTracker can be disabled for selected acocunts and it must [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I installed the <a href="http://code.google.com/p/pidgin-facebookchat/">Facebook Plugin for Pidgin.</a> Pretty basic, just downloaded the .deb file and double clicked on it.</p>
<p>One caveat was that I had the <a href="http://code.google.com/p/pidgin-musictracker/">Pidgin MusicTracker </a> plugin enabled and this caused Pidgin to crash when I set up my Facebook account. The MusicTracker can be disabled for selected acocunts and it must be disabled for Facebook. The solution was to disable MusicTracker, setup the facebook account and go back re-enable MusicTracker and disabling it for Facebook.</p>
<p><img class="alignnone size-full wp-image-629" title="fb-pidgin" src="http://honoluluhacker.com/wp-content/uploads/2009/03/fb-pidgin.png" alt="fb-pidgin" width="723" height="639" /></p>
]]></content:encoded>
			<wfw:commentRss>http://honoluluhacker.com/2009/03/30/facebook-plugin-for-pidgin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using gitk</title>
		<link>http://honoluluhacker.com/2009/02/25/using-gitk/</link>
		<comments>http://honoluluhacker.com/2009/02/25/using-gitk/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 19:01:22 +0000</pubDate>
		<dc:creator>kenglish</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://honoluluhacker.com/?p=516</guid>
		<description><![CDATA[Just installed gitk. Very nice&#8230;. Here&#8217;s how to install it on Ubuntu:

apt-get install gitk

Awesome git resources:
gitready.com
gitcasts.com
I hope this post has been helpful.
]]></description>
			<content:encoded><![CDATA[<p>Just installed gitk. Very nice&#8230;. Here&#8217;s how to install it on Ubuntu:</p>

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

<p>Awesome git resources:</p>
<p><a href="http://gitready.com/">gitready.com</a><br />
<a href="http://gitcasts.com">gitcasts.com</a></p>
<p>I hope this post has been helpful.</p>
]]></content:encoded>
			<wfw:commentRss>http://honoluluhacker.com/2009/02/25/using-gitk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is Mac better than Linux?</title>
		<link>http://honoluluhacker.com/2009/02/18/is-mac-better-than-linux/</link>
		<comments>http://honoluluhacker.com/2009/02/18/is-mac-better-than-linux/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 23:57:20 +0000</pubDate>
		<dc:creator>kenglish</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://honoluluhacker.com/?p=511</guid>
		<description><![CDATA[I&#8217;ve been using Linux as my primary desktop since 2002. I love it. Last night I was at the for new Hawaii Linux Users Group. One guy asked, &#8220;So, I&#8217;m a developer. I have a Mac, I have eclipse, I have a terminal, etc. What is the compelling reason for me to switch to Linux?&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using Linux as my primary desktop since 2002. I love it. Last night I was at the for new <a href="http://www.techhui.com/events/hi-linux-user-group-meeting-1">Hawaii Linux Users Group</a>. One guy asked, &#8220;So, I&#8217;m a developer. I have a Mac, I have eclipse, I have a terminal, etc. What is the compelling reason for me to switch to Linux?&#8221; None of the Linux geeks could really answer him. My only argument is cost. I got my Dell with Ubuntu pre-installed for about $900. I think a comparable Mac would cost around $1500. </p>
<p>I&#8217;ve never used a Mac so I don&#8217;t know what I am missing. I&#8217;m sure they work great all the time like the unbiased Mac enthusiasts tell me.</p>
<p>I have no original content to add to this debate but I did come across this interesting post that I thought was worth sharing. Enjoy:</p>
<p><a href="http://www.internetling.com/2008/08/12/5-things-linux-does-better-than-mac-os-x/">5 Things Linux does better than Mac OS X</a></p>
<p>For the record, I travel in many circles and quite often people find out that I&#8217;m a software developer and they ask me questions like &#8220;How come I can&#8217;t get on the internet at home?&#8221;, &#8220;Do you writing code in 1&#8217;s and 0&#8217;s all day?&#8221; and &#8220;What kind of computer should I buy?&#8221; I always tell people they are better off spending the extra money getting a Mac. I do this because I wouldn&#8217;t wish Windows on anyone&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://honoluluhacker.com/2009/02/18/is-mac-better-than-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mail Relay/Transport Setup</title>
		<link>http://honoluluhacker.com/2007/08/15/mail-relaytransport-setup/</link>
		<comments>http://honoluluhacker.com/2007/08/15/mail-relaytransport-setup/#comments</comments>
		<pubDate>Thu, 16 Aug 2007 00:55:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://kenglish77.net/surfblog/index.php?entry=entry070815-145545</guid>
		<description><![CDATA[I had to set up a relay with sendmail, because i&#039;ll never remember, here&#039;s what I did:
Synopsis: Server1 is running postfix. It needs to send all it&#039;s mail out through Server2 which is running sendmail is and the main mail server for the domain (eg mydomain.com)
HOWTO: 1) Set up sendmail on Server2 to relay for [...]]]></description>
			<content:encoded><![CDATA[<p>I had to set up a relay with sendmail, because i&#039;ll never remember, here&#039;s what I did:</p>
<p>Synopsis: Server1 is running postfix. It needs to send all it&#039;s mail out through Server2 which is running sendmail is and the main mail server for the domain (eg mydomain.com)</p>
<p>HOWTO:<br /> 1) Set up sendmail on Server2 to relay for server1:<br />  a) vi /etc/mail/relay-domains<br />  b) add (where 10.0.6.5 is the ip of Server1):</p>
<p>    10.0.6.5                 RELAY</p>
<p>  c) do these 2 commands to make it stick:</p>
<p>   sudo makemap hash /etc/mail/access.db < /etc/mail/access<br />   sudo /etc/init.d/sendmail restart</p>
<p> 2) Set up postfix on server1 to use a transport. This means it sends it&#039;s mail out through server2.<br />   a) add this line to /etc/postfix/main.cnf</p>
<p>   transport_maps = hash:/etc/postfix/transport</p>
<p>   b) create /etc/postfix/transport and this line to it (where 10.0.6.101 is the ip of the relay server, server1):</p>
<p>  * smtp:10.0.6.101</p>
<p>  c) execute these command for it to take effect:</p>
<p>  sudo postmap /etc/postfix/transport&#8221;<br />  sudo /etc/init.d/postfix restart</p>
<p>  d) One last thing to do, since Server2 is sendint e-mail from mydomain.com, gotta make server 1 do that too (otherwise it may send from myhost.mydomain.com), edit /etc/mailname and change the value to mydomain.com. This one took a while for me to find!</p>
<p>3) Test it out. I created a stupid php script to test if from the command line, to save me typing in the future here it is:</p>
<p>  $ cat t.php <br /><? </p>
<p>   $to = &#039;kevin@kenglish77.com&#039;; <br />   $subject = &#039;Test e-mail &#039; . date(&#039;c&#039;); <br />   $body  = &#039;HI FORM PHP &#039; . date(&#039;c&#039;); <br />   mail( $to, $subject, $body ); </p>
<p>?></p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://honoluluhacker.com/2007/08/15/mail-relaytransport-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
