<?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>Billy Cravens</title>
	<atom:link href="http://www.billycravens.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.billycravens.com</link>
	<description>Geeky Little Programmer Dude in Houston</description>
	<lastBuildDate>Mon, 20 Feb 2012 00:12:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Restart ColdFusion 10</title>
		<link>http://www.billycravens.com/restart-coldfusion-10</link>
		<comments>http://www.billycravens.com/restart-coldfusion-10#comments</comments>
		<pubDate>Mon, 20 Feb 2012 00:12:53 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[ColdFusion]]></category>

		<guid isPermaLink="false">http://www.billycravens.com/?p=129</guid>
		<description><![CDATA[On Mac, I typically use the ColdFusion Launcher GUI to start/stop ColdFusion (v 9). However, as ColdFusion 10 will be using Tomcat, you can start/stop in the same manner as you start/stop other servers apps like Tomcat, Apache, Railo, etc &#8211; via the command line, which is my preference. (I have a ~/servers/ folder, where I]]></description>
			<content:encoded><![CDATA[<p>On Mac, I typically use the ColdFusion Launcher GUI to start/stop ColdFusion (v 9). However, as ColdFusion 10 will be using Tomcat, you can start/stop in the same manner as you start/stop other servers apps like Tomcat, Apache, Railo, etc &#8211; via the command line, which is my preference. (I have a ~/servers/ folder, where I launch things via the command line as my development needs dictate: CFML, node.js, you name it)</p>
<p>With the move to Tomcat, the following is available to you in CF10: (I&#8217;m on Mac; adjust paths as appropriate for you platform; for example, on Windows, probbably c:\ColdFusion10\)</p>
<p><code><br />
cd (cf10directory)<br />
cd bin<br />
./coldfusoion restart<br />
</code></p>
<p>Obviously this starts CF10 .. more examples follow, assuming you&#8217;re in (Coldfuion10Directory)/bin (these should be obvious, no explanation necessary)</p>
<p><code><br />
./coldfusion stop<br />
</code></p>
<p><code><br />
./coldfusion start<br />
</code></p>
<p>An additional option, &#8220;status&#8221;, just tells you what&#8217;s going on</p>
<p><code><br />
./coldfusion status<br />
</code></p>
<p>The final option, &#8220;wsconfig&#8221; is how integrate CF10 into existing web servers like IIS or Apache. This command is pretty complex, and worthy of a post by itself. Supposedly to get a GUI similar to what you&#8217;re used to, you run</p>
<p><code><br />
java -jar wsconfig.jar<br />
</code></p>
<p>but this file was nowhere to be found.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.billycravens.com/restart-coldfusion-10/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tomcat in ColdFusion 10</title>
		<link>http://www.billycravens.com/tomcat-in-coldfusion-10</link>
		<comments>http://www.billycravens.com/tomcat-in-coldfusion-10#comments</comments>
		<pubDate>Sun, 19 Feb 2012 07:48:30 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[ColdFusion]]></category>

		<guid isPermaLink="false">http://www.billycravens.com/?p=127</guid>
		<description><![CDATA[Much has been made of the move from Jrun to Tomcat in ColdFusion 10. This move has changed up the directory structure of ColdFusion 10 compared to prior versoins. Many of us are no stranger to Tomcat, where CF is deployed as a WAR, inside the webapps folder (unless you changed this in (tomcatdirectory)/conf/server.xml). Say]]></description>
			<content:encoded><![CDATA[<p>Much has been made of the move from Jrun to Tomcat in ColdFusion 10. This move has changed up the directory structure of ColdFusion 10 compared to prior versoins.</p>
<p>Many of us are no stranger to Tomcat, where CF is deployed as a WAR, inside the webapps folder (unless you changed this in (tomcatdirectory)/conf/server.xml). Say you wanted to add a virtual directory: you knew to go to the server.xml and add a new entry under the &lt;Host&gt; node.</p>
<p>So where is the Tomcat directory in ColdFusion 10?<br />
<code><br />
(ColdFusion10installDirectory)/cfusion/runtime</code></p>
<p>Adjust as necessary of course for Windows. (probably c:\ColdFusion10\cfusion\runtime)</p>
<p>As best I can tell, Tomcat admin is as you&#8217;d expect, so to add a virtual host or change the root directory, you go to (directoryAsAbove)/conf/server.xml</p>
<p>I&#8217;ll of course update my blog as find exceptions to the normal Tomcat process</p>
]]></content:encoded>
			<wfw:commentRss>http://www.billycravens.com/tomcat-in-coldfusion-10/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ColdFusion 10: Security First</title>
		<link>http://www.billycravens.com/coldfusion-10-security-first</link>
		<comments>http://www.billycravens.com/coldfusion-10-security-first#comments</comments>
		<pubDate>Sun, 19 Feb 2012 07:06:38 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[ColdFusion]]></category>

		<guid isPermaLink="false">http://ec2-75-101-165-169.compute-1.amazonaws.com/wordpress/?p=121</guid>
		<description><![CDATA[When I install ColdFusion on my local macine, I typically give it an easy little password for the admin, etc, something like &#8220;cf&#8221; Of course, this is rare: most places tend to keep you from using something so easily guessed. I&#8217;d never use such a password in production, but I like to get in fast]]></description>
			<content:encoded><![CDATA[<p>When I install ColdFusion on my local macine, I typically give it an easy little password for the admin, etc, something like &#8220;cf&#8221;</p>
<p>Of course, this is rare: most places tend to keep you from using something so easily guessed. I&#8217;d never use such a password in production, but I like to get in fast when I&#8217;m developing.</p>
<p>When installing the beta 1 release of ColdFusion 10, I saw this for the first time:</p>
<p><a href="http://ec2-75-101-165-169.compute-1.amazonaws.com/wordpress/wp-content/uploads/2012/02/Screen-Shot-2012-02-19-at-12.59.37-AM.png"><img class="aligncenter size-full wp-image-122" title="Screen Shot 2012-02-19 at 12.59.37 AM" src="http://ec2-75-101-165-169.compute-1.amazonaws.com/wordpress/wp-content/uploads/2012/02/Screen-Shot-2012-02-19-at-12.59.37-AM.png" alt="" width="600" height="422" /></a></p>
<p>So CF 10 tries to set on the right path, but gives you the flexibility if you want an easy password. Maybe they should force you (or at least give you a develpment/production option: forced password complexity if it&#8217;s production), but nice to see this change (even if it means I have to click a few extra buttons during install)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.billycravens.com/coldfusion-10-security-first/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using Seagate MomentusXT in external enclosure</title>
		<link>http://www.billycravens.com/using-seagate-momentusxt-in-external-enclosure</link>
		<comments>http://www.billycravens.com/using-seagate-momentusxt-in-external-enclosure#comments</comments>
		<pubDate>Sun, 22 Jan 2012 22:52:34 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[Computer Hardware]]></category>
		<category><![CDATA[external]]></category>
		<category><![CDATA[momentus xt]]></category>
		<category><![CDATA[ssd]]></category>

		<guid isPermaLink="false">http://www.billycravens.com/?p=117</guid>
		<description><![CDATA[Recently upgraded my laptop to an SSD after using a Seagate Momentus XT 500 GB drive for over a year and a half. The XT is a wonderful drive: it is a hybrid drive, combining storage of a 7200-RPM disk with speed of a small SSD, all in a normal 2.5&#8243; hard drive form-factor. It]]></description>
			<content:encoded><![CDATA[<p>Recently upgraded my laptop to an SSD after using a Seagate Momentus XT 500 GB drive for over a year and a half. The XT is a wonderful drive: it is a hybrid drive, combining storage of a 7200-RPM disk with speed of a small SSD, all in a normal 2.5&#8243; hard drive form-factor. It actually uses the SSD as a type of cache, so it appears as one drive. Much faster than a typical 7200-RPM drive. I like it so much, than as I&#8217;ve bought new laptops, I&#8217;ve always moved it to the new machine, selling the &#8220;new&#8221; hard drive in the old laptop.</p>
<p>Well, I jumped up as high as I could go, finally springing for a 512 GB SSD. I wanted to do a clean OS install, and just copy files over from the XT, by putting the XT in an external enclosure. Typically with 2.5&#8243; drives the power consumption is such that you can use a USB powered external enclosure. Not so for the XT. When I put it in the enclosure (NexStar SX) the drive started beeping. Thought it was the enclosure, but turns out it was the drive. I then tried jury rigging the drive with a Western Digital MyBook interface (it took a fall, breaking the enclosure, but the circuitry and the drive itself work great). For whatever reason, that didn&#8217;t work either, though no beeping (perhaps that interface is designed to only work with WD drives)</p>
<p>I ended up putting the XT back in my laptop, doing a full backup of it, and now I&#8217;m restoring off of that backup.</p>
<p>Turns out the SSD part of the XT requires a bit more power to start the drive than a normal 2.5&#8243; drive. So if you want to use it in an external enclosure, you&#8217;ll need either a powered one (use a 3.5&#8243; enclosure) or if your 2.5&#8243; enclosure doesn&#8217;t support external power, you can use a USB cable that draws from multiple USB ports. See <a href="http://forums.seagate.com/t5/Momentus-XT-Momentus-Momentus/Momentus-XT-500go-as-an-external-mass-storage-experience-and/td-p/88486">http://forums.seagate.com/t5/Momentus-XT-Momentus-Momentus/Momentus-XT-500go-as-an-external-mass-storage-experience-and/td-p/88486</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.billycravens.com/using-seagate-momentusxt-in-external-enclosure/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ColdFusion support in Sublime Text &#8211; the easy way</title>
		<link>http://www.billycravens.com/coldfusion-sublimetext</link>
		<comments>http://www.billycravens.com/coldfusion-sublimetext#comments</comments>
		<pubDate>Sun, 22 Jan 2012 20:43:02 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[coldfusion]]></category>
		<category><![CDATA[sublime text]]></category>

		<guid isPermaLink="false">http://www.billycravens.com/?p=111</guid>
		<description><![CDATA[For a while now, I&#8217;ve been using Sublime Text instead of ColdFusion Builder/CFEclipse &#8211; it&#8217;s faster and just gets out of the way. (I do still use Eclipse for MXUnit plugin however) Getting ColdFusion support wasn&#8217;t too hard &#8211; I used the great package at https://github.com/indynagpal/coldfusion-sublime-text-2. However, it felt a little too &#8220;hands-on&#8221; for me for]]></description>
			<content:encoded><![CDATA[<p>For a while now, I&#8217;ve been using Sublime Text instead of ColdFusion Builder/CFEclipse &#8211; it&#8217;s faster and just gets out of the way. (I do still use Eclipse for MXUnit plugin however)</p>
<p>Getting ColdFusion support wasn&#8217;t too hard &#8211; I used the great package at <a href="https://github.com/indynagpal/coldfusion-sublime-text-2">https://github.com/indynagpal/coldfusion-sublime-text-2</a>. However, it felt a little too &#8220;hands-on&#8221; for me for 2011.</p>
<p>However, today I discovered another ColdFusion package. The folks over at sublimetext.info (as best I can tell, not connected to the official company) have a GitHub repo at http://github.com/SublimeText with a number of Sublime Text packages for various languages. ColdFusion is one, and while it doesn&#8217;t have the massive snippet support of indynagpal&#8217;s, it does do a good job of mirroring some of the most common shortcuts used in Eclipse. You can do the downloading and unzipping thing (or git clone) &#8211; uggh &#8211; but you can also use the very excellent package manager over at <a href="http://wbond.net/sublime_packages/package_control">http://wbond.net/sublime_packages/package_control</a> to install ColdFusion support in Sublime Text in just a few steps:</p>
<ul>
<li>Install Sublime Text from http://www.sublimetext.com if you haven&#8217;t already (unregistered version currently never times out, but I recommend purchasing it &#8211; the time you&#8217;ll save not waiting around for Eclipse to load will pay for itself quickly!)</li>
<li>Open Sublime, press CTRL (<span style="color: #ff0000;">Update:</span> both Mac and PC &#8211; *NOT* CMD on Mac) + ` (For the confused: hold down those 2 keys at the same time &#8211; note it&#8217;s the character below ESC, not a single quote)</li>
<li>Copy and paste the following into the console that comes up in Sublime Text: (from <a href="http://wbond.net/sublime_packages/package_control/installation">http://wbond.net/sublime_packages/package_control/installation</a>)
<pre><code>import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print 'Please restart Sublime Text to finish installation'</code></pre>
</li>
<li>When it finishes (&#8220;Please restart Sublime Text to finish installation&#8221; shows in the bottom line of console), close Sublime Text and reopen</li>
<li>Click Preferences &gt; Package Control</li>
<li>Click &#8220;Package Control: Install Package&#8221;</li>
<li>Scroll to or just type &#8220;ColdFusion&#8221; &#8211; hit Enter</li>
<li>You&#8217;ll see some action in the status bar of the app &#8211; it&#8217;ll tell you when it&#8217;s installed</li>
<li>Code your little ColdFusion heart out now &#8211; for into on shortcuts, etc, see the readme at <a href="https://github.com/SublimeText/ColdFusion">https://github.com/SublimeText/ColdFusion</a></li>
</ul>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.billycravens.com/coldfusion-sublimetext/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Retrieve EC2 AMI ID dynamically from ColdFusion</title>
		<link>http://www.billycravens.com/retrieve-ec2-ami-id-dynamically-from-coldfusion</link>
		<comments>http://www.billycravens.com/retrieve-ec2-ami-id-dynamically-from-coldfusion#comments</comments>
		<pubDate>Mon, 28 Nov 2011 21:39:25 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[Cloud]]></category>
		<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[coldfusion]]></category>
		<category><![CDATA[ec2]]></category>

		<guid isPermaLink="false">http://ec2-75-101-165-169.compute-1.amazonaws.com/wordpress/?p=105</guid>
		<description><![CDATA[Every EC2 instance is based on an Amazon Machine Image (AMI), which is basically a VM image. These can be &#8220;off the shelf&#8221;, or even better, you can customize one to your exact needs.This is really useful when you want to replicate machines, spreading work load across a mini cluster. You can automate this from]]></description>
			<content:encoded><![CDATA[<p>Every EC2 instance is based on an Amazon Machine Image (AMI), which is basically a VM image. These can be &#8220;off the shelf&#8221;, or even better, you can customize one to your exact needs.This is really useful when you want to replicate machines, spreading work load across a mini cluster.</p>
<p>You can automate this from ColdFusion. Typically I&#8217;ll have a URL I call that starts up a series of tasks on each machine. Since the address for each machine is assigned by Amazon (you can get fancy with Elastic IPs if you&#8217;d like, but there&#8217;s really no need), it&#8217;s a matter of querying Amazon for the list of server names. Of course, if you&#8217;re running different types of machines, you want to filter by AMI ID, which of course changes each time you build a new image.</p>
<p>I won&#8217;t get into the exact code for querying here, but here&#8217;s how you get the AMI for a given machine from within ColdFusion: (Assumption is that this machine is one of your cluster machines, so once you have its AMI ID, you can filter for other machines like it)<br />
<code><br />
&lt;cfscript&gt;<br />
if (! isdefined("application.amiId")){<br />
application.amiId=fileRead("http://169.254.169.254/2011-01-01/meta-data/ami-id");<br />
}<br />
request.amiID = application.amiId;<br />
&lt;/cfscript&gt;</code></p>
<p>Note: above tested in Open BlueDragon 2.0 &#8211; use &lt;cfhttp&gt; tag for engines that don&#8217;t support fileRead(uri)</p>
<p>As you might guess, that IP address is an API for EC2 metadata. The date is the API version (call the root IP address to get a list of API versions), &#8220;meta-data&#8221; is the API service, and &#8220;ami-id&#8221; is the value you&#8217;re requesting. (Call the URL without &#8220;ami-id&#8221; for a list of available values). For more information, go to <a href="http://docs.amazonwebservices.com/AWSEC2/2008-08-08/DeveloperGuide/index.html?AESDG-chapter-instancedata.html" target="_blank">http://docs.amazonwebservices.com/AWSEC2/2008-08-08/DeveloperGuide/index.html?AESDG-chapter-instancedata.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.billycravens.com/retrieve-ec2-ami-id-dynamically-from-coldfusion/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MXUnit Eclipse plugin on non-standard port</title>
		<link>http://www.billycravens.com/mxunit-eclipse-plugin-on-non-standard-port</link>
		<comments>http://www.billycravens.com/mxunit-eclipse-plugin-on-non-standard-port#comments</comments>
		<pubDate>Sun, 27 Nov 2011 22:13:19 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[coldfusion]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[mxunit]]></category>
		<category><![CDATA[openbd]]></category>

		<guid isPermaLink="false">http://ec2-75-101-165-169.compute-1.amazonaws.com/wordpress/?p=100</guid>
		<description><![CDATA[Small tip, but this held me up a bit. For unit testing in ColdFusion, MXUnit is the standard. Even better, you can run your tests from within Eclipse, via a plugin. After dropping MXUnit into my app (OSX 10.7.2 on dev machine, Eclipse+CFEclipse, Tomcat 7.0, Open BlueDragon 2.0 &#8211; had some pathing issues, but that&#8217;s]]></description>
			<content:encoded><![CDATA[<p>Small tip, but this held me up a bit.</p>
<p>For unit testing in ColdFusion, MXUnit is the standard. Even better, you can run your tests from within Eclipse, via a plugin.</p>
<p>After dropping MXUnit into my app (OSX 10.7.2 on dev machine, Eclipse+CFEclipse, Tomcat 7.0, Open BlueDragon 2.0 &#8211; had some pathing issues, but that&#8217;s another post&#8230;)</p>
<p>Right clicking on a unit test (such as in mxunit/samples/MyComponentTest.cfc) and selecting Run MXUnit Test, I received the following error:</p>
<p><a href="http://ec2-75-101-165-169.compute-1.amazonaws.com/wordpress/wp-content/uploads/2011/11/Screen-Shot-2011-11-27-at-4.03.38-PM1.png"><img class="aligncenter size-full wp-image-102" title="Screen Shot 2011-11-27 at 4.03.38 PM" src="http://ec2-75-101-165-169.compute-1.amazonaws.com/wordpress/wp-content/uploads/2011/11/Screen-Shot-2011-11-27-at-4.03.38-PM1.png" alt="" width="597" height="336" /></a></p>
<p>Turns out it was going to port 80, rather than the port my CFML engine was running on (8080 in my case). This is an Eclipse preference:</p>
<p><a href="http://ec2-75-101-165-169.compute-1.amazonaws.com/wordpress/wp-content/uploads/2011/11/Screen-Shot-2011-11-27-at-4.10.27-PM.png"><img class="aligncenter size-full wp-image-103" title="Screen Shot 2011-11-27 at 4.10.27 PM" src="http://ec2-75-101-165-169.compute-1.amazonaws.com/wordpress/wp-content/uploads/2011/11/Screen-Shot-2011-11-27-at-4.10.27-PM.png" alt="" width="659" height="315" /></a></p>
<p>Change the port to &#8220;http://localhost:8080/&#8230;&#8221; (or whatever you&#8217;re running) and it should work</p>
]]></content:encoded>
			<wfw:commentRss>http://www.billycravens.com/mxunit-eclipse-plugin-on-non-standard-port/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring Assembla git</title>
		<link>http://www.billycravens.com/configuring-assembla-git</link>
		<comments>http://www.billycravens.com/configuring-assembla-git#comments</comments>
		<pubDate>Sun, 27 Nov 2011 05:13:33 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[assembla]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[os x]]></category>

		<guid isPermaLink="false">http://ec2-75-101-165-169.compute-1.amazonaws.com/wordpress/?p=97</guid>
		<description><![CDATA[I&#8217;m trying to get back on the git train. I worked with it on a project a couple of years ago, and really liked it, but since then, I really haven&#8217;t strayed from Subversion. Truth is, svn is easy: there are more tools, and you don&#8217;t have to deal with SSH keys and whatnot. However,]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m trying to get back on the git train. I worked with it on a project a couple of years ago, and really liked it, but since then, I really haven&#8217;t strayed from Subversion. Truth is, svn is easy: there are more tools, and you don&#8217;t have to deal with SSH keys and whatnot. However, on my current project, I really run the technology, so I really wanted to do thing the &#8220;right way&#8221;.</p>
<p>Our project management solution is Assembla. We were on Unfuddle, which is pretty good, but Assembla offers more. (I flirted with using a private GitHub repo) Some of the advantages Assembla offers:</p>
<ul>
<li>Single project workspace, multiple repos. I like being able to tie checkins to tickets, but don&#8217;t want a single set of tickets: other solutions are one-to-one or many-to-many with their tickets projects and repos.</li>
<li>Support for post-commit hooks</li>
<li>Integrated chat (not really useful, but makes impromptu chats without requiring folks to run IM clients)</li>
<li>Agile planning tools: This was the thing that no one else seemed to do. It features burn down charts, a Kanban card wall, virtual stand-up meetings, per sprint hour summaries, and more.</li>
</ul>
<p>On agile: I&#8217;m the only developer &#8211; does agile make sense? Absolutely!! I frequently have to drop things at a split moment&#8217;s notice and work on something else: it&#8217;s imperative I inject tasks and still keep sight of the overall progress. I could really go into this, but that&#8217;s for another blog post.</p>
<p>So I set up my git repo in Assemba, committed locally, and was ready to push. (This isn&#8217;t a git tutorial &#8230; we&#8217;ll get to the point here in a minute) However, the connection failed when doing the following:</p>
<p><code>git remote add origin git@git.assembla.com:myrepo.git<br />
git push origin master<br />
</code></p>
<p>You want to make sure you properly set up your SSH keys:</p>
<ul>
<li>When setting up your SSH public key in Assembla, it&#8217;s easiest to upload (https://www.assembla.com/user/edit/edit_git_settings) your pub file (for example, id_rsa.pub). If you&#8217;re on a Mac, you&#8217;ll either have to enable seeing hidden folders (since it&#8217;s in ~/.ssh), or copy it someplace you can easily get to from browser:<br />
<code>cp ~/.ssh/id_rsa.pub ~/Desktop/id_rsa.pub</code></li>
<li>Make sure you have git configured with the email address that you use to login to Assembla:<br />
<code>git config --global user.email myassemblaemailaddress@example.com</code></li>
<li>This was the one I still had to do to make it work .. configure your SSH hosts by editing ~/.ssh/config with the following: (if there&#8217;s other entries, just add to bottom of file)<br />
<code>Host git.assembla.com<br />
IdentityFile ~/.ssh/id_rsa<br />
GSSAPIAuthentication no<br />
PubkeyAuthentication yes<br />
PasswordAuthentication no</code></li>
</ul>
<p>That did the trick. I realize I left much about git out here (for example, you may not want to globally set your email address) but I just wanted to show what worked for me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.billycravens.com/configuring-assembla-git/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Google Chrome via Ubuntu command line</title>
		<link>http://www.billycravens.com/94</link>
		<comments>http://www.billycravens.com/94#comments</comments>
		<pubDate>Sun, 16 Oct 2011 06:32:18 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[Server admin]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[headless]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[selenium]]></category>

		<guid isPermaLink="false">http://ec2-75-101-165-169.compute-1.amazonaws.com/wordpress/?p=94</guid>
		<description><![CDATA[I&#8217;m running Selenium on headless Ubuntu Linux servers (in EC2), using a virtual X-server (Xvfb &#8211; X Virtual Frame Buffer). This is of course means that all installs happen via the command line. (You can actually set up a VNC or NX server if you want to login and get a GUI, but that&#8217;s really]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m running Selenium on headless Ubuntu Linux servers (in EC2), using a virtual X-server (Xvfb &#8211; X Virtual Frame Buffer). This is of course means that all installs happen via the command line. (You can actually set up a VNC or NX server if you want to login and get a GUI, but that&#8217;s really not necessary, eats up resources, and is a fairly slow experience)</p>
<p>This is always very easy when you&#8217;re dealing with software you can &#8220;apt-get&#8221; (such as Firefox), but for other software, it can be a challenge (for example, Google Chrome).</p>
<p>First of all, finding where to download Google Chrome is a bit challenging; unlike a browser where you can just click a link and let the redirects bounce around, when downloading via the command line (using wget) you need the exact URL. Tracking this down isn&#8217;t immediately obvious (loading the download page up in a normal browser you see various forms and get some redirects). However, I found it:</p>
<p>https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb</p>
<p>So login to your server via SSH, and:</p>
<p><code>cd /tmp<br />
sudo wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb<br />
</code></p>
<p>Now to install it:</p>
<p><code>sudo dpkg -i google-chrome-stable_current_i386.deb<br />
</code></p>
<p>Hmmm.. big oops &#8211; unmet dependencies. (At least on my server.) So let&#8217;s knock those out:</p>
<p><code>sudo apt-get -f install<br />
</code></p>
<p>At this point, Chrome should be good to go. Of course, there&#8217;s some gotchas with how you&#8217;d start Selenium, etc, but that&#8217;s for another post …..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.billycravens.com/94/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Resetting iPhone 4 with new phone # with developer iOS running</title>
		<link>http://www.billycravens.com/resetting-iphone-4-with-new-phone-with-developer-ios-running</link>
		<comments>http://www.billycravens.com/resetting-iphone-4-with-new-phone-with-developer-ios-running#comments</comments>
		<pubDate>Sun, 16 Oct 2011 00:02:38 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[Random Geekiness]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://ec2-75-101-165-169.compute-1.amazonaws.com/wordpress/?p=87</guid>
		<description><![CDATA[I picked up an iPhone 4S yesterday. The plan was to give my current iPhone 4 to my wife (she&#8217;s upgrading from a Blackberry Torch) Easy: go to AT&#38;T store, get my new phone. They put a new SIM card in the iPhone 4, with her number (the Blackberry uses a standard SIM, iPhone 4]]></description>
			<content:encoded><![CDATA[<p>I picked up an iPhone 4S yesterday. The plan was to give my current iPhone 4 to my wife (she&#8217;s upgrading from a Blackberry Torch)</p>
<p>Easy: go to AT&amp;T store, get my new phone. They put a new SIM card in the iPhone 4, with her number (the Blackberry uses a standard SIM, iPhone 4 uses Micro SIM)</p>
<p>Then I reset her phone, and try to set it up. However, I run into problem, due to the fact that I was running a beta of iOS 5 on it: it doesn&#8217;t recognize the phone as provisioned for development. Even though it had been, and it is the same phone, apparently with a new SIM it is seen as a different device.</p>
<p>So I need to reset it, not only to get it working, but so it can be bumped up to release of iOS 5; no need for my wife&#8217;s phone to use the developer release.</p>
<p>First, <a href="http://osxdaily.com/2011/01/08/iphone-recovery-mode/" target="_blank">put phone into DFU mode</a>.</p>
<p>Hooking it up to my computer and attempted to reset resulted in an error message after running the restore. At first, I thought it was iTunes: I was running the beta of iTunes 10.5, which apparently expired yesterday. So I download latest version, and try again &#8211; it tells me the phone isn&#8217;t authorized for that version (it was trying to restore to iOS 4.3.5). I believe the restore checks with Apple to confirm the OS (it&#8217;s signed), and with the release of 5, Apple was revoking older versions.</p>
<p>The key: you need to update to iOS 5, not an older version. This requires downloading the iOS 5 update manually, rather than using iTunes/iPhone to do it (since you&#8217;re phone is in DFU mode).</p>
<ul>
<li>download it from Apple&#8217;s servers &#8211; <a href="http://osxdaily.com/2011/10/12/ios-5-download-available/" target="_blank">here&#8217;s a list</a> (Make sure you download the correct version for your device)</li>
<li>in DFU mode, with iPhone connected to USB, hold Alt (Mac OSX) or Shift (Windows) key and click Restore while key is held  (in iTunes, select your phone &gt; Summary tab) &#8211; it will then prompt you for the location of the IPSW file you downloaded</li>
<li>Should be able to update your phone correctly at this point, restoring to clean iOS 5</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.billycravens.com/resetting-iphone-4-with-new-phone-with-developer-ios-running/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

