<?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; Source Control</title>
	<atom:link href="http://www.jonathanspooner.com/category/web-development/source-control/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>10 Flex Builder 3 Tips</title>
		<link>http://www.jonathanspooner.com/web-development/10-flex-builder-3-tips/</link>
		<comments>http://www.jonathanspooner.com/web-development/10-flex-builder-3-tips/#comments</comments>
		<pubDate>Wed, 21 May 2008 21:52:49 +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[Source Control]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.jonathanspooner.com/blog/?p=85</guid>
		<description><![CDATA[Draft

Bookmarks
Mark Occurrences.  Highlight/SidebarMarkers 
Find Next/Previous
Apple + Option + Up/Down Arrow Duplicate line
Apple + D Delete current lines.
Apple + Shift + R Open Resource like TextMate's find in project.
Apple + K Go to next occurrence
Apple + Shift + K Go to previous occurrence
Use Flash Components in Flex ActionScript Project.Directions from the ActionScript 3.0 Cookbook or [...]]]></description>
			<content:encoded><![CDATA[<h4>Draft</h4>
<ol>
<li>Bookmarks</li>
<li>Mark Occurrences.  Highlight/SidebarMarkers </li>
<li>Find Next/Previous</li>
<li>Apple + Option + Up/Down Arrow Duplicate line</li>
<li>Apple + D Delete current lines.</li>
<li>Apple + Shift + R Open Resource like TextMate's find in project.</li>
<li>Apple + K Go to next occurrence</li>
<li>Apple + Shift + K Go to previous occurrence</li>
<li>Use Flash Components in Flex ActionScript Project.<br/><a href="http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=2&postId=8604">Directions from the ActionScript 3.0 Cookbook</a> or see <a href="http://www.moock.org/blog/archives/000253.html">Colin Moock's post</a>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.jonathanspooner.com/web-development/10-flex-builder-3-tips/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>
		<item>
		<title>OS X 10.5 Virtual Host and PHP</title>
		<link>http://www.jonathanspooner.com/news/os-x-105-virtual-host-and-php/</link>
		<comments>http://www.jonathanspooner.com/news/os-x-105-virtual-host-and-php/#comments</comments>
		<pubDate>Tue, 29 Jan 2008 17:51:01 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[Content Management System]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Source Control]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.jonathanspooner.com/blog/2008/01/29/os-x-105-virtual-host-and-php/</guid>
		<description><![CDATA[I found instructions for editing the host file and enabling PHP at 456bereastreet.com.  
What is a host file?  Lets say your editing website locally and would like to bypass any security errors caused by the localhost url.  You can use the host file to redirect the real url "www.jonathanspooner.com" to point at [...]]]></description>
			<content:encoded><![CDATA[<p>I found instructions for editing the host file and enabling PHP at <a href="http://www.456bereastreet.com/archive/200711/virtual_hosts_php_and_mysql_on_mac_os_x_105_leopard/">456bereastreet.com</a>.  </p>
<p>What is a host file?  Lets say your editing website locally and would like to bypass any security errors caused by the localhost url.  You can use the host file to redirect the real url "www.jonathanspooner.com" to point at your local copy. </p>
<p>I also added a short cut to my profile document so I can just type 'host' in terminal and TextMate will open the doc.<br />
To do this create a file named .profile in your users directory "/Users/yourusername/" and bash script like the one below.  I have a few other handy shortcuts in there too.</p>
<pre class="bash" >
alias host="mate /private/etc/hosts"
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.jonathanspooner.com/news/os-x-105-virtual-host-and-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
