<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Alastair&#039;s Axioms &#187; OS X</title>
	<atom:link href="http://blog.alastairdawson.com/category/os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.alastairdawson.com</link>
	<description>Let us toast your non-idiocy</description>
	<lastBuildDate>Wed, 11 Aug 2010 18:09:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>My Dock Overfloweth</title>
		<link>http://blog.alastairdawson.com/2007/06/14/my-dock-overfloweth/</link>
		<comments>http://blog.alastairdawson.com/2007/06/14/my-dock-overfloweth/#comments</comments>
		<pubDate>Fri, 15 Jun 2007 02:19:30 +0000</pubDate>
		<dc:creator>Alastair</dc:creator>
				<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://blog.vixiom.com/2007/06/14/my-dock-overfloweth/</guid>
		<description><![CDATA[This might be obsolete when Apple releases Leopard and it&#8217;s desktop stacks, but Overflow is a great utility app for organizing your shise. Overflow let&#8217;s you group applications, folders and files into categories that you can quickly access by hitting &#8216;F1&#8242;. Below is my &#8216;Dev&#8217; category, I also make a category for all my current [...]]]></description>
			<content:encoded><![CDATA[<p>This might be obsolete when Apple releases Leopard and it&#8217;s <a href="http://images.apple.com/macosx/leopard/features/images/desktop_gallery_grid20070611.jpg">desktop stacks</a>, but <a href="http://www.stuntsoftware.com/Overflow/">Overflow</a> is a great utility app for organizing your shise. Overflow let&#8217;s you group applications, folders and files into categories that you can quickly access by hitting &#8216;F1&#8242;. Below is my &#8216;Dev&#8217; category, I also make a category for all my current projects with links to the more frequently accessed (but hard to find) files like stylesheets.</p>
<p><img src="http://blog.vixiom.com/uploads/overflow.jpg" alt="Overflow" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alastairdawson.com/2007/06/14/my-dock-overfloweth/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Set up eclipse to compile MXML / AS3 (quasi Flex Builder for OS X)</title>
		<link>http://blog.alastairdawson.com/2007/03/27/set-up-eclipse-to-compile-mxml-as3-quasi-flex-builder-for-os-x/</link>
		<comments>http://blog.alastairdawson.com/2007/03/27/set-up-eclipse-to-compile-mxml-as3-quasi-flex-builder-for-os-x/#comments</comments>
		<pubDate>Wed, 28 Mar 2007 06:06:04 +0000</pubDate>
		<dc:creator>Alastair</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://blog.vixiom.com/2007/03/27/set-up-eclipse-to-compile-mxml-as3-quasi-flex-builder-for-os-x/</guid>
		<description><![CDATA[The release of Apollo has renewed my interest in Flex, I was on the Flex Builder Beta for OS X but don&#8217;t do enough Flex work (yet) to shell out for Builder so&#8230; I Googled around for the best open source solution.
It was my lucky day as Todd Sharp updated Darron Schall&#8217;s 2005 post about [...]]]></description>
			<content:encoded><![CDATA[<p>The release of Apollo has renewed my interest in Flex, I was on the Flex Builder Beta for OS X but don&#8217;t do enough Flex work (yet) to shell out for Builder so&#8230; I Googled around for the best open source solution.</p>
<p>It was my lucky day as <a href="http://cfsilence.com/blog/client/index.cfm/2007/3/26/Setting-Up-Eclipse-For-Flex-2">Todd Sharp updated</a> Darron Schall&#8217;s 2005 post about setting up eclipse just yesterday. That solved code coloring/hinting, I then found <a href="http://seeing-is-believing.blogspot.com/2007/01/compile-as3-on-osx-without-flexbuilder.html">this tutorial</a> by Wim Vanhenden for compiling on OS X. Done and done.</p>
<p>Don&#8217;t know if it&#8217;s my imagination but the Flex SDK seems to compile much more quickly than a couple of months ago. The only downside to this solution is that it doesn&#8217;t use my beloved Textmate, there is a bundle for Flex but it doesn&#8217;t seem to have been updated in a while.</p>
<p>* UPDATE *</p>
<p>Actually just did a search and found some &#8216;<a href="http://blog.iconara.net/2007/02/23/textmate-flex-tips/">Textmate Flex Tips</a>&#8216; that extends the Flex bundle.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alastairdawson.com/2007/03/27/set-up-eclipse-to-compile-mxml-as3-quasi-flex-builder-for-os-x/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>The Best CSS Editor Just Got Better</title>
		<link>http://blog.alastairdawson.com/2006/11/06/the-best-css-editor-just-got-better/</link>
		<comments>http://blog.alastairdawson.com/2006/11/06/the-best-css-editor-just-got-better/#comments</comments>
		<pubDate>Mon, 06 Nov 2006 18:39:12 +0000</pubDate>
		<dc:creator>Alastair</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://blog.vixiom.com/2006/11/06/the-best-css-editor-just-got-better/</guid>
		<description><![CDATA[I&#8217;ve been using CSSEdit for the last couple of months and it&#8217;s sharply increased my productivity when working with style sheets. Today MacRabbit released version 2.0 (of course) and it is jaw-droppingly good, TextMate good.
There are five major new features but my favorite so far is &#8216;Overridding&#8217; which as the name suggests give you the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using <a href="http://macrabbit.com/cssedit/">CSSEdit</a> for the last couple of months and it&#8217;s sharply increased my productivity when working with style sheets. Today MacRabbit released version 2.0 (of course) and it is jaw-droppingly good, TextMate good.</p>
<p>There are <a href="http://macrabbit.com/cssedit/releasenotes/">five major new features</a> but my favorite so far is &#8216;Overridding&#8217; which as the name suggests give you the ability to override live website styles. As it can overide live sites you can do away with the edit>save>refresh>test method when making style sheet changes on a dynamic site. Changes can be previewed without even saving the style sheet. In the screen shot below I&#8217;m changing the a:link color of the blog with the color wheel.</p>
<p><img src="http://blog.vixiom.com/uploads/CSSEdit.jpg" alt="CSSEdit" /></p>
<p>Overriding extracts the style sheets from the live site so all you rip-off artists can extract style sheets even faster than before! <img src='http://blog.alastairdawson.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Another cool new feature is &#8216;X-ray&#8217; which let&#8217;s you select page elements such as a divs margin and padding. The page elements are listed hierarchically (html>body>div#container>div#sidebar>div#links) so you can easily select a parent object.</p>
<p>A new feature I know I&#8217;ll be using a lot is &#8216;Milestones&#8217; which are similar to Photoshop&#8217;s history and layer comps, you can set a milestone and then proceed down different roads without fear of losing your original style if you make a mess of things.</p>
<p>Version 2.0 is much snappier than the old version and it looks great too, it makes use of newer Apple interface elements you&#8217;d see in the latest iTunes and the Pro Applications.</p>
<p>If you do web design/development on a Windows box, and TextMate wasn&#8217;t enough of a reason to dump your fugly PC and even worse OS, you&#8217;d be crazy not to switch after using CSSEdit.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alastairdawson.com/2006/11/06/the-best-css-editor-just-got-better/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Unix commands 101</title>
		<link>http://blog.alastairdawson.com/2006/07/23/unix-commands-101-for-the-terminal/</link>
		<comments>http://blog.alastairdawson.com/2006/07/23/unix-commands-101-for-the-terminal/#comments</comments>
		<pubDate>Mon, 24 Jul 2006 03:22:14 +0000</pubDate>
		<dc:creator>Alastair</dc:creator>
				<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://blog.vixiom.com/2006/07/23/unix-commands-101-for-the-terminal/</guid>
		<description><![CDATA[Some basic Unix/Linux commands that are also helpful on OS X&#8217;s Terminal.
&#8216;ls&#8217; lists the contents of a directory
ls&#8216;cd&#8217; change directory (go into a directory)
cd [directory name]&#8216;mv&#8217; move a file or directory
mv [directory] [new/location]&#8216;rm&#8217; remove a file or directory (directory must be empty)
rm [fileToDelete]&#8216;rm -rf&#8217; remove a directory AND it&#8217;s contents (without confirmation)
rm -rf [aDirecotyFullofStuff]
&#8216;du -s [...]]]></description>
			<content:encoded><![CDATA[<p>Some basic Unix/Linux commands that are also helpful on OS X&#8217;s Terminal.</p>
<p>&#8216;ls&#8217; lists the contents of a directory</p>
<p><code>ls</code>&#8216;cd&#8217; change directory (go into a directory)</p>
<p><code>cd [directory name]</code>&#8216;mv&#8217; move a file or directory</p>
<p><code>mv [directory] [new/location]</code>&#8216;rm&#8217; remove a file or directory (directory must be empty)</p>
<p><code>rm [fileToDelete]</code>&#8216;rm -rf&#8217; remove a directory AND it&#8217;s contents (without confirmation)</p>
<p><code>rm -rf [aDirecotyFullofStuff]</code></p>
<p>&#8216;du -s -k&#8217; get the size of a directory in KBytes</p>
<p><code>du -s -k [aDirecotry]</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alastairdawson.com/2006/07/23/unix-commands-101-for-the-terminal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To: Install Django on OS X (Tiger 10.4)</title>
		<link>http://blog.alastairdawson.com/2006/07/23/how-to-install-django-on-os-x-tiger-104/</link>
		<comments>http://blog.alastairdawson.com/2006/07/23/how-to-install-django-on-os-x-tiger-104/#comments</comments>
		<pubDate>Mon, 24 Jul 2006 01:56:45 +0000</pubDate>
		<dc:creator>Alastair</dc:creator>
				<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://blog.vixiom.com/2006/07/23/how-to-install-django-on-os-x-tiger-104/</guid>
		<description><![CDATA[Django is a web framework similar to Ruby on Rails, it&#8217;s crown jewel is a built in admin/CMS system that saves tons of time when setting up a dynamic site.
Django is pretty easy to install, if you have the correct version of Python, if you have MySQLdb for Python, if you know how add apps/scripts [...]]]></description>
			<content:encoded><![CDATA[<p>Django is a web framework similar to Ruby on Rails, it&#8217;s crown jewel is a built in admin/CMS system that saves tons of time when setting up a dynamic site.</p>
<p>Django is pretty easy to install, if you have the correct version of Python, if you have MySQLdb for Python, if you know how add apps/scripts to your $PATH, if you haven&#8217;t installed a previous version, if you have Subversion installed, and especially if you&#8217;re a programmer rather than a designer who programs (I&#8217;m the latter).</p>
<blockquote><p>&#8220;There&#8217;s two many ifs in that sentence Johnny&#8221;</p>
<p>~Reese Witherspoon as June Carter in &#8216;Walk the Line&#8217;</p></blockquote>
<p>Let&#8217;s try and remove those IFs by going through an install step by step. Getting Django running locally the first time took me about four hours, following these instructions it should take you less than one hour. Prerequisites are that you have Apple&#8217;s Developer Tools (on the CD that came with your mac or <a target="_blank" href="http://developer.apple.com/tools/">here</a>), MySQL (<a target="_blank" href="http://www.entropy.ch/software/MacOSx/mysql/">here</a>), and Subversion (<a target="_blank" href="http://subversion.tigris.org/project_packages.html">here</a>) installed. you don&#8217;t HAVE to have subversion installed but it makes life easier.</p>
<p>Here we go&#8230;</p>
<ol>
<li>Install the latest greatest Python (<a target="_blank" href="http://www.python.org/download/releases/2.4.3/">2.4.3 at this date</a>)</li>
<li>Django of course needs a database so install <a target="_blank" href="http://pythonmac.org/packages/py24-fat/mpkg/MySQL_Python-1.2.1_p2-py2.4-macosx10.4.zip">MySQLdb</a> (you have MySQL installed localy right?)</li>
<li>Test your python installation, open up Terminal.app and type
<pre class="textmate-source"><span class="text text_plain"><span class="meta meta_paragraph meta_paragraph_text">python</span></span></pre>
<p>you should see text similar to this
<pre class="textmate-source"><span class="text text_plain"><span class="meta meta_paragraph meta_paragraph_text">Python 2.4.3 (...) [GCC 3.3 20030304 (Apple Computer, Inc. build 1666)] on darwin Type "help", "copyright", "credits" or "license" for more information. &gt;&gt;&gt;</pre>
</li>
<li>Test MySQLdb. Type
<pre class="textmate-source"><span class="text text_plain"><span class="meta meta_paragraph meta_paragraph_text">&gt;&gt;&gt; import MySQLdb</span></span></pre>
<p>(Note: >>> is the Python prompt) If the python interpreter doesn&#8217;t complain you have MySQLdb installed properly.</li>
<li>Next up is Django itself. These are slightly modified instructions from the Django site. Go back to the Terminal, most likely Python is still running hit &#8216;control-D&#8217; to exit. You should be in your &#8216;Home&#8217; directory this is where the Django souce will be installed (it will actually just live here and links will be set up between Django and Python). Enter the following
<pre class="textmate-source"><span class="text text_plain"><span class="meta meta_paragraph meta_paragraph_text">svn co <span class="markup markup_underline markup_underline_link">http://code.djangoproject.com/svn/django/trunk/</span> django_src</span></span></pre>
<p>This downloads the latest Django source through Subversion into a folder called &#8216;django_src&#8217;</li>
<li>Create a &#8217;symlink&#8217; (symbolic link) so Python knows where to look for Django. This is where we part ways with the Django website&#8217;s tutorial, Python2.4 on Tiger lives in a much different directory than the one their tutorial uses (do not enter this)
<pre class="textmate-source"><span class="text text_plain"><span class="meta meta_paragraph meta_paragraph_text">ln -s `pwd`/django_src/django /usr/lib/python2.3/site-packages/django</pre>
<p>our Python install&#8217;s &#8217;site-packages&#8217; is located  at
<pre class="textmate-source"><span class="text text_plain"><span class="meta meta_paragraph meta_paragraph_text">/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/</pre>
<p>because Python 2.4 was installed as a Framework. So our symlink looks like this
<pre class="textmate-source"><span class="text text_plain"><span class="meta meta_paragraph meta_paragraph_text">ln -s /users/[USERNAME]/django_src/django/ /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/django</span></span></pre>
<p>Note: [USERNAME] should be your username (wait what&#8217;s my username?! it&#8217;s your login, also shows up in the terminal on every line before the $)</li>
<li>Test your django installation in the Terminal type
<pre class="textmate-source"><span class="text text_plain"><span class="meta meta_paragraph meta_paragraph_text">python</span></span></pre>
<p>then
<pre class="textmate-source"><span class="text text_plain"><span class="meta meta_paragraph meta_paragraph_text">>>> import django</span></span></pre>
<p>if you get no complaint from the Terminal Django is installed!</li>
<li>Well&#8230;. not quite, Django uses
<pre class="textmate-source"><span class="text text_plain"><span class="meta meta_paragraph meta_paragraph_text">django-admin.py startproject mysite</span></span></pre>
<p>to start a new Django app, however django-admin.py is not on your path so Python doesn&#8217;t know where to find it. Open up .bash_profile from your root directory &#8211; if you have TextMate or BBEdit you can open it from the Terminal.
<pre class="textmate-source"><span class="text text_plain"><span class="meta meta_paragraph meta_paragraph_text">mate .bash_profile</pre>
<p>add the following line to your .bash_profile file.
<pre class="textmate-source"><span class="text text_plain"><span class="meta meta_paragraph meta_paragraph_text">export PATH=/Library/Frameworks/Python.framework/Versions/2.4/bin:$PATH</pre>
<p>Now django-admin.py is on your path, prove it by going to the terminal and echoing your path
<pre class="textmate-source"><span class="text text_plain"><span class="meta meta_paragraph meta_paragraph_text">echo $PATH</span></span></pre>
<p>you&#8217;ll get a response like this
<pre class="textmate-source"><span class="text text_plain"><span class="meta meta_paragraph meta_paragraph_text">/Library/Frameworks/Python.framework/Versions/2.4/bin:/users/[USERNAME]/django_src/django/bin:/bin:/sbin:/usr/bin:/usr/sbin</span></span></pre>
</li>
</ol>
<p>Now go to the Django site and get cracking on the <a target="_blank" href="http://www.djangoproject.com/documentation/tutorial1/">first tutorial</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alastairdawson.com/2006/07/23/how-to-install-django-on-os-x-tiger-104/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
	</channel>
</rss>
