<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>amychr</title>
	<atom:link href="http://amychr.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://amychr.wordpress.com</link>
	<description>geeky ravings and useful little apps</description>
	<lastBuildDate>Tue, 28 Apr 2009 12:55:35 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<image>
		<url>http://www.gravatar.com/blavatar/be75f1a1620a2a38cfe3385607172056?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>amychr</title>
		<link>http://amychr.wordpress.com</link>
	</image>
			<item>
		<title>Rename files the easy way in OS X</title>
		<link>http://amychr.wordpress.com/2009/04/29/rename-files-the-easy-way-in-os-x/</link>
		<comments>http://amychr.wordpress.com/2009/04/29/rename-files-the-easy-way-in-os-x/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 12:54:02 +0000</pubDate>
		<dc:creator>amychr</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[root]]></category>

		<guid isPermaLink="false">http://amychr.wordpress.com/2009/04/29/rename-files-the-easy-way-in-os-x/</guid>
		<description><![CDATA[Can&#8217;t find that unix rename command to change filename in batches? Here&#8217;s a way to do what you need without rename in the terminal.
Step 1: try out the command first without hurting any files!
ls foo*.jpg &#124; awk '{print("mv "$1" "$1)}' &#124; sed 's/foo/bar/2'
This will just print out a list of changes that could be made. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amychr.wordpress.com&blog=3209200&post=57&subd=amychr&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Can&#8217;t find that unix rename command to change filename in batches? Here&#8217;s a way to do what you need without rename in the terminal.</p>
<p>Step 1: try out the command first without hurting any files!</p>
<pre>ls foo*.jpg | awk '{print("mv "$1" "$1)}' | sed 's/foo/bar/2'</pre>
<p>This will just print out a list of changes that could be made. foo*.jpg is the search for files to change. foo is the text to search for and bar is what to replace it with.</p>
<p>Step 2: Ready to make some changes? the same command as before with a little extra will change all those filenames with no need to open automator.</p>
<pre>ls foo*.jpg | awk '{print("mv "$1" "$1)}' | sed 's/foo/bar/2' | /bin/sh</pre>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amychr.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amychr.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amychr.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amychr.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amychr.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amychr.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amychr.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amychr.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amychr.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amychr.wordpress.com/57/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amychr.wordpress.com&blog=3209200&post=57&subd=amychr&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://amychr.wordpress.com/2009/04/29/rename-files-the-easy-way-in-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b15407310a8193b943afc0af0c8e1e18?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">amy</media:title>
		</media:content>
	</item>
		<item>
		<title>PyStones done</title>
		<link>http://amychr.wordpress.com/2009/02/17/pystones-done/</link>
		<comments>http://amychr.wordpress.com/2009/02/17/pystones-done/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 06:23:36 +0000</pubDate>
		<dc:creator>amychr</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[downloads]]></category>
		<category><![CDATA[pystones]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://amychr.wordpress.com/?p=54</guid>
		<description><![CDATA[I finally finished PyStones today! (well.. it does what it&#8217;s supposed to without crashing anyway.) All the major problems are gone and it should work now in any *nix/Mac environment with python. Download version 12 now!!
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amychr.wordpress.com&blog=3209200&post=54&subd=amychr&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I finally finished PyStones today! (well.. it does what it&#8217;s supposed to without crashing anyway.) All the major problems are gone and it should work now in any *nix/Mac environment with python. <a title="download version 12" href="http://py-stones.googlecode.com/files/stones-12.py">Download version 12</a> now!!</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amychr.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amychr.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amychr.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amychr.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amychr.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amychr.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amychr.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amychr.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amychr.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amychr.wordpress.com/54/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amychr.wordpress.com&blog=3209200&post=54&subd=amychr&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://amychr.wordpress.com/2009/02/17/pystones-done/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b15407310a8193b943afc0af0c8e1e18?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">amy</media:title>
		</media:content>
	</item>
		<item>
		<title>You Can Use Your Console For That</title>
		<link>http://amychr.wordpress.com/2009/01/19/you-can-use-your-console-for-that/</link>
		<comments>http://amychr.wordpress.com/2009/01/19/you-can-use-your-console-for-that/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 08:07:07 +0000</pubDate>
		<dc:creator>amychr</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[misc]]></category>
		<category><![CDATA[console]]></category>

		<guid isPermaLink="false">http://amychr.wordpress.com/?p=52</guid>
		<description><![CDATA[In the spirit of promoting linux applications for Mac and others, here are some apps which do a surprising amount without ever leaving your console.

Irssi &#8211; irc chat with heaps of features
Canto &#8211; rss feed reader
CenterIM &#8211; multi-protocol instant messenger
Mutt - mature and powerful mail reader. &#8220;All mail clients suck. This one just sucks less.&#8221;
Mplayer [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amychr.wordpress.com&blog=3209200&post=52&subd=amychr&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In the spirit of promoting linux applications for Mac and others, here are some apps which do a surprising amount without ever leaving your console.</p>
<ol>
<li><strong><a href="http://www.irssi.org/">Irssi</a></strong> &#8211; irc chat with heaps of features</li>
<li><strong><a href="http://codezen.org/canto/">Canto</a></strong> &#8211; rss feed reader</li>
<li><strong><a href="http://www.centerim.org/index.php/Main_Page">CenterIM</a></strong> &#8211; multi-protocol instant messenger</li>
<li><strong><a href="http://www.mutt.org/">Mutt</a> </strong>- mature and powerful mail reader. &#8220;All mail clients suck. This one just sucks less.&#8221;</li>
<li><strong>Mplayer</strong> &#8211; the swiss-army-knife of media players. Ok, it does require X to see the video, but you get the idea.</li>
<li><strong><a href="http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki">mpd</a> with <a href="http://unkart.ovh.org/ncmpcpp/">ncmpcpp</a></strong> &#8211; flexible, lightweight music server and controller</li>
<li><strong><a href="http://www.luga.de/pytone/">PyTone</a></strong> &#8211; python-ncurses based jukebox</li>
<li><strong><a href="http://linuxbrit.co.uk/feh/">feh</a></strong> &#8211; set your background or view a slideshow</li>
<li><strong><a href="http://waxandwane.org/beeswax/commands.html" target="_blank">beeswax</a></strong> &#8211; keep track of tasks using the GTD method</li>
<li><strong><a href="http://waxandwane.org/sgtd/view.cgi">sgtd</a></strong> &#8211; more of the same</li>
<li><strong><a href="http://www.vim.org/">vim</a></strong> &#8211; the only editor a programmer will ever need. There&#8217;s good reason to use vim instead of vi. Trust me.</li>
</ol>
<p>Most of these are available in pacman if you&#8217;re using Arch linux, or in the AUR. Some, like Beeswax are ready to be compiled on a mac with only a few changes.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amychr.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amychr.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amychr.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amychr.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amychr.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amychr.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amychr.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amychr.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amychr.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amychr.wordpress.com/52/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amychr.wordpress.com&blog=3209200&post=52&subd=amychr&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://amychr.wordpress.com/2009/01/19/you-can-use-your-console-for-that/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b15407310a8193b943afc0af0c8e1e18?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">amy</media:title>
		</media:content>
	</item>
		<item>
		<title>moviestar has a new home</title>
		<link>http://amychr.wordpress.com/2008/12/05/moviestar-has-a-new-home/</link>
		<comments>http://amychr.wordpress.com/2008/12/05/moviestar-has-a-new-home/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 02:26:49 +0000</pubDate>
		<dc:creator>amychr</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[downloads]]></category>

		<guid isPermaLink="false">http://amychr.wordpress.com/?p=50</guid>
		<description><![CDATA[It&#8217;s come to my attention that moviestar is no longer downloadable from Macupdate. This is (for once) my fault since I never updated the link there. I&#8217;ve moved the project to a new home at googlecode where it is once again available for download. Here are the updated links:
Moviestar at googlecode
Moviestar download
    [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amychr.wordpress.com&blog=3209200&post=50&subd=amychr&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>It&#8217;s come to my attention that moviestar is no longer downloadable from Macupdate. This is (for once) my fault since I never updated the link there. I&#8217;ve moved the project to a new home at googlecode where it is once again available for download. Here are the updated links:</p>
<p><a title="Moviestar has moved to Google Code Projects" href="http://movie-star.googlecode.com/">Moviestar at googlecode</a></p>
<p><a title="Moviestar Download" href="http://movie-star.googlecode.com/files/Moviestar1.5.dmg">Moviestar download</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amychr.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amychr.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amychr.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amychr.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amychr.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amychr.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amychr.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amychr.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amychr.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amychr.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amychr.wordpress.com&blog=3209200&post=50&subd=amychr&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://amychr.wordpress.com/2008/12/05/moviestar-has-a-new-home/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b15407310a8193b943afc0af0c8e1e18?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">amy</media:title>
		</media:content>
	</item>
		<item>
		<title>setting up MPD</title>
		<link>http://amychr.wordpress.com/2008/11/13/tip-of-the-day-setting-up-mpd/</link>
		<comments>http://amychr.wordpress.com/2008/11/13/tip-of-the-day-setting-up-mpd/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 00:41:56 +0000</pubDate>
		<dc:creator>amychr</dc:creator>
				<category><![CDATA[root]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://amychr.wordpress.com/?p=45</guid>
		<description><![CDATA[Setting up the Music Player Daemon (MPD) can be easy and fast with a little help. Here&#8217;s what to do to get it going after installing it (with apt, emerge, pacman etc):
rm /etc/mpd.conf
(just in case)
vim /etc/mpd.conf
(put in it and change to suit)
music_directory        &#8220;~/music&#8221;
playlist_directory    &#8220;~/music/playlists&#8221;
db_file                &#8220;~/.mpd/db&#8221;
log_file            &#8220;~/.mpd/log&#8221;
error_file            &#8220;~/.mpd/error&#8221;
pid_file    [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amychr.wordpress.com&blog=3209200&post=45&subd=amychr&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Setting up the Music Player Daemon (MPD) can be easy and fast with a little help. Here&#8217;s what to do to get it going after installing it (with apt, emerge, pacman etc):</p>
<p style="text-align:left;">rm /etc/mpd.conf<br />
<strong>(just in case)</strong><br />
vim /etc/mpd.conf<br />
<strong>(put in it and change to suit)</strong><br />
music_directory        &#8220;~/music&#8221;<br />
playlist_directory    &#8220;~/music/playlists&#8221;<br />
db_file                &#8220;~/.mpd/db&#8221;<br />
log_file            &#8220;~/.mpd/log&#8221;<br />
error_file            &#8220;~/.mpd/error&#8221;<br />
pid_file            &#8220;~/.mpd/mpd.pid&#8221;<br />
state_file            &#8220;~/.mpd/mpdstate&#8221;<br />
user                &#8220;youruser&#8221;<br />
bind_to_address        &#8220;127.0.0.1&#8243;<br />
port                &#8220;6600&#8243;<br />
<strong>(save it and close)</strong><br />
mkdir ~/music<br />
mkdir ~/music/playlists<br />
<strong>(if you need to)</strong><br />
touch ~/.mpd/mpd.pid<br />
mpd &#8211;create-db<br />
<strong>(if this doesn&#8217;t work, check the user in mpd.conf)</strong><br />
mpd</p>
<p>To get it to run on bootup: (for Arch linux)</p>
<p>add mpd to /etc/rc.conf to have it on boot up.<br />
(in the DAEMONS line)</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amychr.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amychr.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amychr.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amychr.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amychr.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amychr.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amychr.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amychr.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amychr.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amychr.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amychr.wordpress.com&blog=3209200&post=45&subd=amychr&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://amychr.wordpress.com/2008/11/13/tip-of-the-day-setting-up-mpd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b15407310a8193b943afc0af0c8e1e18?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">amy</media:title>
		</media:content>
	</item>
		<item>
		<title>Quick pic of the Day</title>
		<link>http://amychr.wordpress.com/2008/08/01/quick-pic-of-the-day/</link>
		<comments>http://amychr.wordpress.com/2008/08/01/quick-pic-of-the-day/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 13:52:27 +0000</pubDate>
		<dc:creator>amychr</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[oz]]></category>
		<category><![CDATA[photo]]></category>

		<guid isPermaLink="false">http://amychr.wordpress.com/2008/08/01/quick-pic-of-the-day/</guid>
		<description><![CDATA[Not bad coming from a 2mp iPhone camera. I&#8217;m really surprised at the level of quality a color trueness this camera has. Here&#8217;s a pic of the to illustrate: 

       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amychr.wordpress.com&blog=3209200&post=44&subd=amychr&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Not bad coming from a 2mp iPhone camera. I&#8217;m really surprised at the level of quality a color trueness this camera has. Here&#8217;s a pic of the to illustrate: </p>
<p><a href="http://amychr.files.wordpress.com/2008/08/p-480-360-7a8cad86-8930-4d43-b723-f0d91ff90bdc.jpeg"><img src="http://amychr.files.wordpress.com/2008/08/p-480-360-7a8cad86-8930-4d43-b723-f0d91ff90bdc.jpeg?w=225&#038;h=300" alt="photo" width="225" height="300" class="alignnone size-full wp-image-364" /></a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/amychr.wordpress.com/44/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/amychr.wordpress.com/44/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amychr.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amychr.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amychr.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amychr.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amychr.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amychr.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amychr.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amychr.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amychr.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amychr.wordpress.com/44/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amychr.wordpress.com&blog=3209200&post=44&subd=amychr&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://amychr.wordpress.com/2008/08/01/quick-pic-of-the-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b15407310a8193b943afc0af0c8e1e18?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">amy</media:title>
		</media:content>

		<media:content url="http://amychr.files.wordpress.com/2008/08/p-480-360-7a8cad86-8930-4d43-b723-f0d91ff90bdc.jpeg" medium="image">
			<media:title type="html">photo</media:title>
		</media:content>
	</item>
		<item>
		<title>Working on pyStones</title>
		<link>http://amychr.wordpress.com/2008/07/15/working-on-pystones/</link>
		<comments>http://amychr.wordpress.com/2008/07/15/working-on-pystones/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 01:08:49 +0000</pubDate>
		<dc:creator>amychr</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[misc]]></category>
		<category><![CDATA[screen]]></category>

		<guid isPermaLink="false">http://amychr.wordpress.com/?p=38</guid>
		<description><![CDATA[I&#8217;m still working on finishing pyStone. Its starting to really come together. I think it will be at a stable version in the next few days, so it seems like a good time for a screenshot. Here&#8217;s my desktop while I&#8217;m working:

       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amychr.wordpress.com&blog=3209200&post=38&subd=amychr&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;m still working on finishing pyStone. Its starting to really come together. I think it will be at a stable version in the next few days, so it seems like a good time for a screenshot. Here&#8217;s my desktop while I&#8217;m working:</p>
<p><a href="http://amychr.files.wordpress.com/2008/07/picture-1.png"><img class="aligncenter size-thumbnail wp-image-39" src="http://amychr.files.wordpress.com/2008/07/picture-1.png?w=128&#038;h=80" alt="" width="128" height="80" /></a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/amychr.wordpress.com/38/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/amychr.wordpress.com/38/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amychr.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amychr.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amychr.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amychr.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amychr.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amychr.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amychr.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amychr.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amychr.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amychr.wordpress.com/38/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amychr.wordpress.com&blog=3209200&post=38&subd=amychr&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://amychr.wordpress.com/2008/07/15/working-on-pystones/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b15407310a8193b943afc0af0c8e1e18?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">amy</media:title>
		</media:content>

		<media:content url="http://amychr.files.wordpress.com/2008/07/picture-1.png?w=128" medium="image" />
	</item>
		<item>
		<title>Py-Stones update</title>
		<link>http://amychr.wordpress.com/2008/07/13/py-stones-update/</link>
		<comments>http://amychr.wordpress.com/2008/07/13/py-stones-update/#comments</comments>
		<pubDate>Sun, 13 Jul 2008 03:24:26 +0000</pubDate>
		<dc:creator>amychr</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[downloads]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://amychr.wordpress.com/?p=34</guid>
		<description><![CDATA[There is a new version of py-stones at my googlecode page today. I fixed the input-line bug and changed the interface some, so check it out.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amychr.wordpress.com&blog=3209200&post=34&subd=amychr&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>There is a <a title="py-stones 10d" href="http://py-stones.googlecode.com">new version of py-stones</a> at my googlecode page today. I fixed the input-line bug and changed the interface some, so check it out.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/amychr.wordpress.com/34/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/amychr.wordpress.com/34/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amychr.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amychr.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amychr.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amychr.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amychr.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amychr.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amychr.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amychr.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amychr.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amychr.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amychr.wordpress.com&blog=3209200&post=34&subd=amychr&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://amychr.wordpress.com/2008/07/13/py-stones-update/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b15407310a8193b943afc0af0c8e1e18?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">amy</media:title>
		</media:content>
	</item>
		<item>
		<title>Quick DNS setup guide for Leopard</title>
		<link>http://amychr.wordpress.com/2008/05/15/quick-dns-setup-guide-for-leopard/</link>
		<comments>http://amychr.wordpress.com/2008/05/15/quick-dns-setup-guide-for-leopard/#comments</comments>
		<pubDate>Thu, 15 May 2008 07:47:45 +0000</pubDate>
		<dc:creator>amychr</dc:creator>
				<category><![CDATA[root]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://amychr.wordpress.com/?p=30</guid>
		<description><![CDATA[Ready for a quick setup of DNS server bind on OS X? Here we go! You need admin access rights to do this, so to make it easy, I suggest you do all the file editing in the terminal with vi or pico. This guide is best for a one domain, one IP setup, although [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amychr.wordpress.com&blog=3209200&post=30&subd=amychr&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Ready for a quick setup of DNS server bind on OS X? Here we go! You need admin access rights to do this, so to make it easy, I suggest you do all the file editing in the terminal with vi or pico. This guide is best for a one domain, one IP setup, although it is true for any configuration with some changes. Use this guide if you know nothing about DNS and want to set things up quick or if you know what you’re doing and need to know which files OS X is using.     &#8230;.<em>not valid for Leopard Server!</em></p>
<ol>
<li>Open <strong>/etc/named.conf</strong> in your favorite editor (or <strong>sudo vi /etc/named.conf</strong>)</li>
<li><img class="alignright size-full wp-image-31" src="http://amychr.files.wordpress.com/2008/05/namedconf-change-1.jpg?w=187&#038;h=49" alt="First change to named.conf" width="187" height="49" />Add a foward zone for each do main, like this. The zone is the name of the domain you want to host and the file is what file will have to domain’s configuration in it. You need one for each domain you’re hosting. </li>
<li><img class="alignright size-full wp-image-32" src="http://amychr.files.wordpress.com/2008/05/namedconf-change-2.jpg?w=222&#038;h=64" alt="Second change to named.conf" width="222" height="64" />Add a reverse zone for each IP subnet which will be used for the domains.Set the zone to the first three digit groups of the subnet, backwards. So, 192.168.0.x will be written 0.168.192. I know, it’s a little weird. In both the foward and reverse files, what file name you choose is really arbitrary. You just have to be consistent. The files themselves will be in /var/named.</li>
<li>Save the changes to named.conf and close the file. The file should look something like this: (if you can&#8217;t see the whole thing, copy and paste it into an editor)</li>
<blockquote><p> </p>
<p> </p>
<p><code></p>
<pre>//
// Include keys file
//
include "/etc/rndc.key";

// Declares control channels to be used by the rndc utility.
//
// It is recommended that 127.0.0.1 be the only address used.
// This also allows non-privileged users on the local host to manage
// your name server.

//
// Default controls
//
controls {
	inet 127.0.0.1 port 54 allow {any;}
	keys { "rndc-key"; };
};

options {
	directory "/var/named";
	/*
	 * If there is a firewall between you and nameservers you want
	 * to talk to, you might need to uncomment the query-source
	 * directive below.  Previous versions of BIND always asked
	 * questions using port 53, but BIND 8.1 uses an unprivileged
	 * port by default.
	 */
	// query-source address * port 53;
};
//
// a caching only nameserver config
//
zone "." IN {
	type hint;
	file "named.ca";
};

zone "localhost" IN {
	type master;
	file "localhost.zone";
	allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
	type master;
	file "named.local";
	allow-update { none; };
};

zone "kiwimod.com" IN {
	type master;
	file "named.kiwimod.com";
};

zone "129.234.60.in-addr.arpa" IN {
	type master;
	file "named.129.234.60";
	allow-update { none; };
};

logging {
        category default {
                _default_log;
        };

        channel _default_log  {
                file "/Library/Logs/named.log";
                severity info;
                print-time yes;
        };
};</pre>
<p></code> </p>
<p> </p></blockquote>
<li>Save the changes to <span><strong>named.conf</strong></span> and close the file.</li>
<li>Create the foward zone file we specified earlier (<span><strong>named.kiwimod.com</strong></span>) in <span><strong>/var/named</strong></span>. This directory will also contain <span><strong>named.local</strong></span> and <span><strong>named.ca</strong></span>. Just leave these files alone. They are fine as they are.</li>
<li>Open the file in an editor. (Again, sudo is very useful for this.) Type in this, changing the names to fit your site:</li>
<blockquote><p> </p>
<p> </p>
<p> </p>
<p><code></p>
<pre>; DNS for KiwiMod.com

$TTL 86400  ; 1 day
kiwimod.com.          IN  SOA ns.kiwimod.com. admin.kiwimod.com. (
                          2003040101      ; Serial
                          10800           ; Refresh after 3 hours
                          3600            ; Retry after 1 hour
                          604800          ; Expire after 1 week
                          86400 )         ; Minimum TTL of 1 day

; name servers
@	IN	NS	ns.kiwimod.com.
@	IN	MX	10 mail.kiwimod.com.

; host to address mappings
@		IN	A		60.234.129.2
mail		IN	A		60.234.129.2
ns		IN	A		60.234.129.2
; aliases
www		IN	CNAME	mail
amy		IN	CNAME	mail</pre>
<p></code> </p></blockquote>
<li>Save and close the file.</li>
<li>Create the reverse zone file (<span><strong>named.129.234.60</strong></span> or whatever you called it) in <span><strong>/var/named</strong></span>. Edit the file to read:</li>
<blockquote><p> </p>
<p> </p>
<p> </p>
<p><code></p>
<pre>; Reverse lookup for 60.234.129.2
$TTL 86400  ; 1 day
129.234.60.in-addr.arpa  IN  SOA ns.kiwimod.com. root.kiwimod.com. (
                            2003040101      ; Serial
                            10800           ; Refresh after 3 hours
                            3600            ; Retry after 1 hour
                            604800          ; Expire after 1 week
                            86400 )         ; Minimum TTL of 1 day

; name servers
129.234.60.in-addr.arpa  IN  NS  ns.kiwimod.com.

; address to host mappings
2                       IN  PTR kiwimod.com.
2                       IN  PTR ns.kiwimod.com.
2                       IN  PTR mail.kiwimod.com.</pre>
<p></code> </p></blockquote>
<li>Just change the IP and domain bits to be your settings. The digit 2 in address to host mappings is the last number of the IP address. In this example, only one IP is being used for the domain, but using more than one works pretty much the same way, you just need additional reverse zone files and reverse lookup settings in <span><strong>named.conf</strong></span>.</li>
</ol>
<p>That’s it. All you have to do now is start up named and see if it worked.<br />
In the terminal, type:</p>
<blockquote><p><code>sudo named -c /etc/named.conf</code></p></blockquote>
<p>to start up the nameserver. To see if the name is resolving, try digging it:</p>
<blockquote><p><code>dig kiwimod.com</code></p></blockquote>
<p>or</p>
<blockquote><p><code>dig 192.168.your.IP</code></p></blockquote>
<p>Use your own IP of course, the IP of the server that is. You should get back some information about the server, like what IP the nameserver has. If not, then something has gone horribly wrong!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/amychr.wordpress.com/30/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/amychr.wordpress.com/30/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amychr.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amychr.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amychr.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amychr.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amychr.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amychr.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amychr.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amychr.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amychr.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amychr.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amychr.wordpress.com&blog=3209200&post=30&subd=amychr&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://amychr.wordpress.com/2008/05/15/quick-dns-setup-guide-for-leopard/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b15407310a8193b943afc0af0c8e1e18?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">amy</media:title>
		</media:content>

		<media:content url="http://amychr.files.wordpress.com/2008/05/namedconf-change-1.jpg" medium="image">
			<media:title type="html">First change to named.conf</media:title>
		</media:content>

		<media:content url="http://amychr.files.wordpress.com/2008/05/namedconf-change-2.jpg" medium="image">
			<media:title type="html">Second change to named.conf</media:title>
		</media:content>
	</item>
		<item>
		<title>Serving with OS X: BIND and DNS</title>
		<link>http://amychr.wordpress.com/2008/05/15/serving-with-os-x-bind-and-dns/</link>
		<comments>http://amychr.wordpress.com/2008/05/15/serving-with-os-x-bind-and-dns/#comments</comments>
		<pubDate>Thu, 15 May 2008 06:49:20 +0000</pubDate>
		<dc:creator>amychr</dc:creator>
				<category><![CDATA[root]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://amychr.wordpress.com/?p=29</guid>
		<description><![CDATA[This is part one to setting up a basic, all-in-one server under Mac OS X. We’re going to investigate how the Mac stacks up as a server in setup and customization. For the most part, I’m going to assume you’ve either heard about or tinkered with these tools in some other *nix before.
( Skip to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amychr.wordpress.com&blog=3209200&post=29&subd=amychr&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This is part one to setting up a basic, all-in-one server under Mac OS X. We’re going to investigate how the Mac stacks up as a server in setup and customization. For the most part, I’m going to assume you’ve either heard about or tinkered with these tools in some other *nix before.</p>
<p>( <a title="DNS setup guide" href="http://amychr.wordpress.com/2008/05/15/quick-dns-setup-guide-for-leopard/">Skip to Quick Setup Guide!</a> )</p>
<p>Let’s use an example setup. You have one computer, a mac, that you want to run apache and maybe some other services on. You also want to host your own domain. You’re probably going to want to decide how the domain is going to be organized ahead of time. This makes things a lot easier when you go to setup the actual domain structure in BIND. But lets get down to some basics about DNS first.</p>
<p><strong> About DNS</strong></p>
<p>In order for networked computers to translate between a shortcut name, like google.com, and a real IP address, they have to contact a Domain Name Server. DNS servers keep a list of what computer names are associated with what address. There is a lot (a lot!) more to know about DNS than this, so I refer you to the info list at the bottom for more. Ok, so how do we do this?</p>
<p><strong> What you need</strong></p>
<ol>
<li>a domain name which has been registered for you to an IP you are using on your server.</li>
<li>a mac</li>
<li>know what hosts you need. Hosts come in front of the domain, like www or mail.</li>
</ol>
<p><strong> Putting it together, an example</strong></p>
<p>Our example is an all-in-one web, mail, and dns server. We’re going to call it kiwimod.com. OS X comes with the DNS server application, Bind, already installed and ready. (Bind and Named, pronounced name-d, are two names for one service.) We just have to add some information to the configure files to be off and running. Take a look at /etc/named.conf</p>
<p>Named.conf has the information about what domains your site is running and what files contain the configuration settings. In this file what you have to do is add a zone for each domain and each IP address your going to setup. Let’s use our example domain, kiwimod.com.</p>
<p><a title="DNS Setup guide" href="http://amychr.wordpress.com/2008/05/15/quick-dns-setup-guide-for-leopard/">Continue to the DNS setup guide&#8230;</a></p>
<p><strong> Running the daemon</strong></p>
<p>Once you’re satisfied with your setup you want to make sure Bind starts up whenever your computer does. To do this, you need to add a startup script to your mac’s startup items. We&#8217;ll cover that in another guide. See you next time!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/amychr.wordpress.com/29/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/amychr.wordpress.com/29/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amychr.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amychr.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amychr.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amychr.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amychr.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amychr.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amychr.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amychr.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amychr.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amychr.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amychr.wordpress.com&blog=3209200&post=29&subd=amychr&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://amychr.wordpress.com/2008/05/15/serving-with-os-x-bind-and-dns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b15407310a8193b943afc0af0c8e1e18?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">amy</media:title>
		</media:content>
	</item>
	</channel>
</rss>