<?xml version="1.0"?><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/"
>
	<channel>
		<title>Geemoo dot ca</title>
		<link>http://geemoo.ca</link>
		<description/>
		<language>en</language>
		<pubDate>Fri, 03 Sep 2010 23:17:58 -0400</pubDate>
		<lastBuildDate>Fri, 03 Sep 2010 23:17:58 -0400</lastBuildDate>

	<item>
		<title>CPU Speed Status Bar Monitor for wmii</title>
		<link>http://geemoo.ca/blog/257/cpu-speed-status-bar-monitor-for-wmii</link>
		<content:encoded><![CDATA[So, I recently bought a new computer, and this one is a dual core and supports all kinds of dynamic speed adjusting goodness, which apparently my last CPU did not.  While this is all great, there is a bit of a downside.<br />
<br />
Down in the status bar of the window manager I use (wmiirc-lua), there is a little box indicating the current scaled CPU speed that each core is running at.  As a result of the new dynamicness, the contents of that box are changing all the time.  I was going to remove it entirely, but instead decided to write a graphical version of the same.  The result of this effort is a wmii plugin called <a href="http://github.com/geemoo/wmii-lua/blob/cpugraph/src/plugins/cpugraph.lua">CPU Graph</a>.  Upon configuring wmii to load this, it'll create a 10 character scrolling ASCII bar indicating the current CPU speed. <br />
<br />
I've got it up at <a href="http://github.com/geemoo/wmii-lua/">github</a> for the moment, until <a href="http://github.com/bartman">bartman</a> gets a chance to merge it into the tree.<br />
<br />
Download. Install.  Enjoy the ASCII goodness.
]]></content:encoded>
		<pubDate>Sun, 14 Mar 2010 19:02:53 -0400</pubDate>
		<guid>http://geemoo.ca/blog/257/cpu-speed-status-bar-monitor-for-wmii</guid>
	</item>

	<item>
		<title>Turning off Magnetic Net Mode in gschem</title>
		<link>http://geemoo.ca/blog/256/turning-off-magnetic-net-mode-in-gschem</link>
		<content:encoded><![CDATA[I searched for this options for 15 minutes, so I'm posting this here so I don't
have to again.<br />
<br />
If you're like me and find the magnetic nets always connect to the wrong stuff,
you can turn them off!  You can do so by adding <span
class="code">(magnetic-net-mode "disabled")</span> to your <span
class="code">~/.gschemrc</span> or to a <span class="code">gafrc</span> in your
project directory.
]]></content:encoded>
		<pubDate>Wed, 10 Mar 2010 11:07:40 -0500</pubDate>
		<guid>http://geemoo.ca/blog/256/turning-off-magnetic-net-mode-in-gschem</guid>
	</item>

	<item>
		<title>Reinstalling GRUB on an Ubuntu install</title>
		<link>http://geemoo.ca/blog/255/reinstalling-grub-on-an-ubuntu-install</link>
		<content:encoded><![CDATA[So, I recently  had to fix an ubuntu install after Windows had been reinstalled onto the drive.. end result: of course Windows tromped over the MBR and wiped out grub, making the computer automatically boot into windows.  The fix is to get booted into Ubuntu and reinstall grub.  If you're a debian user, the best way I found to do this is:<br />
<ol>
<li>Download the Ubuntu liveCD for whatever version of ubuntu you are trying to fix.  Don't forget to download the 64bit version if you're trying to fix a 64bit install of Ubuntu.

<li>Do a google search for the usb-creator package for a not quite cutting edge version of ubuntu.  While it would be awesome if this package were in debian, I'm sure the demand for it is pretty low, since it seems to be an Ubuntu creation.  I am running Debian Squeeze/testing, and had good results using the usb-creator from Jaunty, which can be found <a href="http://packages.ubuntu.com/jaunty/usb-creator">here</a>.  (It'd be nice if you could just dd the iso to the usb drive and have it work, but alas I tried that, and it does not boot.)

<li>Download and install usb-creator via dpkg -i

<li>Insert a USB disk that you don't mind getting wiped, run usb-creator, select your liveCD iso file and usb disk, click format, and then Create disk.

<li>Wait forever.

<li>Pop the USB stick into the busted machine, and boot from the usb drive into the first menu with the install options.

<li>Move the cursor over the first option for "Try Ubuntu Live CD without changes" and press &lt;TAB&gt; to edit the menu command.  Replace the boot=whatever parameter with root=/dev/sdXY, where sdXY is whatever partition your Ubuntu install is on.

<li>Press &lt;ENTER&gt; and boot up into your Ubuntu install.

<li>Open up a terminal, run <span class=code>sudo bash</span> to get to a root shell.

<li>Run <span class=code>update-grub</span> to update your grub configuration file.

<li>Run <span class=code>grub-install /dev/sdX</span>, where sdx is whatever drive you boot off.. probably sda. (NOT sda1)

</ul>
<br />
<br />
Once that finishes successfully, you should be able to reboot the machine and grub will start up, allowing you to select what install you which to use.  There might be an easier way to do this, but since I'm not a regular Ubuntu user, this is what I found through web searchs and trial and error.  If someone has an easier way, please do fire me an email and I'll update this post.



]]></content:encoded>
		<pubDate>Fri, 05 Feb 2010 15:30:54 -0500</pubDate>
		<guid>http://geemoo.ca/blog/255/reinstalling-grub-on-an-ubuntu-install</guid>
	</item>

	<item>
		<title>Firefox/IceWeasel Zoom Control</title>
		<link>http://geemoo.ca/blog/254/firefoxiceweasel-zoom-control</link>
		<content:encoded><![CDATA[I'm not sure when it happened, since I don't use it all that frequently, but firefox/iceweasel changed the default behaviour of Ctrl+Scrollwheel from Zoom in/out to moving back and forth in history.   If you want to change it back to controlling the zoom of the page, you can open about:config and change <span class=code>mousewheel.horizscroll.withcontrolkey</span> from its default value of 0 to a value of 3.  There are other values you can set that have other functions.. If you're interested, I found the info at <a href="http://kb.mozillazine.org/Firefox_:_FAQs_:_About:config_Entries">http://kb.mozillazine.org/Firefox_:_FAQs_:_About:config_Entries</a>.
]]></content:encoded>
		<pubDate>Sun, 20 Dec 2009 15:11:07 -0500</pubDate>
		<guid>http://geemoo.ca/blog/254/firefoxiceweasel-zoom-control</guid>
	</item>

	<item>
		<title>Chicken and Veggies</title>
		<link>http://geemoo.ca/photos/224/chicken-and-veggies</link>
		<content:encoded><![CDATA[<img src='http://geemoo.ca/photos/thumbs/chicken_and_veggies.jpg' />
<br />
My wife is away at her family for a vacation, but before she left, she was wondering if I was going to be ok for finding something to eat.  Fortunately, I seem to be faring ok, and I don't think I'll perish while she's away.  Meal for supper tonight (and probably lunch later this week) is Rotini with grilled chicken, zuchini, green onion, cheese and pasta sauce.  Happy to say it turned out quite great.
]]></content:encoded>
		<pubDate>Tue, 08 Dec 2009 21:41:55 -0500</pubDate>
		<guid>http://geemoo.ca/photos/224/chicken-and-veggies</guid>
	</item>

	<item>
		<title>Google Calculator for Bender</title>
		<link>http://geemoo.ca/blog/253/google-calculator-for-bender</link>
		<content:encoded><![CDATA[I used to have a <a href="http://supybot.com/">Supybot</a>, but I eventually got rid of it because I didn't want to have to use python to make it do things. <br />
<br />
I instead got myself a bender bot (a BasicBot::Pluggable perl bot) from <a href="http://www.dmo.ca/">dave0</a>.   I wanted a calculator for it, so I whipped up <a href="/files/GoogleCalc.pm">GoogleCalc</a>.  GoogleCalc uses the power of google's calculator and will respond to calc commands in channel.  It's awesome, only because google calculator is awesome.<br />
<br />
Note: There is an existing Google Calculator BasicBot module, but it seemed much more complicated than I needed and didn't come with examples or docs as to how to install it in a bender bot.  It's entirely possible it's not supposed to be installed into a bender bot.  This way seemed much easier.<br />
<br />
Grab <a href="/files/GoogleCalc.pm">GoogleCalc.pm</a> and copy it into your modules directory, and edit your yml config file to load it on startup.  Talk to it via the calc command.<br />
<div class=code>
15:10:02 [ ManOnIRC] MagicBot: calc 1 + 2<br />
15:10:03 [ MagicBot] ManOnIRC: 1 + 2 = 3<br />
15:10:15 [ ManOnIRC] Thanks MagicBot! You rock!<br />
</div>



]]></content:encoded>
		<pubDate>Sat, 29 Aug 2009 15:01:47 -0400</pubDate>
		<guid>http://geemoo.ca/blog/253/google-calculator-for-bender</guid>
	</item>

	<item>
		<title>Digikey Search Plugin for Vimperator</title>
		<link>http://geemoo.ca/blog/252/digikey-search-plugin-for-vimperator</link>
		<content:encoded><![CDATA[As a person that dabbles alot in electronics, I happen to do alot of searching for parts on <a href="http://digikey.ca">Digikey</a>.  As a person that doesn't like using the mouse when I'm at the computer, I use a lot of <a href="http://vimperator.org/trac/wiki/Vimperator">Vimperator</a>.  It seems only natural for me that these two things should be combined.<br />
<br />
Today, I sat down and wrote a vimperator plugin to search digikey for part numbers.  You can download it at <a href="http://github.com/geemoo/vimperator-digikey_search/tree/master">http://github.com/geemoo/vimperator-digikey_search/tree/master</a>.  To install the plugin, copy the js file into your ~/.vimperator/plugins directory.  If the plugins directory doesn't exist, you should create it first.
]]></content:encoded>
		<pubDate>Sat, 29 Aug 2009 10:41:35 -0400</pubDate>
		<guid>http://geemoo.ca/blog/252/digikey-search-plugin-for-vimperator</guid>
	</item>

	<item>
		<title>CW sample file generator</title>
		<link>http://geemoo.ca/blog/251/cw-sample-file-generator</link>
		<content:encoded><![CDATA[I've been thinking about learning morse code (AKA CW) for a while, and after last weekend, I've finally convinced myself that I want to do it.  So, my first step was to write myself a little script to generate CW practice files that I can listen to on the bus rides to work.  Running the script will generate a text file, and an mp3 file.  The general idea is that you load up mp3 file onto your ipod, decode the message on paper (or in your head, if you're that good), and then compare it against the text version to see how many mistakes you made.<br />
<br />
The script uses an assortment of tools, all of which were fairly easy to acquire.  The list comprises the following: QSO, sox, lame, cwpcm and ofcourse bash.  You can get the list of tools by doing a <span class=code>apt-get install morse lame sox</span>.  cwpcm you have to compile from source, I'm afraid.  You can grab it at <a href="http://cwtext.sourceforge.net/">http://cwtext.sourceforge.net/</a>.<br />
<br />
Once you've got all that, run it at your command line, with the number of samples you wish to generate.  If you're going to make a large number, I recommend going for coffee.  The mp3 conversion step is time consuming. At the top of the script, there are two variables you can play with.. the characters per minute, and the words per minute, which affect the speed that the morse is played at.<br />
<br />
<pre>
# ./gencw.sh 50
cw-4WPM-8CPM-0001....
cw-4WPM-8CPM-0002....
cw-4WPM-8CPM-0003....
&lt;and so on&gt;
</pre>
<br />
You can download the script at <a href="http://geemoo.ca/files/gencw.sh">http://geemoo.ca/files/gencw.sh</a>. 

]]></content:encoded>
		<pubDate>Tue, 23 Jun 2009 23:15:53 -0400</pubDate>
		<guid>http://geemoo.ca/blog/251/cw-sample-file-generator</guid>
	</item>

	<item>
		<title>Flushing the Mail Queue in Exim</title>
		<link>http://geemoo.ca/blog/250/flushing-the-mail-queue-in-exim</link>
		<content:encoded><![CDATA[I always seem to forget how to do this, so perhaps blogging it will help.  If you ever want to force exim to attempt to resend its queued message, even if they are frozen or not, can you can this by running <span class=code>exim -qff</span>.  This will force it to go through all messages it has and attempt to resend each one.
]]></content:encoded>
		<pubDate>Tue, 16 Jun 2009 14:40:50 -0400</pubDate>
		<guid>http://geemoo.ca/blog/250/flushing-the-mail-queue-in-exim</guid>
	</item>

	<item>
		<title>Apache Authentication... Valid User OR from this IP</title>
		<link>http://geemoo.ca/blog/249/apache-authentication-valid-user-or-from-this-ip</link>
		<content:encoded><![CDATA[This is really simple, but it took me a bit of digging to find it, so that's why I'm posting it here.  I have a directory that I want to protect.  To access it, you have to be either 1) an authenticated user, or 2) on my local LAN.  <br />
<br />
Step 1. Create an .htpasswd file as you normally would with the htpasswd command.<br />
Step 2. Create an .htaccess file that looks like this.<br />
<pre>
AuthName "My private directory of stuff"
AuthType Basic
AuthUserFile /the/path/to/the/.htpasswd
AuthGroupFile /dev/null
require valid-user
Order allow,deny
Allow from 192.168.0
Satisfy Any
</pre>

]]></content:encoded>
		<pubDate>Tue, 16 Jun 2009 14:26:43 -0400</pubDate>
		<guid>http://geemoo.ca/blog/249/apache-authentication-valid-user-or-from-this-ip</guid>
	</item>

	</channel>
</rss>
