<?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>Jonathan Spooner is a Web Developer in the San Diego Area. &#187; OS X</title>
	<atom:link href="http://www.jonathanspooner.com/category/osx/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jonathanspooner.com</link>
	<description>Flex Developer, Air Developer, and ActionScript Programmer</description>
	<lastBuildDate>Fri, 28 May 2010 16:42:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to create AsDocs</title>
		<link>http://www.jonathanspooner.com/web-development/how-to-create-asdocs/</link>
		<comments>http://www.jonathanspooner.com/web-development/how-to-create-asdocs/#comments</comments>
		<pubDate>Wed, 02 Apr 2008 15:28:40 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[ActionScript 3.0]]></category>
		<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.jonathanspooner.com/blog/2008/04/02/how-to-create-asdocs/</guid>
		<description><![CDATA[I'll write on this soon, until then use this link or the line below.
Documents from Adobe

asdoc -doc-sources /Users/jspooner/Documents/veoh/FlashPlayer/branches/ActionScriptSDK/src/com/veoh -output /Users/jspooner/Documents/veoh/FlashPlayer/branches/ActionScriptSDK/docs/
]]></description>
			<content:encoded><![CDATA[<p>I'll write on this soon, until then use this link or the line below.<br />
<a href="http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&file=asdoc_127_9.html">Documents from Adobe</a></p>
<pre class="bash">
asdoc -doc-sources /Users/jspooner/Documents/veoh/FlashPlayer/branches/ActionScriptSDK/src/com/veoh -output /Users/jspooner/Documents/veoh/FlashPlayer/branches/ActionScriptSDK/docs/</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.jonathanspooner.com/web-development/how-to-create-asdocs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to set environmental variables in Unix</title>
		<link>http://www.jonathanspooner.com/news/how-to-set-environmental-variables-in-terminal/</link>
		<comments>http://www.jonathanspooner.com/news/how-to-set-environmental-variables-in-terminal/#comments</comments>
		<pubDate>Wed, 02 Apr 2008 15:18:41 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Source Control]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.jonathanspooner.com/blog/2008/04/02/how-to-set-environmental-variables-in-terminal/</guid>
		<description><![CDATA[I often use SubVersion from the command line to manage my projects and I quickly became tired of typing in the full urls to repositories.  I'm now storing these long paths in environmental variables.  So for example I previously had to type svn copy http://repo/svn/spoonermedia/projectname/trunk http://repo/svn/spoonermedia/projectname/branch/feature1 to make a branch.  After setting [...]]]></description>
			<content:encoded><![CDATA[<p>I often use <a href="http://subversion.tigris.org">SubVersion</a> from the command line to manage my projects and I quickly became tired of typing in the full urls to repositories.  I'm now storing these long paths in <a href="http://en.wikipedia.org/wiki/Environment_variable">environmental variables</a>.  So for example I previously had to type<br/> <code>svn copy http://repo/svn/spoonermedia/projectname/trunk http://repo/svn/spoonermedia/projectname/branch/feature1</code> to make a branch.  After setting up an environmental variable I only have to type  </p>
<pre class="bash">svn copy $R/trunk $R/branch/feature1</pre>
<p>Okay if your sold on <a href="http://en.wikipedia.org/wiki/Environment_variable">Environmental Variables</a> this is how you do it.</p>
<ol>
<li>Look in "/Users/your-user-name" for a .profile or .bash_login file.  If you have both then open up .bash_login or if you have neither create a .profile file.</li>
<li>In that file you can use the export command to set all the variables you need.  Each of these variables should be in uppercase.
<pre class="bash">export W=/Users/jspooner/Documents/veoh/FlashPlayer/branches/wolverine
export T=/Users/jspooner/Documents/veoh/FlashPlayer/tags
export B=/Users/jspooner/Documents/veoh/FlashPlayer/branches
export SVNROOT=http://repo/svn/src/FlashPlayer/
</pre>
</li>
</ol>
<p>You can also use alias and functions to do other task like open and close projects.  Here are some of the other shortcuts I have.</p>
<pre class="bash">
## Open my current project
alias wolverine="cd /Users/jspooner/Documents/veoh/FlashPlayer/branches/wolverine && pwd && echo WELCOME TO WOLVERINE"
# mate
alias edithost="mate /private/etc/hosts"

alias stopmysql="sudo launchctl unload -w /Library/LaunchDaemons/com.mysql.mysqld.plist"
alias startmysql="sudo launchctl load -w /Library/LaunchDaemons/com.mysql.mysqld.plist"
#
# # functions
# # change directories. echo PWD and show a list
cdd () { cd ${1}; echo $PWD; ls; }
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.jonathanspooner.com/news/how-to-set-environmental-variables-in-terminal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
