<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><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: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:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:media="http://search.yahoo.com/mrss/" version="2.0">

<channel>
	<title>.: aaron vanderzwan :. » Development</title>
	
	<link>http://aaronvanderzwan.com/blog</link>
	<description>Smile... It'll make you feel better.</description>
	<lastBuildDate>Tue, 10 Nov 2009 18:57:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<!-- podcast_generator="podPress/8.8" -->
		<copyright>© </copyright>
		<managingEditor>akv292@gmail.com ()</managingEditor>
		<webMaster>akv292@gmail.com()</webMaster>
		<category />
		<ttl>1440</ttl>
		<itunes:keywords />
		<itunes:subtitle />
		<itunes:summary>Smile... It'll make you feel better.</itunes:summary>
		<itunes:author />
		<itunes:category text="Society &amp; Culture" />
		<itunes:owner>
			<itunes:name />
			<itunes:email>akv292@gmail.com</itunes:email>
		</itunes:owner>
		<itunes:block>No</itunes:block>
		<itunes:explicit>no</itunes:explicit>
		<itunes:image href="http://aaronvanderzwan.com/podcast_pic144.jpg" />
		<image>
			<url>http://aaronvanderzwan.com/podcast_pic144.jpg</url>
			<title>.: aaron vanderzwan :.</title>
			<link>http://aaronvanderzwan.com/blog</link>
			<width>144</width>
			<height>144</height>
		</image>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/avdevelopment" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Forward Emails from Gmail to Google Wave</title>
		<link>http://aaronvanderzwan.com/blog/2009/11/forward-emails-from-gmail-to-google-wave/</link>
		<comments>http://aaronvanderzwan.com/blog/2009/11/forward-emails-from-gmail-to-google-wave/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 17:22:39 +0000</pubDate>
		<dc:creator>Aaron Vanderzwan</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Hints / Tips]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://aaronvanderzwan.com/blog/?p=226</guid>
		<description><![CDATA[
Don&#8217;t do it! (yet)
With getting a new Google Wave account, I wanted to forward my Gmail emails to my Google Wave account.  I saw that my Google Wave account was [username]@googlewave.com so I figured I could do it.  I went into Gmail.  Followed Settings > Forward and set up Gmail to pass [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://aaronvanderzwan.com/blog/wp-content/uploads/2009/11/icons.jpg" alt="icons" title="icons" class="alignnone size-full wp-image-227" /></p>
<p><strong>Don&#8217;t do it! (yet)</strong></p>
<p>With getting a new <a href="http://wave.google.com/help/wave/about.html#video" target="_blank">Google Wave</a> account, I wanted to forward my Gmail emails to my Google Wave account.  I saw that my Google Wave account was [username]@googlewave.com so I figured I could do it.  I went into Gmail.  Followed Settings > Forward and set up Gmail to pass all of my emails on to google wave.</p>
<p>I left it on for a day or so, and maybe that was my big mistake.   I have been getting emails every 20-30 minutes that have been telling me they cannot send my emails to Google Wave, and that they will retry for the next 2 days.  They have a subject line of &#8216;Delivery Status Notification (Failure)&#8217;.  Obviously I turned off my forwarding, however now, 3 days later, they are still coming in every 20-30 minutes telling me that the email failed.</p>
<p>So moral of the story.  Don&#8217;t automatically forward your emails to Google Wave (yet!) and also, don&#8217;t leave that forward on any longer than you have to.  Google Wave is not ready for it yet and it will get REALLY annoying.</p>
]]></content:encoded>
			<wfw:commentRss>http://aaronvanderzwan.com/blog/2009/11/forward-emails-from-gmail-to-google-wave/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>focusMagic jQuery Plugin</title>
		<link>http://aaronvanderzwan.com/blog/2009/09/focusmagic-jquery-plugin/</link>
		<comments>http://aaronvanderzwan.com/blog/2009/09/focusmagic-jquery-plugin/#comments</comments>
		<pubDate>Thu, 17 Sep 2009 18:35:42 +0000</pubDate>
		<dc:creator>Aaron Vanderzwan</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[blur]]></category>
		<category><![CDATA[focus]]></category>
		<category><![CDATA[focusmagic]]></category>
		<category><![CDATA[input]]></category>
		<category><![CDATA[textarea]]></category>
		<category><![CDATA[watermark]]></category>

		<guid isPermaLink="false">http://aaronvanderzwan.com/blog/?p=216</guid>
		<description><![CDATA[This plugin is meant to expedite the basic process of making form fields empty or clear on focus and refill on blur, depending on a few specs&#8230; a watermark. The three different scenarios that I have built for are represented.  

A normal form field watermark that empties on focus and refills on blur.
A value [...]]]></description>
			<content:encoded><![CDATA[<p>This plugin is meant to expedite the basic process of making form fields empty or clear on focus and refill on blur, depending on a few specs&#8230; a watermark. The three different scenarios that I have built for are represented.  </p>
<ol>
<li>A normal form field watermark that empties on focus and refills on blur.</li>
<li>A value that is set by the server trumps anything that the plugin does.  (Note: this way, if a user has to fill out the form again because one of the fields didn&#8217;t validate, the server can send values so that the user doesn&#8217;t have to refill the whole form)</li>
<li>There may be a time when you want to ignore the plugin and keep your label visible.  Just add a &#8216;ignore&#8217; class to your label and the plugin doesn&#8217;t touch it.</li>
</ol>
<p>This solution focuses on accessibility as it does not remove the label, just moves it off the viewport. This way, if a user does not have Javascript, CSS, or uses a screen reader, they will still get normal labels.</p>
<p><a href="http://www.aaronvanderzwan.com/focusmagic/">View a demo</a><br />
<a href="http://plugins.jquery.com/project/focusmagic">Download plugin</a> (link to jQuery plugins)</p>
<p>Please let me know what you think about it, or if there is anything I should do to improve.</p>
]]></content:encoded>
			<wfw:commentRss>http://aaronvanderzwan.com/blog/2009/09/focusmagic-jquery-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>maxImage: jQuery image scaler</title>
		<link>http://aaronvanderzwan.com/blog/2009/09/maximage-jquery-image-scaler/</link>
		<comments>http://aaronvanderzwan.com/blog/2009/09/maximage-jquery-image-scaler/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 03:02:30 +0000</pubDate>
		<dc:creator>Aaron Vanderzwan</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://aaronvanderzwan.com/blog/?p=207</guid>
		<description><![CDATA[
maxImage is a jquery plugin that I wrote a few months ago that automatically scales images based on how much room they have in the browser window.  The image will always fill your browser window.  I have built a basic demo mini site for the plugin.
Note: For some reason I have lost the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.aaronvanderzwan.com/maximage" target="_blank"><img src="http://aaronvanderzwan.com/blog/wp-content/uploads/2009/09/maximagess.jpg" alt="maximage screen shot" title="maximage screen shot" class="alignnone size-full wp-image-208" /></a></p>
<p>maxImage is a jquery plugin that I wrote a few months ago that automatically scales images based on how much room they have in the browser window.  The image will always fill your browser window.  <a href="http://www.aaronvanderzwan.com/maximage" target="_blank">I have built a basic demo mini site for the plugin.</a></p>
<blockquote><p>Note: For some reason I have lost the post that originally contained the release of my plugin.  I would like a place for users of the plugin to contact me and let me know how use of the plugin is going.  Please use this space, the comment area to let me know how using maxImage is going, what you would like to see added or changed.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://aaronvanderzwan.com/blog/2009/09/maximage-jquery-image-scaler/feed/</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
		<item>
		<title>Movable Type 4.2: Custom Fields on registration / sign up form</title>
		<link>http://aaronvanderzwan.com/blog/2008/08/movable-type-42-custom-fields-on-registration-sign-up-form/</link>
		<comments>http://aaronvanderzwan.com/blog/2008/08/movable-type-42-custom-fields-on-registration-sign-up-form/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 16:10:37 +0000</pubDate>
		<dc:creator>Aaron Vanderzwan</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Movable Type]]></category>
		<category><![CDATA[Photos]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[4.2.]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[fields]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[registration]]></category>
		<category><![CDATA[sign]]></category>
		<category><![CDATA[up]]></category>

		<guid isPermaLink="false">http://aaronvanderzwan.com/blog/?p=146</guid>
		<description><![CDATA[This is a blog post about Movable Type development.  If you are uninterested in Movable Type development, then you don&#8217;t need to read this.  I have been working on building a pretty substantial website with Movable Type for the last couple of months and have learned a few things along the way.  [...]]]></description>
			<content:encoded><![CDATA[<p>This is a blog post about Movable Type development.  If you are uninterested in Movable Type development, then you don&#8217;t need to read this.  I have been working on building a pretty substantial website with Movable Type for the last couple of months and have learned a few things along the way.  This is one of those things that I learned that isn&#8217;t really documented anywhere.  I thought I would try.</p>
<p>The website that I am building allows for users to signup/create usernames/login/post entries/etc.  The goal was to require a user, when signing up, to add what company they worked for.  This is not one of the standard fields that come with Movable Type&#8217;s sign up form (we purchased the Community Solution).  What is baked in to Movable Type is the ability to create custom fields on the user object.  This is good.  It means that we can add as many fields as we want, and associate the data to a specific user, (i.e. Company, Job Title, Birthday, etc.).  MT has some documentation on allowing a user to update this custom information on their profile page (<a href="http://www.movabletype.org/documentation/community/user-profiles.html" target="_blank">http://www.movabletype.org/documentation/community/user-profiles.html</a>).  Here is the code they suggest:</p>
<blockquote><p><code>&lt;mt:loop name="field_loop"&gt;<br />
    &lt;mt:if name="__first__"&gt;<br />
    &lt;input type="hidden" name="customfield_beacon" value="1" id="customfield_beacon" /&gt;<br />
    &lt;/mt:if&gt;<br />
    <!-- start-customfield_&lt;mt:var name="basename"> --><br />
    &lt;mtapp:setting<br />
        id="$field_id"<br />
        label="$name"<br />
        hint="$description"<br />
        shown="$show_field"<br />
        show_hint="$show_hint"<br />
        required="$required"&gt;<br />
    &lt;mt:var name="field_html"&gt;<br />
    &lt;/mtapp:setting&gt;<br />
    <!-- end-customfield_&lt;mt:var name="basename"> --><br />
&lt;/mt:loop&gt;&lt;br /&gt;</code></p></blockquote>
<p>This is great if you want a user to be able to enter all of the created custom field data at once because it just loops through all of your custom fields and creates input fields for each of them.  We had about 10 custom fields on the user object and only wanted the person signing up to enter the &#8216;Company&#8217; information on signup (as to not make them feel overwhelmed with so much information to input).</p>
<p>How I accomplished only writing one field is to throw an MT if statement in there based on what the $field_id is.  In other words what your custom field&#8217;s basename is preceded by &#8220;customfield_&#8221;.</p>
<blockquote><p><code>&lt;mt:if name="field_id" eq="customfield_company"&gt;<br />
&lt;/mt:if&gt;</code></p></blockquote>
<p>With &#8220;company&#8221; my field&#8217;s basename, that made the field_id I was looking for, customfield_company.</p>
<p>My final code to display only the company custom field on the user signup form (with MT4.2):</p>
<blockquote><p><code>&lt;mt:loop name="field_loop"&gt;<br />
    &lt;mt:if name="__first__"&gt;<br />
    &lt;input type="hidden" name="customfield_beacon" value="1" id="customfield_beacon" /&gt;<br />
    &lt;/mt:if&gt;<br />
    <!-- start-customfield_&lt;mt:var name="basename"> --><br />
    &lt;mt:if name="field_id" eq="customfield_company"&gt;<br />
    &lt;mtapp:setting<br />
        id="$field_id"<br />
        label="$name"<br />
        hint="$description"<br />
        shown="$show_field"<br />
        show_hint="$show_hint"<br />
        required="$required"&gt;<br />
    &lt;mt:var name="field_html"&gt;<br />
    &lt;/mtapp:setting&gt;<br />
    &lt;/mt:if&gt;<br />
    <!-- end-customfield_&lt;mt:var name="basename"> --><br />
&lt;/mt:loop&gt;&lt;br /&gt;</code></p></blockquote>
<p><em><strong>Note:</strong> This is only possible on the user registration page after the release of <a href="http://www.movabletype.org/2008/08/movable_type_42_is_here.html" target="_blank">MovableType 4.2</a>.  Before that, I think this could only be done on the profile page.</em></p>
<p>I will update this if I learn any discrepancies in what I said.  If you find any, please let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://aaronvanderzwan.com/blog/2008/08/movable-type-42-custom-fields-on-registration-sign-up-form/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>RMagick &amp; ImageMagick from Source: Mac OSX Leopard</title>
		<link>http://aaronvanderzwan.com/blog/2008/04/rmagick-imagemagick-from-source-mac-osx-leopard/</link>
		<comments>http://aaronvanderzwan.com/blog/2008/04/rmagick-imagemagick-from-source-mac-osx-leopard/#comments</comments>
		<pubDate>Wed, 09 Apr 2008 17:23:35 +0000</pubDate>
		<dc:creator>Aaron Vanderzwan</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://aaronvanderzwan.com/blog/?p=108</guid>
		<description><![CDATA[The Problem
I know that there are a lot of dependencies that go along with installing RMagick from source on Leopard.  For this reason, I was very interested in the idea of packing all of the commands into a script and just letting it run.  If you are like me, your past with scripts has been [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-weight: bold">The Problem</span></p>
<p>I know that there are a lot of dependencies that go along with installing RMagick from source on Leopard.  For this reason, I was very interested in the idea of packing all of the commands into a script and just letting it run.  If you are like me, your past with scripts has been grey at best; i.e. there always seems to be some sort of problem that kills your script.  Then you have to search through it to find where it broke and you spend a lot of time aligning yourself with something that might not even work.</p>
<p>The reason most of these scripts will fail is that references are now broken or code deprecated.  If it fails, I then have to make sure that http://whatever.com still exists and is hosting the file and version that I need. I got to thinking&#8230; so often I would like (at least) the option of using something that is a bit older, but can be run smoothly.
</p>
<p><strong>The &#8216;Dependencies&#8217;/Libraries</strong></p>
<p>This script uses Ruby to install ImageMagick and RMagick, with the necessary dependencies for gif, jpg, png, freetype, tiff, libwmf (?), littlecms (?), and ghostscript (?).  It rely&#8217;s on these libraries:</p>
<p>
JPEG:<br />
<a href="ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz ">ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz</a></p>
<p>PNG:<br />
<a href="http://superb-west.dl.sourceforge.net/sourceforge/libpng/libpng-1.2.22.tar.bz2">http://superb-west.dl.sourceforge.net/sourceforge/libpng/libpng-1.2.22.tar.bz2</a></p>
<p>Freetype:<br />
<a href="http://download.savannah.gnu.org/releases/freetype/freetype-2.3.5.tar.gz">http://download.savannah.gnu.org/releases/freetype/freetype-2.3.5.tar.gz</a></p>
<p>TIFF:<br />
<a href="ftp://ftp.remotesensing.org/libtiff/tiff-3.8.2.tar.gz">ftp://ftp.remotesensing.org/libtiff/tiff-3.8.2.tar.gz</a></p>
<p><a href="http://jaist.dl.sourceforge.net/sourceforge/wvware/libwmf-0.2.8.4.tar.gz">http://jaist.dl.sourceforge.net/sourceforge/wvware/libwmf-0.2.8.4.tar.gz</a></p>
<p>LittleCMS:<br />
<a href="http://www.littlecms.com/lcms-1.17.tar.gz">http://www.littlecms.com/lcms-1.17.tar.gz</a></p>
<p>Ghostscript:<br />
<a href="ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs860/ghostscript-8.60.tar.gz">ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs860/ghostscript-8.60.tar.gz</a></p>
<p>Ghostscript Fonts:<br />
<a href="ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/current/ghostscript-fonts-std-8.11.tar.gz">ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/current/ghostscript-fonts-std-8.11.tar.gz</a></p>
<p>ImageMagick:<br />
<a href="ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.3.8-11.tar.gz">ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.3.8-11.tar.gz</a></p>
<p>
When I found this script these URLs were built in so that if one of the URLs didn&#8217;t work, it would break.  That is fine, but it is not built to find the newest and greatest, or make sure that the newest still works with everything else.  So why not just package all of those url&#8217;s libraries together and make that downloadable here.  I may be breaking a law or something&#8230; (if I am let me know) but I think these are all open-source.
</p>
<p><strong>The Instructions</strong></p>
<p>So here is how it is done.  </p>
<p> &#8211; <a href="http://www.aaronvanderzwan.com/blog/wp-content/uploads/2008/01/Rmagick%20Installer%20for%20MacOSX%2010.5.zip">Download the zip</a> (39.5 MB)<br />
 &#8211; Unpack it<br />
 &#8211; Open Terminal.app</p>
<blockquote style="text-align:left;"><p>
<code>cd /to/inside/the/unzipped/dir<br />
ruby setup.rb</code>
</p></blockquote>
<p>Now just let it run.  (You may have to put in your password every once in a while because of the &#8217;sudo&#8217;s).
</p>
<p>I should also note that I had X11 (Applications &gt; Utilities &gt; X11) and Xcode 3.0 (Macintosh HD &gt; Developer &gt; Applications &gt; Xcode) installed when I ran this script.  I am not sure how much this helped/effected the script running, but I do have these installed and runnable.
</p>
<p><strong>The Original</strong></p>
<p>Again, a special thanks to Solomon White who originally posted this script at <a href="http://onrails.org/articles/2007/11/03/installing-rmagick-on-leopard-without-macports-or-fink" target="_blank">his blog</a>.</p>
<p style="text-align:left;">Here are some other references for this technique.</p>
<p>John Ford:<br />
<a href="http://www.aldenta.com/2007/11/26/installing-imagemagickrmagick-on-leopard/">http://www.aldenta.com/2007/11/26/installing-imagemagickrmagick-on-leopard/</a></p>
<p>Ben Reubenstein:<br />
<a href="http://www.benr75.com/articles/2008/03/16/install-rmagick-on-mac-os-x-leopard-from-source">http://www.benr75.com/articles/2008/03/16/install-rmagick-on-mac-os-x-leopard-from-source</a></p>
<p>Here is what I found at Solomon&#8217;s website.</p>
<blockquote style="text-align:left;"><p><code>#!/bin/sh<br />
curl -O http://download.savannah.gnu.org/releases/freetype/freetype-2.3.5.tar.gz<br />
tar xzvf freetype-2.3.5.tar.gz<br />
cd freetype-2.3.5<br />
./configure --prefix=/usr/local<br />
make<br />
sudo make install<br />
cd ..</p>
<p>curl -O http://superb-west.dl.sourceforge.net/sourceforge/libpng/libpng-1.2.22.tar.bz2<br />
tar jxvf libpng-1.2.22.tar.bz2<br />
cd libpng-1.2.22<br />
./configure --prefix=/usr/local<br />
make<br />
sudo make install<br />
cd ..</p>
<p>curl -O ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz<br />
tar xzvf jpegsrc.v6b.tar.gz<br />
cd jpeg-6b<br />
ln -s `which glibtool` ./libtool<br />
export MACOSX_DEPLOYMENT_TARGET=10.5<br />
./configure --enable-shared --prefix=/usr/local<br />
make<br />
sudo make install<br />
cd ..</p>
<p>curl -O ftp://ftp.remotesensing.org/libtiff/tiff-3.8.2.tar.gz<br />
tar xzvf tiff-3.8.2.tar.gz<br />
cd tiff-3.8.2<br />
./configure --prefix=/usr/local<br />
make<br />
sudo make install<br />
cd ..</p>
<p>curl -O http://jaist.dl.sourceforge.net/sourceforge/wvware/libwmf-0.2.8.4.tar.gz<br />
tar xzvf libwmf-0.2.8.4.tar.gz<br />
cd libwmf-0.2.8.4<br />
make clean<br />
./configure<br />
make<br />
sudo make install<br />
cd ..</p>
<p>curl -O http://www.littlecms.com/lcms-1.17.tar.gz<br />
tar xzvf lcms-1.17.tar.gz<br />
cd lcms-1.17<br />
make clean<br />
./configure<br />
make<br />
sudo make install<br />
cd ..</p>
<p>curl -O ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs860/ghostscript-8.60.tar.gz<br />
tar zxvf ghostscript-8.60.tar.gz<br />
cd ghostscript-8.60/<br />
./configure  --prefix=/usr/local<br />
make<br />
sudo make install<br />
cd ..</p>
<p>curl -O ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/current/ghostscript-fonts-std-8.11.tar.gz<br />
tar zxvf ghostscript-fonts-std-8.11.tar.gz<br />
sudo mv fonts /usr/local/share/ghostscript</p>
<p>curl -O ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.3.8-11.tar.gz<br />
tar -xzvf ImageMagick-6.3.8-11.tar.gz<br />
cd ImageMagick-6.3.8<br />
export CPPFLAGS=-I/usr/local/include<br />
export LDFLAGS=-L/usr/local/lib<br />
./configure --prefix=/usr/local --disable-static --with-modules --without-perl --without-magick-plus-plus --with-quantum-depth=8 --with-gs-font-dir=/usr/local/share/ghostscript/fonts<br />
make<br />
sudo make install<br />
cd ..</p>
<p>sudo gem install rmagick<br />
</code>
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://aaronvanderzwan.com/blog/2008/04/rmagick-imagemagick-from-source-mac-osx-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deprec2- chgrp: invalid group</title>
		<link>http://aaronvanderzwan.com/blog/2008/03/deprec2-chgrp-invalid-group/</link>
		<comments>http://aaronvanderzwan.com/blog/2008/03/deprec2-chgrp-invalid-group/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 20:36:37 +0000</pubDate>
		<dc:creator>Aaron Vanderzwan</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://aaronvanderzwan.com/blog/?p=107</guid>
		<description><![CDATA[I was using deprec2 to install RoR, MySQL, Nginx, etc. to Slicehost using the crack_the_nut instructions on my mac.  I came to where I had to run the rails_stack (cap deprec:rails:install_rails_stack) and I kept getting an error that said &#8220;chgrp: invalid group deploy&#8221;.
Deprec automatically creates the deploy group as part of it&#8217;s recipes.  I was [...]]]></description>
			<content:encoded><![CDATA[<p>I was using <a href="http://www.deprec.org/" target="_blank">deprec2</a> to install RoR, MySQL, Nginx, etc. to <a href="http://www.slicehost.com/" target="_blank">Slicehost</a> using the <a href="http://crackthenut.cracklabs.com/deprec2-your-slice/" target="_blank">crack_the_nut</a> instructions on my mac.  I came to where I had to run the rails_stack (cap deprec:rails:install_rails_stack) and I kept getting an error that said &#8220;chgrp: invalid group deploy&#8221;.</p>
<p>Deprec automatically creates the deploy group as part of it&#8217;s recipes.  I was stunned.  Upon looking for an hour or two I came across a &#8216;grep&#8217; that deprec runs.  It runs &#8220;sudo -p &#8217;sudo password: &#8216; grep &#8216;deploy:&#8217; /etc/group || sudo /usr/sbin/groupadd deploy&#8221;.  This grep checks the /etc/group file for any occurances of &#8216;deploy&#8217;. My deploy user was named pd_deploy.  Users live in the /etc/group file under their group following the following convention:</p>
<blockquote><p>group: user1,user2,user3</p></blockquote>
<p>My /etc/group file contained the following:</p>
<blockquote><p>admin:root,pd_deploy</p></blockquote>
<p>Deprec found &#8216;deploy&#8217; in my user, pd_&#8217;deploy&#8217;, and thought that the group already existed.  It therefore failed to create a new one and blew up when it was trying to change a group that did not exist.</p>
<p>To save yourself a lot of hassle, don&#8217;t have &#8216;deploy&#8217; anywhere in your /etc/group file, meaning, don&#8217;t have a user with &#8216;deploy&#8217; anywhere in the name.  So no &#8216;deployuser&#8217; or &#8216;user_deploy&#8217;.</p>
]]></content:encoded>
			<wfw:commentRss>http://aaronvanderzwan.com/blog/2008/03/deprec2-chgrp-invalid-group/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Virtual PC’s IE6 Connecting to the Internet or Network</title>
		<link>http://aaronvanderzwan.com/blog/2007/11/virtual-pcs-ie6-connecting-to-the-internet-or-network/</link>
		<comments>http://aaronvanderzwan.com/blog/2007/11/virtual-pcs-ie6-connecting-to-the-internet-or-network/#comments</comments>
		<pubDate>Tue, 06 Nov 2007 20:07:22 +0000</pubDate>
		<dc:creator>Aaron Vanderzwan</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://aaronvanderzwan.com/blog/?p=67</guid>
		<description><![CDATA[This is more for myself than anyone else; so that I remember it again in 6 months.  I was having trouble connecting to the internet using IE6 when I loaded it in my Virtual PC.  This is a two step process.
First step:
   1. In the Virtual PC Console click &#8216;Settings&#8217;.
  [...]]]></description>
			<content:encoded><![CDATA[<p>This is more for myself than anyone else; so that I remember it again in 6 months.  I was having trouble connecting to the internet using IE6 when I loaded it in my Virtual PC.  This is a two step process.</p>
<p>First step:</p>
<p>   1. In the Virtual PC Console click &#8216;Settings&#8217;.<br />
   2. Click &#8216;Network&#8217;.<br />
   3. Change the &#8216;Adapter&#8217; to the way you wish to connect to the internet, be it Wireless card or Ethernet card.</p>
<p>Second step:</p>
<p>   1. Open Internet Explorer from the VPC Console.<br />
   2. Follow &#8216;Tools&#8217; > &#8216;Internet Options&#8230;&#8217; > &#8216;Connections&#8217; > &#8216;Setup&#8217;<br />
   3. Follow &#8216;Next&#8217; > &#8216;Connect to the Internet&#8217; > &#8216;Set up my connection manually&#8217; > &#8216;Connect using a broadband connection that is always on&#8217; > &#8216;Finish&#8217;<br />
   4. Back in the &#8216;Connections&#8217; tab select &#8216;LAN Settings&#8217; and turn off the &#8216;Proxy server&#8217; if it is ticked.</p>
<p>Thats it.</p>
]]></content:encoded>
			<wfw:commentRss>http://aaronvanderzwan.com/blog/2007/11/virtual-pcs-ie6-connecting-to-the-internet-or-network/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox Profile Manager: MacOS X</title>
		<link>http://aaronvanderzwan.com/blog/2007/10/firefox-profile-manager-macos-x/</link>
		<comments>http://aaronvanderzwan.com/blog/2007/10/firefox-profile-manager-macos-x/#comments</comments>
		<pubDate>Tue, 30 Oct 2007 18:13:46 +0000</pubDate>
		<dc:creator>Aaron Vanderzwan</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://aaronvanderzwan.com/blog/?p=64</guid>
		<description><![CDATA[Follow these steps to access the Firefox Profile Manager in MacOS X.
In Terminal.app:
cd /Applications/Firefox.app/Contents/MacOS
./firefox-bin -ProfileManager 
]]></description>
			<content:encoded><![CDATA[<p>Follow these steps to access the Firefox Profile Manager in MacOS X.</p>
<p>In Terminal.app:<br />
cd /Applications/Firefox.app/Contents/MacOS<br />
./firefox-bin -ProfileManager </p>
]]></content:encoded>
			<wfw:commentRss>http://aaronvanderzwan.com/blog/2007/10/firefox-profile-manager-macos-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby on Rails: Upload Column (Not Found) issue</title>
		<link>http://aaronvanderzwan.com/blog/2007/09/ruby-on-rails-upload-column-not-found-issue/</link>
		<comments>http://aaronvanderzwan.com/blog/2007/09/ruby-on-rails-upload-column-not-found-issue/#comments</comments>
		<pubDate>Tue, 04 Sep 2007 14:52:26 +0000</pubDate>
		<dc:creator>Aaron Vanderzwan</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://aaronvanderzwan.com/blog/?p=59</guid>
		<description><![CDATA[So I have been working my way through this Ruby on Rails/Object Oriented Programing business and have been loving it.  I have now set up on a PC.  I have been using the NetBeans Ruby IDE which is amazing because it has everything setup for you.  I use WAMP as my development [...]]]></description>
			<content:encoded><![CDATA[<p>So I have been working my way through this Ruby on Rails/Object Oriented Programing business and have been loving it.  I have now set up on a PC.  I have been using the NetBeans Ruby IDE which is amazing because it has everything setup for you.  I use WAMP as my development web service and MySQL database.  My most recent problem was with the Upload Column plugin.  I had the Upload Column plugin installed, but every time I ran the app and tried to upload a photo I got a URL &#8216;NOT FOUND&#8217; Webrick error.  It was frustrating mostly because there was no documentation for any fixes.</p>
<p>Sadly, instead of fixing the issue I assumed it was something with NetBean&#8217;s setup for webrick and decided to try &#8220;Instant Rails&#8221; which uses Mongrel instead of Webrick.  This change was successful and now Upload Column works perfectly fine.  If you know how to do this, go for it.  I will paste my steps below.</p>
<blockquote>
<ol>
<li>Download Instant Rails at <a href="http://rubyforge.org/frs/?group_id=904">http://rubyforge.org/frs/?group_id=904</a><br />
(note where you will run instant rails from&#8230; I just put mine in &#8216;C:/&#8217;)</li>
<li>Inside of NetBeans follow: TOOLS &gt; OPTIONS &gt; MISCELLANEOUS &gt; RUBY</li>
<li>Change the ruby interpreter to you your Instant Rails folder&#8230; Mine looks like &#8216;C:\InstantRails\ruby\bin\ruby.exe&#8217;</li>
<li>Might have to download <a href="http://www.koders.com/ruby/fidE0245E00C183820E1CBFE2DBABFBB2A6AC7E7BCA.aspx">sync-stdio.rb</a> and put it in your NetBeans Ruby IDE folder.  Mine is &#8216;&#8230;/nbrubyide/ruby1/sync-stdio.rb&#8217;</li>
<li>Then Run Instant Rails</li>
<li>Install the appropriate gems in the &#8216;Ruby Console Window&#8217; (Right click on the big &#8216;I&#8217; in the system tray RAILS APPLICATIONS &gt; OPEN RUBY CONSOLE WINDOW)</li>
<li>Update your database using phpMyAdmin (also via Instant Rails&#8217; system tray)</li>
<li>In NetBeans Ruby IDE start your app</li>
</ol>
</blockquote>
<p>That should fix the &#8220;Not Found&#8221; error.  Or at least it did for me.   Let me know if I need to clarify anything else a little better.  Thanks&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://aaronvanderzwan.com/blog/2007/09/ruby-on-rails-upload-column-not-found-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Subversion on Mac Instructions</title>
		<link>http://aaronvanderzwan.com/blog/2007/05/subversion-on-mac-instructions/</link>
		<comments>http://aaronvanderzwan.com/blog/2007/05/subversion-on-mac-instructions/#comments</comments>
		<pubDate>Tue, 15 May 2007 16:10:57 +0000</pubDate>
		<dc:creator>Aaron Vanderzwan</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://aaronvanderzwan.com/blog/?p=38</guid>
		<description><![CDATA[I have been looking and looking for a solution for Mac using subversion and have found NO streamlined instructions for how to setup and use subversion on a Mac.  I have found a lot of helpful instructions in different areas which I will list here.  These may explain some things better than others [...]]]></description>
			<content:encoded><![CDATA[<p>I have been looking and looking for a solution for Mac using subversion and have found NO streamlined instructions for how to setup and use subversion on a Mac.  I have found a lot of helpful instructions in different areas which I will list here.  These may explain some things better than others but I will explain what I did and what worked for me.</p>
<p>I have tried using all of the mac clients for subversion and have found no luck with any of them.  I have found the best way to use subversion on the mac is by using the scplugin available at the tigris website.  This is something like the third step but wanted it to be known that was my plan.</p>
<p><strong>Getting subversion installed and usable</strong></p>
<ol>
<li>Using your host admin panel, create a repository with users and passwords for you to use.  You will need these later when you actually checkout the repositories.</li>
<blockquote><p>I am leaving this kind of vague because it depends on your host.  I am using dreamhost for ruby on rails application development.  Using DreamHost, I login at http://panel.dreamhost.com.  Click Goodies&gt;Subversion and then follow the instructions for creating a new repository.</p></blockquote>
<li>Now you are going to have to enable your mac to use subversion.  Now we have to install the subversion client found at tigris&#8217; website.
<ol>
<li>Visit the <a href="http://subversion.tigris.org/project_packages.html" target="_blank">subversion client download page</a>.
<li>You are going to want to scroll down to the Mac options and choose the non-Fink universal binary .dmg.</li>
<li>Download and run the installation for the subversion client. (I am using version 1.3.1)</li>
</ol>
<li>At this point in scplugin&#8217;s development tigris has not enabled a check for username and password so the first time that you access a project with subversion you are going to have to do it in terminal.  For this reason we want to make sure that svn commands are accessible in Terminal.</li>
<ol>
<li>Open up terminal.</li>
<li>Type <strong>svn</strong> in the command line.  You should get &#8220;Type &#8217;svn help&#8217; for usage&#8221;.</li>
<blockquote><p>If you get a -bash error &#8216;command not found&#8217; (like I did) you have to let terminal know where to look for your svn client in the .bash_profile file.  Good instructions for this is in the Subversion Client installation area in <a href="http://www.joshbuhler.com/2005/07/05/setting-up-the-subversion-client-on-mac-os-x/" title="Josh Buhler's Instructions" target="_blank">Josh Buhler&#8217;s blog</a> from 2005.  Let me know if these somehow get outdated or you want me to go through them here.</p></blockquote>
</ol>
<li>Now we have to install the SCPlugin so that we can use Subversion with finder.  I have tried most of the other clients and have found this one to be the most secure and fully developed.</li>
<ol>
<li>Download the <a href="http://scplugin.tigris.org/servlets/ProjectDocumentList">scplugin from tigris</a>.</li>
<blockquote><p>Note:  I had to download the 1.3 version because the Subversion client that I downloaded was 1.3.1.</p></blockquote>
<li>The SCFinderPlugin does not have an installer yet but they make it extremely easy to install.  Unzip the file that you had downloaded and simply move the .plugin file into the Contextual Menu Items folder that is right next to it.  They include a link to this folder on your computer so you are really copying the file onto your hard drive in the appropriate place.</li>
<li>Now you should check to make sure that the scplugin is installed correctly.  Right-click/control-click on a folder.  There should be a subversion option at the bottom.  If there is, it is installed correctly.</li>
</ol>
<p><strong>Using subversion with SCFinderPlugin</strong></p>
<p>Like I said earlier, the first time you checkout the repository (associate your local copy with your online repository) you are going to have to do it in terminal.  The SCPlugin does not check for your username and password so it will always fail if you try to check it out in finder before doing it in the terminal.</p>
<ol>
<li>Open Terminal.</li>
<li>Navigate to a local folder you wish to check the repository out to.</li>
<li>Type <strong>svn co <em>http://url_to_your_repository.com</em></strong></li>
<li>Type in the username and password when prompted.  All of the files (if any) should copy to your computer&#8217;s hard-drive.  This is good even if you don&#8217;t have any files in your repository because it establishes the location and steps needed to access your subversion repository with the username and password.  From now on you wont need to use terminal to do anything more with this repository.</li>
<blockquote><p>Note: If you have anymore questions about using or installing the SCFinderPlugin the <a href="http://scplugin.tigris.org/installation.html" target="_blank">Tigris website</a> might help you.</p></blockquote>
</ol>
<p>Now you can navigate (in Finder) to the folder that you checked out your repository to.  If you right click on the top folder of the application you should have two extra commands &#8216;Subversion Commit&#8230;&#8217; and &#8216;Subversion Update&#8217;.  If these two commands are there you checked the repository out correctly.</p>
<p>To use subversion, just make changes to the files you wish to and save them.  Go to the main folder of your application and right-click.  &#8216;Subversion Commit&#8230;&#8217; will send all of the changes that you have made to the repository.  To get changes that someone else has made select &#8216;Subversion Update&#8217;.
</li>
</ol>
<p>I am planning on updating this, cleaning it up, and adding some screenshots for help.  If you have any questions please let me know.  I know it is frustrating if you get lost and confused.<code></code></p>
]]></content:encoded>
			<wfw:commentRss>http://aaronvanderzwan.com/blog/2007/05/subversion-on-mac-instructions/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
