<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><!-- generator="wordpress/2.2.3" --><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>I Can Has Linux?</title>
	<link>http://icanhaslinux.com</link>
	<description>Invisible Patent Infringement!</description>
	<pubDate>Thu, 14 Aug 2008 15:16:35 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.3</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/ICanHasLinux" type="application/rss+xml" /><item>
		<title>Link for today: Bluetooth Proximity - Ubuntu HOWTO</title>
		<link>http://feeds.feedburner.com/~r/ICanHasLinux/~3/364866198/</link>
		<comments>http://icanhaslinux.com/2008/08/14/link-for-today-bluetooth-proximity-ubuntu-howto/#comments</comments>
		<pubDate>Thu, 14 Aug 2008 15:16:35 +0000</pubDate>
		<dc:creator>LightningCrash</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://icanhaslinux.com/2008/08/14/link-for-today-bluetooth-proximity-ubuntu-howto/</guid>
		<description><![CDATA[Link to Howto
I&#8217;ve used this successfully and can attest to how handy it is. Kudos to Iceni for putting that Howto together.
BT dongles are getting cheap enough today that this is very doable. Most phones have BT already, so why not try it out?
Linksys also makes a USB Bluetooth adapter with a movable antenna. I&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://ubuntuforums.org/showthread.php?t=702372" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/ubuntuforums.org');">Link to Howto</a></p>
<p>I&#8217;ve used this successfully and can attest to how handy it is. Kudos to Iceni for putting that Howto together.</p>
<p>BT dongles are getting cheap enough today that this is very doable. Most phones have BT already, so why not try it out?</p>
<p>Linksys also makes a USB Bluetooth adapter with a movable antenna. I&#8217;ve not heard anything about that particular adapter, but I would wager that its range is greater than that of normal Bluetooth dongles.</p>
<p>That&#8217;s it for today!</p>
<p>-LightningCrash</p>
]]></content:encoded>
			<wfw:commentRss>http://icanhaslinux.com/2008/08/14/link-for-today-bluetooth-proximity-ubuntu-howto/feed/</wfw:commentRss>
		<feedburner:origLink>http://icanhaslinux.com/2008/08/14/link-for-today-bluetooth-proximity-ubuntu-howto/</feedburner:origLink></item>
		<item>
		<title>basics in awk</title>
		<link>http://feeds.feedburner.com/~r/ICanHasLinux/~3/363906594/</link>
		<comments>http://icanhaslinux.com/2008/08/13/basics-in-awk/#comments</comments>
		<pubDate>Wed, 13 Aug 2008 13:48:59 +0000</pubDate>
		<dc:creator>LightningCrash</dc:creator>
		
		<category><![CDATA[ihatereadingbooks]]></category>

		<category><![CDATA[awk]]></category>

		<guid isPermaLink="false">http://icanhaslinux.com/2008/08/13/basics-in-awk/</guid>
		<description><![CDATA[awk is a very, very useful command-line program that any Linux/Unix ninja should be familiar with. Awk is specifically geared towards processing text, and it was actually a combination of awk and sed that were an inspiration for Perl.
To start with, awk has three major elements that you need to be aware of when you&#8217;re [...]]]></description>
			<content:encoded><![CDATA[<p>awk is a very, very useful command-line program that any Linux/Unix ninja should be familiar with. Awk is specifically geared towards processing text, and it was actually a combination of awk and sed that were an inspiration for Perl.</p>
<p>To start with, awk has three major elements that you need to be aware of when you&#8217;re working with it. These are the field separator, the pattern, and the action for the pattern.</p>
<p>Your fied separator is obviously what is inbetween the text elements you want to work with. If you open up a terminal and type &#8216;ps -elf&#8217;, you&#8217;ll see that this would just be spaces. Some files, like CSV files, have commas as the separator. Awk can be told what to look for via the -F option on the command-line, or in the program itself. For one-off piping, I prefer to do it via the -F option.</p>
<p>The pattern is much like an  &#8216;if &#8230; then&#8217; statement in other programming languages. If there isn&#8217;t a pattern, the action specified will be applied to all rows of input.</p>
<p>What makes awk handy is that it gives you capabilities that the `cut` command simply can&#8217;t provide.  For instance, if I have a twenty-column CSV and I would like to spit out the third and eleventh column, I can execute the following:</p>
<p><code>awk -F','    '{print $3 FS $11}' file.input</code></p>
<p>The -F&#8217;,&#8217; tells awk that the input fields will be separated by commas. The area enclosed in the braces is the action I talked about earlier. I didn&#8217;t specify a pattern before the action, so the action was applied to every line of input. &#8220;<code>print $3 FS $11</code>&#8221; tells awk to print to the screen the third field of input, the field separator (which we defined as a comma with the -F&#8217;,'), and the eleventh field of input.</p>
<p>If I wanted to do the same, but only print lines where the third field was over a number, say, 110, I could execute the following:</p>
<p><code>awk -F','    '$3 &gt; 110 {print $3 FS $11}'" file.input</code></p>
<p>The pattern before the braces functions much like an &#8220;if &#8230; then&#8221;. If the third field is over 110, awk prints out the third field, the field separator, and the eleventh field.</p>
<p>There is much, much more that you can do with awk, but this should be enough to hint you in the right direction. I know I use awk daily for various tasks related to command-line mischief.  A common thing I use awk for is to manipulate /etc/passwd, where some user account information is stored.</p>
<p>Fortunately, GNU awk is often smart enough to pick up the field separators without specifying the -F option. For instance, /etc/passwd is separated by a colon &#8220;:&#8221;, but GNU awk automatically recognizes this. It&#8217;s worth noting that on some other systems without GNU utilities, awk may behave in ways that you don&#8217;t anticipate.</p>
<p>That&#8217;s it for the moment, just some small tips to get you moving. I&#8217;d recommend picking up a book on AWK. I recommend you pick up a copy of &#8220;The AWK Programming Language&#8221; by Aho, Kernighan and Weinberger. It only makes sense, since they are the creators of AWK. I have also been told that the O&#8217;Reilly AWK book is very good. In addition, the GNU awk is well-documented all over the Internet, so you shouldn&#8217;t be lacking in study material if you put some effort into it.</p>
<p>Until next time!</p>
<p>-LightningCrash</p>
]]></content:encoded>
			<wfw:commentRss>http://icanhaslinux.com/2008/08/13/basics-in-awk/feed/</wfw:commentRss>
		<feedburner:origLink>http://icanhaslinux.com/2008/08/13/basics-in-awk/</feedburner:origLink></item>
		<item>
		<title>comm — when diff won’t do</title>
		<link>http://feeds.feedburner.com/~r/ICanHasLinux/~3/358652096/</link>
		<comments>http://icanhaslinux.com/2008/08/07/comm-when-diff-wont-do/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 18:34:17 +0000</pubDate>
		<dc:creator>LightningCrash</dc:creator>
		
		<category><![CDATA[gnu]]></category>

		<guid isPermaLink="false">http://icanhaslinux.com/2008/08/07/comm-when-diff-wont-do/</guid>
		<description><![CDATA[Don&#8217;t get me wrong, I appreciate the utility of diff. I use diff all the time. Unfortunately, there are times when I don&#8217;t want a diff output.
Case in point: I was comparing two lists of accounts. I wanted the accounts that were present in the newer file. Diff gave me output, but the diff output [...]]]></description>
			<content:encoded><![CDATA[<p>Don&#8217;t get me wrong, I appreciate the utility of diff. I use diff all the time. Unfortunately, there are times when I don&#8217;t want a diff output.</p>
<p>Case in point: I was comparing two lists of accounts. I wanted the accounts that were present in the newer file. Diff gave me output, but the diff output wasn&#8217;t what I wanted.</p>
<p>comm is handy for this. You would do the following to get the list I want:<br />
comm -1 -3 oldfile newfile</p>
<p>Lovely! comm is actually part of the GNU Core Utilities and was written by Richard Stallman and David MacKenzie. That confirmed my suspicions that comm subscribed to an old UNIX adage for some utilities: Do <strong>one</strong> thing very, very well.</p>
<p>I have nothing more to say about comm, you&#8217;ll have to wear it out yourself.</p>
<p>Until next time,</p>
<p>-LightningCrash</p>
]]></content:encoded>
			<wfw:commentRss>http://icanhaslinux.com/2008/08/07/comm-when-diff-wont-do/feed/</wfw:commentRss>
		<feedburner:origLink>http://icanhaslinux.com/2008/08/07/comm-when-diff-wont-do/</feedburner:origLink></item>
		<item>
		<title>Is Quicken Online a blessing to Linux users? Well….</title>
		<link>http://feeds.feedburner.com/~r/ICanHasLinux/~3/246770140/</link>
		<comments>http://icanhaslinux.com/2008/03/06/is-quicken-online-a-blessing-to-linux-users-well/#comments</comments>
		<pubDate>Thu, 06 Mar 2008 14:18:42 +0000</pubDate>
		<dc:creator>LightningCrash</dc:creator>
		
		<category><![CDATA[fail]]></category>

		<category><![CDATA[quicken]]></category>

		<guid isPermaLink="false">http://icanhaslinux.com/2008/03/06/is-quicken-online-a-blessing-to-linux-users-well/</guid>
		<description><![CDATA[Words passed my ears not so long ago that filled my heart with hope. &#8220;Have you looked at Quicken Online?&#8221;
A prompt buzz of the site showed some promise, much like a pre-psychotic Britney Spears. At a paltry $3/mo, who could argue with that pricing, either? My fond memories of the Quicken application under Windows led [...]]]></description>
			<content:encoded><![CDATA[<p>Words passed my ears not so long ago that filled my heart with hope. &#8220;Have you looked at Quicken Online?&#8221;</p>
<p>A prompt buzz of the site showed some promise, much like a pre-psychotic Britney Spears. At a paltry $3/mo, who could argue with that pricing, either? My fond memories of the Quicken application under Windows led me to believe that finally, I could have my Quicken functionality back, but under Linux. Or, for that matter, independent of any operating system.</p>
<p>I was wrong.</p>
<p>You see, the real Quicken application does a mighty number of wonderful deeds, carefully crafted to the exacting specifications that you&#8217;ve come to accept from Intuit since the widespread adoption of Quicken in the early nineties. I don&#8217;t need to explain to you what the real Quicken does, though. I merely have to show you what the online version does.</p>
<p>In extended detail, what Quicken Online does for you:</p>
<ol>
<li>Downloads your data from your financial institutions</li>
<li>Lets you categorize it</li>
<li>Puts it in a pie chart</li>
</ol>
<p>Let&#8217;s pretend for a moment that the above is actually useful.  What can you do with the above? I&#8217;ve come up with some clever ideas.</p>
<ol>
<li>Spend more money in an attempt to make one part of the pie bigger than the other</li>
<li>Point out the pie to random people in your office building</li>
<li>Pretend that the pie chart is an actual, multi-colored pie</li>
<li>Go buy a real pie</li>
<li>Tell your friends you&#8217;re so utterly independent of Micro$h4ft Winblows that you don&#8217;t even need Quicken for Windows, even under WINE support</li>
<li>Go to the liquor store and buy some real WINE support</li>
<li>Run those damn kids off your lawn</li>
</ol>
<p>I have to wonder what the development plan was for Quicken Online. Perhaps the business case went a bit like this:</p>
<ol>
<li>Create a quick webapp and call it Quicken Online</li>
<li>Market the webapp</li>
<li>???</li>
<li>PROFIT!!</li>
</ol>
<p>I give this application a C for effort, and an F for execution.</p>
<p>Of course, F is for Fail.</p>
<p>-LightningCrash</p>
]]></content:encoded>
			<wfw:commentRss>http://icanhaslinux.com/2008/03/06/is-quicken-online-a-blessing-to-linux-users-well/feed/</wfw:commentRss>
		<feedburner:origLink>http://icanhaslinux.com/2008/03/06/is-quicken-online-a-blessing-to-linux-users-well/</feedburner:origLink></item>
		<item>
		<title>watch what `watch` can do</title>
		<link>http://feeds.feedburner.com/~r/ICanHasLinux/~3/213413571/</link>
		<comments>http://icanhaslinux.com/2008/01/08/watch-what-watch-can-do/#comments</comments>
		<pubDate>Tue, 08 Jan 2008 21:24:21 +0000</pubDate>
		<dc:creator>LightningCrash</dc:creator>
		
		<category><![CDATA[watch]]></category>

		<guid isPermaLink="false">http://icanhaslinux.com/2008/01/08/watch-what-watch-can-do/</guid>
		<description><![CDATA[I've been running a lot of scripts recently that require me to check on things that I can't monitor with `tail -f logname`. Mainly to keep an eye on a process and get information about the processes running that I'm interested in. Periodically, one hangs and I like to just jump back to it and kill it.

Watch to the rescue!]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been running a lot of scripts recently that require me to check on things that I can&#8217;t monitor with `<code>tail -f logname</code>`. Mainly to keep an eye on a process and get information about the processes running that I&#8217;m interested in. Periodically, one hangs and I like to just jump back to it and kill it.</p>
<p>Watch to the rescue!</p>
<p>Watch executes a command at a specified period. For instance, if I&#8217;m extracting a file and want to monitor the progress, I can simply type:<br />
<code><br />
watch 'ls -la filename.ext'</code></p>
<p>and I will get the output from `<code>ls -la filename.ext</code>` every 2 seconds.</p>
<p>If my internet connection is down and I am impatiently waiting for it to come back up, I can run:</p>
<p><code>watch -n15 'ping -c1 www.google.com'<br />
</code><br />
If I&#8217;m forking processes in a Bash script and want to make sure none of them are hung:</p>
<p><code>watch -n2 'ps ax|grep [p]rocessname'</code></p>
<p>It&#8217;s very handy!</p>
<p>I periodically come across an issue whereby `<code>tail -f /var/log/syslog</code>` will hang after operating for a couple of hours. I solve this by using the following instead:</p>
<p><code>watch -n5 'tail  -n20 /var/log/syslog'</code></p>
<p>`man watch` to find more uses for this program. I tried `woman watch` but apparently Linux doesn&#8217;t carry those.</p>
<p>and holy sweet crap, it&#8217;s been a long time since I wrote an article on this site!</p>
<p>Until next time,</p>
<p>-LightningCrash</p>
]]></content:encoded>
			<wfw:commentRss>http://icanhaslinux.com/2008/01/08/watch-what-watch-can-do/feed/</wfw:commentRss>
		<feedburner:origLink>http://icanhaslinux.com/2008/01/08/watch-what-watch-can-do/</feedburner:origLink></item>
		<item>
		<title>Howto: Random E-mail Signature in Evolution</title>
		<link>http://feeds.feedburner.com/~r/ICanHasLinux/~3/171684081/</link>
		<comments>http://icanhaslinux.com/2007/10/18/howto-random-e-mail-signature-in-evolution/#comments</comments>
		<pubDate>Thu, 18 Oct 2007 17:32:16 +0000</pubDate>
		<dc:creator>LightningCrash</dc:creator>
		
		<category><![CDATA[evolution]]></category>

		<guid isPermaLink="false">http://icanhaslinux.com/2007/10/18/howto-random-e-mail-signature-in-evolution/</guid>
		<description><![CDATA[I include Latin phrases in my e-mail signature at work. It&#8217;s a fun little thing I do just to make people interested.
So I decided to make a signature that would include a random Latin phrase in every e-mail I send.  Thankfully, Evolution makes this easy.
First, I make a text file which I call sigquotes.txt [...]]]></description>
			<content:encoded><![CDATA[<p>I include Latin phrases in my e-mail signature at work. It&#8217;s a fun little thing I do just to make people interested.</p>
<p>So I decided to make a signature that would include a random Latin phrase in every e-mail I send.  Thankfully, Evolution makes this easy.</p>
<p>First, I make a text file which I call sigquotes.txt , and stash it in my home directory, under a folder for personal items. I put one quote per line.</p>
<p>Next, I have to write a little ditty to grab a random line from that file and output the results.  I used PHP for this, but almost anything could have worked. I dump the following into sigrand.php :<br />
<code>&lt;?<br />
$quoteFile = "/home/icanhaslinux/personal/sigquotes.txt";</code></p>
<p><code>$fp = fopen($quoteFile, "r");<br />
$content = fread($fp, filesize($quoteFile));<br />
$quotes = explode("\n",$content);<br />
fclose($fp);</code></p>
<p><code>srand((double)microtime()*1000000);<br />
$index = (rand(1, sizeof($quotes)) - 1);</code></p>
<p><code>echo "________&lt;br&gt;LightningCrash&lt;br&gt;Resident Unix Witchdoctor&lt;br&gt;&lt;br&gt;";<br />
echo $quotes[$index] . "&lt;br&gt;";<br />
?&gt;</code></p>
<p>Easy enough. I had problems getting the php itself to run as a script, so I had to make another short script to launch the PHP file. I put the following into sigrand.sh :<br />
<code><br />
/usr/bin/php5-cgi -q /home/icanhaslinux/personal/sigrand.php<br />
</code></p>
<p>I <em>chmod +x sigrand.sh</em> and go on my way to the next step.</p>
<p>I fire up Evolution, go to Edit-&gt;Preferences. I go to Composer Preferences and click on Signatures. Then I click on the &#8220;Add Script&#8221; button, name it Random Latin, navigate to /home/icanhaslinux/personal, and select sigrand.sh as my signature script.</p>
<p>That part is done. Now to make it default for my outgoing e-mail. From the Preferences page, I click edit on my e-mail account. On this page, I have a drop-down box where I can select my signature for this account. I select Random Latin, of course. I then click OK and Close.</p>
<p>Now, to test it out, just fire up a new e-mail.</p>
<p>Until next time!<br />
-LightningCrash</p>
<p>EDIT:   It&#8217;s been requested that I make clear what license this code is issued under. I consider the code snippets on this article to be public domain and not subject to licensing. Use the code in this article as you see fit.</p>
]]></content:encoded>
			<wfw:commentRss>http://icanhaslinux.com/2007/10/18/howto-random-e-mail-signature-in-evolution/feed/</wfw:commentRss>
		<feedburner:origLink>http://icanhaslinux.com/2007/10/18/howto-random-e-mail-signature-in-evolution/</feedburner:origLink></item>
		<item>
		<title>Just for SB @ Microsoft</title>
		<link>http://feeds.feedburner.com/~r/ICanHasLinux/~3/167691195/</link>
		<comments>http://icanhaslinux.com/2007/10/09/just-for-sb-microsoft/#comments</comments>
		<pubDate>Wed, 10 Oct 2007 00:24:14 +0000</pubDate>
		<dc:creator>LightningCrash</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://icanhaslinux.com/2007/10/09/just-for-sb-microsoft/</guid>
		<description><![CDATA[

&#160;
You gotta love Fair Use.  
]]></description>
			<content:encoded><![CDATA[<p align="center"><a href="http://icanhaslinux.com/wp-content/uploads/2007/10/steveballmershands.jpg" title="steveballmershands.jpg" ><img src="http://icanhaslinux.com/wp-content/uploads/2007/10/steveballmershands.jpg" alt="steveballmershands.jpg" border="0" /></a></p>
<p align="center"><img src="http://icanhaslinux.com/wp-content/uploads/2007/10/11-02ballmer_lg.jpg" alt="11-02ballmer_lg.jpg" border="0" /></p>
<p align="center">&nbsp;</p>
<p align="center">You gotta love Fair Use. <img src='http://icanhaslinux.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://icanhaslinux.com/2007/10/09/just-for-sb-microsoft/feed/</wfw:commentRss>
		<feedburner:origLink>http://icanhaslinux.com/2007/10/09/just-for-sb-microsoft/</feedburner:origLink></item>
		<item>
		<title>De-RIAAing my music collection</title>
		<link>http://feeds.feedburner.com/~r/ICanHasLinux/~3/165749766/</link>
		<comments>http://icanhaslinux.com/2007/10/05/de-riaaing-my-music-collection/#comments</comments>
		<pubDate>Fri, 05 Oct 2007 15:34:00 +0000</pubDate>
		<dc:creator>LightningCrash</dc:creator>
		
		<category><![CDATA[grep]]></category>

		<category><![CDATA[findutils]]></category>

		<category><![CDATA[music]]></category>

		<category><![CDATA[riaa]]></category>

		<category><![CDATA[sed]]></category>

		<category><![CDATA[awk]]></category>

		<category><![CDATA[xargs]]></category>

		<guid isPermaLink="false">http://icanhaslinux.com/2007/10/05/de-riaaing-my-music-collection/</guid>
		<description><![CDATA[I recently decided that I won&#8217;t own any music from an artist that is represented by the RIAA. Now, how do I go about De-RIAAing my ripped albums?
RIAA Radar has a website that will let you search for artists, albums, keywords, etc and it will give you information as to whether or not an album [...]]]></description>
			<content:encoded><![CDATA[<p align="left">I recently decided that I won&#8217;t own any music from an artist that is represented by the RIAA. Now, how do I go about De-RIAAing my ripped albums?</p>
<p align="left"><a href="http://www.riaaradar.com/" onclick="javascript:urchinTracker ('/outbound/article/www.riaaradar.com');">RIAA Radar</a> has a website that will let you search for artists, albums, keywords, etc and it will give you information as to whether or not an album was released under the RIAA.</p>
<p align="left">So I did a view-source on their search page and determined that there are only three variables that you need to POST in order to search: searchtype, keyword, and submit.</p>
<p align="left">I can use wget to grab the file, like so:<br />
<code>wget http://www.riaaradar.com/search.asp --post-data "searchtype=ArtistSearch&amp;keyword=Audioslave&amp;submit=Go\!" -O Audioslave</code></p>
<p align="left">This saves the file as Audioslave. Audioslave IS represented by the RIAA, by the way.</p>
<p align="left">Now, how do I take my ripped albums and compare them to the RIAA Radar site?</p>
<p align="left"> <a href="http://icanhaslinux.com/2007/10/05/de-riaaing-my-music-collection/#more-59" class="more-link" >(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://icanhaslinux.com/2007/10/05/de-riaaing-my-music-collection/feed/</wfw:commentRss>
		<feedburner:origLink>http://icanhaslinux.com/2007/10/05/de-riaaing-my-music-collection/</feedburner:origLink></item>
		<item>
		<title>5 ways to drop yourself reminders/alarms in Linux</title>
		<link>http://feeds.feedburner.com/~r/ICanHasLinux/~3/164752987/</link>
		<comments>http://icanhaslinux.com/2007/10/03/5-ways-to-drop-yourself-reminders-in-linux/#comments</comments>
		<pubDate>Wed, 03 Oct 2007 15:47:50 +0000</pubDate>
		<dc:creator>LightningCrash</dc:creator>
		
		<category><![CDATA[reminders]]></category>

		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://icanhaslinux.com/2007/10/03/5-ways-to-drop-yourself-reminders-in-linux/</guid>
		<description><![CDATA[A lot of services on the web offer wake up calls, reminder calls, or just other services meant to drop you an e-mail or phone call at a specific time. You can do many of these things via a Linux box, and maybe save yourself some money in the process.

Send yourself a one-time reminder e-mail [...]]]></description>
			<content:encoded><![CDATA[<p>A lot of services on the web offer wake up calls, reminder calls, or just other services meant to drop you an e-mail or phone call at a specific time. You can do many of these things via a Linux box, and maybe save yourself some money in the process.</p>
<ol>
<li>Send yourself a one-time reminder e-mail about something.</li>
<p>You can do this via the handy &#8216;at&#8217; command. For instance, if I wanted to shoot myself an e-mail after work reminding me to pick up my laundry from the dry cleaners, I could do the following:<br />
<code>echo "mail -s 'Get dry cleaning' me@myemailaddress.com &lt; /dev/null" | at 17:45</code></p>
<p>I can also send this e-mail to my cell phone, giving me another reminder away from my computer. US AT&amp;T users can send messages to their telephone number @txt.att.net and it will be received as an SMS message on the phone.</p>
<li>Pop up a one-time reminder on your computer about something.</li>
<p>The &#8216;at&#8217; command comes in handy again. If I want to remind myself to let my dogs in from the back yard, I can simply type:<br />
<code>echo "DISPLAY=$DISPLAY xmessage Let dogs in!" | at 18:15</code></p>
<p>At 6:15, a little message box will pop up telling me to let the dogs in.<br />
You can also specify times for &#8216;at&#8217; by using NOW + interval.<br />
For instance, using<br />
<code>at "NOW + 30 minutes"</code></p>
<p>will give me an execution time of 30 minutes from now. I could use hours, days, or weeks to get whatever effect I wanted. In addition, an e-mail log of everything will be sent to my local e-mail account, detailing what went on.</p>
<li>Alarm Clock with &#8216;at&#8217;</li>
<p>If you need to wake up early one morning, or you want to wake up from a nap, you can use your computer as an alarm clock and play an MP3 for you to wake up to. This one is straightforward enough. You&#8217;ll need mpg321 installed to use this, and know the path to the mp3 file you want to play.<br />
<code>echo "mpg321 ~/Trivium/Rain.mp3" | at 5:30AM</code></p>
<p>You&#8217;ll have to execute <code>pkill mpg321</code> in a terminal to make it shut up, though.</p>
<li>Alarm Clock with &#8216;cron&#8217;</li>
<p>Now we&#8217;re going to do the same thing, but on every weekday of every month.<br />
Execute <code>crontab -e</code> and then type in the following:<br />
<code>30 5 * * 1-5 mpg321 ~/Trivium/Rain.mp3 &gt;/dev/null</code></p>
<p>Now, every weekday at 5:30, you&#8217;ll get that mp3 blasting out over your speakers. Obviously you&#8217;ll need to specify your own MP3 file. You&#8217;ll also need to execute <code>pkill mpg321</code> to make this one shut up. Your spouse may not like this idea, but assure your spouse that it will make you wake up more easily.</p>
<li>Alarm Clock with KAlarm</li>
<p>You&#8217;ll need to install KAlarm for this one. KAlarm will let you run XWindows applications (or even command line apps) via a cron-like process. It can also send e-mails and pop up messages. Check out their documentation <a href="http://www.astrojar.org.uk/kalarm/doc/index.html" onclick="javascript:urchinTracker ('/outbound/article/www.astrojar.org.uk');">here</a>.<br />
You can schedule MP3s with XMMS and Totem much in the same way as you can mpg321.<br />
<code>xmms ~/Trivium/Rain.mp3</code><br />
<code>totem ~/Trivium/Rain.mp3</code></p>
<p>You can set up Kalarm to run these programs and blast out your music for a specified time. If you haven&#8217;t killed the application within that set time period, Kalarm can kill it for you. Which is handy when you&#8217;re not home and you have heavy metal blasting through your 7.1 Surround Sound speakers at 5:30 in the morning for your neighbors to hear. Eviction isn&#8217;t high on anybody&#8217;s priorities list.</ol>
<p>Did I miss anything? Leave it in the comments section.<br />
Until next time!<br />
-LightningCrash</p>
]]></content:encoded>
			<wfw:commentRss>http://icanhaslinux.com/2007/10/03/5-ways-to-drop-yourself-reminders-in-linux/feed/</wfw:commentRss>
		<feedburner:origLink>http://icanhaslinux.com/2007/10/03/5-ways-to-drop-yourself-reminders-in-linux/</feedburner:origLink></item>
		<item>
		<title>Amazon S3 Backups</title>
		<link>http://feeds.feedburner.com/~r/ICanHasLinux/~3/163822836/</link>
		<comments>http://icanhaslinux.com/2007/10/01/amazon-s3-backups/#comments</comments>
		<pubDate>Mon, 01 Oct 2007 18:28:01 +0000</pubDate>
		<dc:creator>LightningCrash</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://icanhaslinux.com/2007/10/01/amazon-s3-backups/</guid>
		<description><![CDATA[I really like the affordability of Amazon&#8217;s S3 service. I don&#8217;t need to back up a lot of data, but I do need it available anywhere I have an internet connection. I also need it to be automated. S3 lets me have those features.
I back up my personal e-mail server, my home desktop, and my [...]]]></description>
			<content:encoded><![CDATA[<p>I really like the affordability of Amazon&#8217;s S3 service. I don&#8217;t need to back up a lot of data, but I do need it available anywhere I have an internet connection. I also need it to be automated. S3 lets me have those features.</p>
<p>I back up my personal e-mail server, my home desktop, and my MythTV box to Amazon&#8217;s S3 service. I run weekly full backups of select directories on my desktop, and then incrementals throughout the week. My MythTV box backs up its database on its own, so I just tarball the output and dump it to a folder on my desktop machine, which gets put on S3 when the backup job runs. My mail server runs full backups of select directories every night.</p>
<p>I used some bits and pieces from Paul Stamatiou&#8217;s article on S3 backups. You can read that article <a href="http://paulstamatiou.com/2007/07/29/how-to-bulletproof-server-backups-with-amazon-s3/" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/paulstamatiou.com');">here</a>.</p>
<p>I added in some bits and pieces for using an include/exclude file, and modified it to run incrementals on my desktop. I also got to use mktemp to do some of my bidding, which was very handy.</p>
<p>All told, my Amazon S3 bill for last month was $1.48 for ~8GB of transfer in, and ~3.7 storage GB/mo. I pair down my stored files weekly to meet some retention guidelines, so that contributed some to my low bill.</p>
<p>But all in all, I&#8217;m VERY impressed with S3. I definitely got my $1.48 worth! <img src='http://icanhaslinux.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://icanhaslinux.com/2007/10/01/amazon-s3-backups/feed/</wfw:commentRss>
		<feedburner:origLink>http://icanhaslinux.com/2007/10/01/amazon-s3-backups/</feedburner:origLink></item>
	</channel>
</rss>
