<?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>Witheringtree &#187; Mac</title>
	<atom:link href="http://www.witheringtree.com/tag/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.witheringtree.com</link>
	<description>If a tree falls in the forest and no one is around to hear it fall… yeah, it still makes a sound.</description>
	<lastBuildDate>Sat, 05 May 2012 15:15:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Add a digital signature to a PDF using Preview</title>
		<link>http://www.witheringtree.com/2011/11/add-a-digital-signature-to-a-pdf-using-preview/</link>
		<comments>http://www.witheringtree.com/2011/11/add-a-digital-signature-to-a-pdf-using-preview/#comments</comments>
		<pubDate>Sun, 06 Nov 2011 16:07:01 +0000</pubDate>
		<dc:creator>David Freerksen</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Apple Software]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips/Tricks]]></category>

		<guid isPermaLink="false">http://www.witheringtree.com/?p=954</guid>
		<description><![CDATA[Apple always builds all kinds of hidden things into their stuff. Today I had to sign a contract. The contract was sent over as a PDF. I really didn’t want to print it, sign it, and mail or fax it back or rescan it and email it back. I don’t have a scanner and I &#8230; <a href="http://www.witheringtree.com/2011/11/add-a-digital-signature-to-a-pdf-using-preview/" title="Continue reading">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Apple always builds all kinds of hidden things into their stuff. Today I had to sign a contract. The contract was sent over as a PDF. I really didn’t want to print it, sign it, and mail or fax it back or rescan it and email it back. I don’t have a scanner and I don’t have a printer. I started playing with Preview and it turns out, it’s built in now. This is available in Lion.</p>
<ol>
<li>Open the PDF that needs a signature with Preview.</li>
<li>Click the <strong>Annotate</strong> tab to display the annotate toolbar.</li>
<li>Select the <strong>Signature</strong> button.</li>
<li>If you do not have a signature loaded already, click <strong>Create Signature from Built-In iSight&#8230;</strong>. If you already have one loaded, skip to step 7<br /><a href="http://www.witheringtree.com/wp-content/uploads/2011/11/signature_annotate.png" rel="shadowbox[sbpost-954];player=img;"><img src="http://www.witheringtree.com/wp-content/uploads/2011/11/signature_annotate-300x80.png" alt="" title="signature_annotate" width="300" height="80" class="alignnone size-medium wp-image-956" /></a></li>
<li>In the <strong>Signatures</strong> tab, click <strong>Create Signature&#8230;</strong></li>
<li>Sign your name to a white piece of paper and hold it up to your iSight camera.</li>
<li>Click <strong>Accept</strong> when your signature is positioned correctly inside the preview area.<br /><a href="http://www.witheringtree.com/wp-content/uploads/2011/11/signature_capture.png" rel="shadowbox[sbpost-954];player=img;"><img src="http://www.witheringtree.com/wp-content/uploads/2011/11/signature_capture-300x146.png" alt="" title="signature_capture" width="300" height="146" class="alignnone size-medium wp-image-957" /></a></li>
<li>With the Signature button selected (it should be blue), click and drag where you want to place your signature.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.witheringtree.com/2011/11/add-a-digital-signature-to-a-pdf-using-preview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting Up Virtual Hosts in Zend Server CE on OS X</title>
		<link>http://www.witheringtree.com/2011/07/setting-up-virtual-hosts-in-zend-server-ce-on-os-x/</link>
		<comments>http://www.witheringtree.com/2011/07/setting-up-virtual-hosts-in-zend-server-ce-on-os-x/#comments</comments>
		<pubDate>Tue, 19 Jul 2011 00:40:19 +0000</pubDate>
		<dc:creator>David Freerksen</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Website]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[CodeIgniter]]></category>
		<category><![CDATA[Tips/Tricks]]></category>

		<guid isPermaLink="false">http://www.witheringtree.com/?p=930</guid>
		<description><![CDATA[What is a virtual host? Virtual hosting is a method for hosting multiple domain names on a computer using a single IP address. Shared hosting uses this same method for all of the sites they host. Aren&#8217;t those URLs you use in Zend Server getting pretty ugly? Would you like to change http://localhost/my/awesome/website into http://www.super-awesome.local &#8230; <a href="http://www.witheringtree.com/2011/07/setting-up-virtual-hosts-in-zend-server-ce-on-os-x/" title="Continue reading">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>
What is a virtual host? Virtual hosting is a method for hosting multiple domain names on a computer using a single IP address. Shared hosting uses this same method for all of the sites they host. Aren&#8217;t those URLs you use in Zend Server getting pretty ugly? Would you like to change http://localhost/my/awesome/website into http://www.super-awesome.local You can!
</p>
<p>
Last time we talked about general Zend Server setup. This time, we will be going through setting up virtual hosts on your local machine. This again will involve Terminal.
</p>
<p>
This assumes you have Zend Server set up and running. If it is not, <a href="http://www.witheringtree.com/2011/07/installing-zend-server-ce-on-os-x-a-guide-for-the-terminal-timid/" title="Installing Zend Server CE on OS X: A Guide For the Terminal Timid">go here</a>.
</p>
<p><span id="more-930"></span></p>
<ol>
<li>
<p>
		Open Terminal. Terminal can be found at /Applications/Utilities/Terminal.app
	</p>
<p>
		You can also open it from Spotlight by typing &#8220;Terminal&#8221;
	</p>
</li>
<li>
<p>
		We are going to edit our httpd.conf file. In Terminal type:<br />
		<code><br />
			sudo vi /usr/local/zend/apache2/conf/httpd.conf<br />
		</code>
	</p>
<p>
		Enter your password if prompted
	</p>
</li>
<li>
<p>
		Use the up, down, left, right arrow keys to scroll down to where you see:<br />
		<code><br />
			# Virtual hosts<br />
			#Include conf/extra/httpd-vhosts.conf<br />
		</code>
	</p>
</li>
<li>
<p>
		In Terminal press &#8220;i&#8221;. This will take you into edit mode to edit the file.
	</p>
</li>
<li>
<p>
		Remove the &#8220;#&#8221; before &#8220;Include&#8221;. It should look like this now:<br />
		<code><br />
			# Virtual hosts<br />
			Include conf/extra/httpd-vhosts.conf<br />
		</code>
	</p>
</li>
<li>
<p>
		Press the escape key to exit out of edit mode. Press &#8220;:x&#8221; to save your changes.
	</p>
</li>
<li>
<p>
		Now we are going to edit our httpd-vhosts.conf file. In Terminal type:<br />
		<code><br />
			sudo vi /usr/local/zend/apache2/conf/extra/httpd-vhosts.conf<br />
		</code>
	</p>
<p>
		Enter your password when prompted
	</p>
</li>
<li>
<p>
		In Terminal press &#8220;i&#8221; to go into edit mode.
	</p>
</li>
<li>
<p>
		Use the up, down, left, right arrow keys to scroll down to where you see:<br />
		<code><br />
			NameVirtualHost *:10088<br />
		</code>
	</p>
<p>
		In the previous tutorial we change the port to 80. So now we have to change this line to read:<br />
		<code><br />
			NameVirtualHost *:80<br />
		</code>
	</p>
</li>
<li>
<p>
		Let&#8217;s say you want to have a local virtual host for http://www.super-awesome.local that needs to be pointed at the /Users/YOUR_USERNAME/Sites/super-awesome directory. We need to add the following to the httpd-vhosts.conf file:<br />
		<code><br />
			&lt;VirtualHost *:80&gt;<br />
			&nbsp;&nbsp;&nbsp;&nbsp;DocumentRoot "/Users/YOUR_USERNAME/Sites/super-awesome"<br />
			&nbsp;&nbsp;&nbsp;&nbsp;ServerName www.super-awesome.local<br />
			&nbsp;&nbsp;&nbsp;&nbsp;ServerAlias super-awesome.local<br />
			&lt;/VirtualHost&gt;<br />
		</code>
	</p>
<p>
		* Note: .local is just what I picked. You can change that to .dev or .blah or whatever you like. Try to stay away from common domain extensions like .com or .net. And, yes, you can end it with more than one extension like .foo.bar
	</p>
</li>
<li>
<p>
		Press the escape key to exit out of edit mode. Press &#8220;:x&#8221; to save your changes.
	</p>
</li>
<li>
<p>
		It&#8217;s probably a good idea to make sure we didn&#8217;t mess up syntax or spelling. In Terminal type:<br />
		<code><br />
			sudo apachectl configtest<br />
			sudo apachectl graceful<br />
		</code>
	</p>
<p>
		Enter your password if prompted
	</p>
<p>
		If there are any errors they will be displayed to you. Repeat steps 10 and 11 as many times as needed.
	</p>
</li>
<li>
<p>
		Let&#8217;s go ahead and restart Zend Server so it can get the changes. In Terminal type:<br />
		<code><br />
			sudo /usr/local/zend/bin/zendctl.sh restart<br />
		</code>
	</p>
<p>
		Enter your password if prompted
	</p>
</li>
<li>
<p>
		Browse to either http://www.super-awesome.local or http://super-awesome.local and your site should display
	</p>
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.witheringtree.com/2011/07/setting-up-virtual-hosts-in-zend-server-ce-on-os-x/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Installing Zend Server CE on OS X: A Guide For the Terminal Timid</title>
		<link>http://www.witheringtree.com/2011/07/installing-zend-server-ce-on-os-x-a-guide-for-the-terminal-timid/</link>
		<comments>http://www.witheringtree.com/2011/07/installing-zend-server-ce-on-os-x-a-guide-for-the-terminal-timid/#comments</comments>
		<pubDate>Sat, 16 Jul 2011 17:29:56 +0000</pubDate>
		<dc:creator>David Freerksen</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Tips/Tricks]]></category>

		<guid isPermaLink="false">http://www.witheringtree.com/?p=921</guid>
		<description><![CDATA[I use MAMP Pro both at home and at work for development. It quick, it&#8217;s easy and I really don&#8217;t have to fiddle with it a lot after it is set up. It&#8217;s perfect for me. At work we have a project to be built with Codeigniter sitting on a Linux machine but we wanted &#8230; <a href="http://www.witheringtree.com/2011/07/installing-zend-server-ce-on-os-x-a-guide-for-the-terminal-timid/" title="Continue reading">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>
	I use <a href="http://mamp.info/" title="MAMP Pro" target="_blank">MAMP Pro</a> both at home and at work for development. It quick, it&#8217;s easy and I really don&#8217;t have to fiddle with it a lot after it is set up. It&#8217;s perfect for me.
</p>
<p>
	At work we have a project to be built with <a href="http://www.codeigniter.com/" title="Codeigniter" target="_blank">Codeigniter</a> sitting on a Linux machine but we wanted to use Microsoft SQL Server on a different machine as the database. Turns out, it&#8217;s not a simple as changing the database type in Codeigniter to &#8220;mssql&#8221; to get it up and running. If this is all you do, you get the dreaded white screen. You need a PHP extension to do it. Problem is, Microsoft only makes this PHP extension for Windows. There are a lot of tutorials out there on how to build the extension yourself on Mac or Linux machine (<a href="http://www.dotvoid.com/2010/01/adding-support-for-ms-sql-server-to-php-in-linux/" target="_blank">this site for example</a>), but none seemed to work for me.
</p>
<p>
	Instead of setting up a Windows virtual machine and being forced into developing that way, I decided to install Zend Server CE. Zend comes with a MSSQL extension, it just needs to be enabled.
</p>
<p>
	This tutorial does include Terminal work. I am going to walk through step-by-step, so even if you are not comfortable with Terminal, you will be up and running with Zend Server CE in no time. The only requirement is you are running an Intel Mac OS X.
</p>
<p><span id="more-921"></span></p>
<ol>
<li>
<p>
			<a href="http://www.zend.com/en/products/server-ce/index" title="Zend Server CE" target="_blank">Download Zend Server CE</a>. CE (Community Edition) is free.
		</p>
</li>
<li>
<p>
			Install Zend Server CE like you would any other application. You can optionally drop/drop Zend Controller.app into your applications directory if you want.
		</p>
</li>
<p>
			Once installed, in your applications directory, open ZendServer.app. This will open a browser window. Go through the three steps. Congratulations! You have Zend Server CE set up and running. But we aren&#8217;t done yet.
		</p>
<p>
			By default, the root folder of your Zend Server is at /usr/local/zend/htdocs. Since /usr is a hidden directory, it&#8217;s not easily accessible.
		</p>
<p>
			But first&#8230;
		</p>
</li>
<li>
<p>
			Open Terminal. Terminal can be found at /Applications/Utilities/Terminal.app
		</p>
<p>
			You can also open it from Spotlight by typing &#8220;Terminal&#8221;
		</p>
</li>
<li>
<p>
			OS X comes with Apache already installed. We don&#8217;t want to use that version. We want to use the Zend Server version.
		</p>
<p>
			In Terminal type:<br />
			<code><br />
				sudo /usr/local/zend/bin/zendctl.sh stop<br />
			</code><br />
			To stop Zend Server. Then type:<br />
			<code><br />
			sudo apachectl stop<br />
			</code></p>
<p>
			Enter your password if prompted
		</p>
</li>
<li>
<p>
			We need to move apachectl to a safe place, such as your home directory. In Terminal type:<br />
			<code><br />
				cd /usr/sbin/<br />
				sudo mv apachectl /Users/YOUR_USERNAME/<br />
			</code>
		</p>
</li>
<li>
<p>
			Then create a symbolic link to Zend Server&#8217;s apachectl. In Terminal type:<br />
			<code><br />
				sudo ln -s /usr/local/zend/apache2/bin/apachectl ./<br />
			</code>
		</p>
</li>
<li>
<p>
			Start Zend Server&#8217;s Apache. In Terminal type:<br />
			<code><br />
				sudo apachectl start<br />
			</code>
		</p>
<p>
			You should then see:<br ><br />
			<code><br />
				/usr/sbin/apachectl start [OK]<br />
			</code>
		</p>
</li>
<li>
<p>
			If you go to http://localhost/ in your browser, you will either get a forbidden or a 404 message. We&#8217;ll change that next.
		</p>
</li>
<li>
<p>
			Zend Studio&#8217;s Apache comes preconfigured to use port 10088. Let&#8217;s change this to port 80 like the default Apache port uses.
		</p>
<p>
			Now we are getting into <a href="http://en.wikipedia.org/wiki/Vi" target="_blank">vi</a> editing. I think this scares a lot of people. But don&#8217;t worry. It&#8217;s very simple.
		</p>
<p>
			We are going to edit our httpd.conf file. In Terminal type:<br />
			<code><br />
				sudo vi /usr/local/zend/apache2/conf/httpd.conf<br />
			</code>
		</p>
<p>
			Enter your password when prompted
		</p>
</li>
<li>
<p>
			You are in vi edit mode so you won&#8217;t be able to type in Terminal like you normally would. Typing only gives you the the OS X bump sound. That&#8217;s normal. You can use the up, down, left, right arrow keys.
		</p>
<p>
			Look for the line that says &#8220;Listen 10088&#8243;
		</p>
<p>
			In Terminal, type &#8220;i&#8221; to go into edit mode to start editing the file. At the bottom of the Terminal window it will say &#8220;&#8211; INSERT &#8211;&#8221; to notify you that you are editing the file.
		</p>
</li>
<li>
<p>
			With your blinker over the &#8220;L&#8221; on &#8220;Listen&#8221;, type &#8220;#&#8221; to comment out that line
		</p>
<p>
			Use the down arrow to go to the next line.
		</p>
<p>
			Type:<br />
			<code><br />
				Listen 80<br />
			</code>
		</p>
</li>
<li>
<p>
			Since we are already editing this file, we will go ahead and change our root directory since, as I mentioned earlier, the /usr directory is a hidden directory.
		</p>
<p>
			Use the down arrow to scroll down to where it says<br />
			<code><br />
				DocumentRoot "/usr/local/zend/apache2/htdocs"<br />
			</code>
		</p>
<p>
			With your blinker over the &#8220;D&#8221; on &#8220;DocumentRoot&#8221;, type &#8220;#&#8221; to comment out that line
		</p>
<p>
			Use the down arrow to go to the next line.
		</p>
<p>
			Type:<br />
			<code><br />
				DocumentRoot "/Users/YOUR_USERNAME/Sites"<br />
			</code>
		</p>
<p>
			This is the default web root for OS X sites. This is a pretty good place to put out root as well.
		</p>
</li>
<li>
<p>
			Use the down arrow again to scroll down to where it says<br />
			<code><br />
				&lt;Directory "/usr/local/zend/apache2/htdocs"&gt;<br />
			</code>
		</p>
<p>
			With your blinker over the &#8220;&lt;&#8221;, type &#8220;#&#8221; to comment out that line
		</p>
<p>
			Use the down arrow to go to the next line.
		</p>
<p>
			Type:<br />
			<code><br />
				&lt;Directory "/Users/YOUR_USERNAME/Sites"&gt;<br />
			</code>
	</li>
<li>
<p>
			We are done editing this file. Now we need to save it. In Terminal, hit the escape key to edit out of editing mode. The &#8220;&#8211; INSERT &#8211;&#8221; at the bottom will go away.
		</p>
<p>
			In Terminal again, type &#8220;:x&#8221;. This exits vi mode and saves what you changed
		</p>
</li>
<li>
<p>
			Restart apachectl type typing:<br />
			<code><br />
				sudo apachectl restart<br />
			</code>
		</p>
<p>
			Enter your password when prompted
		</p>
</li>
<li>
<p>			If you go to http://localhost/ in your browser, you will see the default Mac OS X homepage now.
		</p>
</li>
<li>
<p>
			To configure Zend Framework, type:<br />
			<code><br />
				sudo ln -s /usr/local/zend/share/ZendFramework/bin/zf.sh ./zf<br />
			</code>
	</li>
<li>
<p>
			To Configure Pear, type<br />
			<code><br />
				sudo ln -s /usr/local/zend/bin/pear ./<br />
				sudo pear upgrade pear<br />
			</code>
		</p>
</li>
<li>
<p>
			Now we have to configure MySQL. In terminal type:<br />
			<code><br />
				sudo ln -s /usr/local/zend/mysql/bin/mysql ./<br />
				sudo ln -s /usr/local/zend/mysql/bin/mysqladmin ./<br />
			</code>
		</p>
</li>
<li>
<p>
			We have to edit some settings in my.cnf for MySQL, so we go back to vi. In Terminal, type:<br />
			<code><br />
				sudo vi /usr/local/zend/mysql/data/my.cnf<br />
			</code>
		</p>
<p>
			To edit the file, it is similar to what you did in step 10.
		</p>
<p>
			Use the down arrow to scroll down to where it says:<br />
			<code><br />
				socket = /usr/local/zend/mysql/tmp/mysql.sock<br />
			</code>
		</p>
<p>
			With your blinker over the &#8220;s&#8221; on &#8220;socket&#8221;, type &#8220;#&#8221; to comment out that line
		</p>
<p>
			Use the down arrow to go to the next line.
		</p>
<p>
			Type:<br />
			<code><br />
				socket = /tmp/mysql.sock<br />
			</code>
		</p>
</li>
<li>
<p>
			By default, the password that comes with Zend Server is blank. You can change this by removing the &#8220;#&#8221; next to &#8220;password&#8221; and then changing &#8220;you_password&#8221; to whatever you want. Make sure you remember what the password is though.
		</p>
</li>
<li>
<p>
			To save the file, it is similar to what you did in step 14.
		</p>
</li>
<li>
<p>
			Configure phpMyAdmin. Since we changed the web root for Apache, we will have to create a Directory entry and Alias for phpMyAdmin, since it exists somewhere else. To edit the httpd.conf file again, in Terminal type:<br />
			<code><br />
				sudo vi /usr/local/zend/apache2/conf/httpd.conf<br />
			</code>
		</p>
<p>
			Enter your password when prompted
		</p>
</li>
<li>
<p>
			To start editing the file, use similar steps from step 10.
		</p>
<p>
			Somewhere in the file (I put it at the very end), type:<br />
			<code><br />
				Alias /phpMyAdmin /usr/local/zend/share/phpmyadmin<br />
				&lt;Directory "/usr/local/zend/share/phpmyadmin"&gt;<br />
					&nbsp;&nbsp;&nbsp;&nbsp;Options Indexes FollowSymLinks<br />
					&nbsp;&nbsp;&nbsp;&nbsp;AllowOverride All<br />
					&nbsp;&nbsp;&nbsp;&nbsp;Order allow,deny<br />
					&nbsp;&nbsp;&nbsp;&nbsp;Allow from all<br />
				&lt;/Directory&gt;<br />
			</code>
		</p>
<p>
			* Hint: Yes, you can copy/paste this if you don&#8217;t want to type it all out yourself.
		</p>
<p>
			To save the file, use similar steps from step 14.
		</p>
</li>
<li>
		Go ahead and restart Zend Server. In Terminal, type:<br />
		sudo /usr/local/zend/bin/zendctl.sh restart
	</li>
</ol>
<h3>Where do I put the file for my website(s)?</h3>
<p>
	Files will be places in /Users/YOUR_USERNAME/Sites
</p>
<p>
	Yes, of course you can create directories within that folder.
</p>
<h3>What is the URL for my site?</h3>
<p>
	The root of your site is now at <a href="http://localhost/" target="_blank">http://localhost/</a> If you have a directory within the /Users/YOUR_USERNAME/Sites directory, the URL would become http://localhost/FOLDER_NAME
</p>
<p>
	To configure Zend Server, you can get to it by going to <a href="http://localhost:10081/ZendServer/" target="_blank">http://localhost:10081/ZendServer/</a> or simply by opening ZendServer.app
</p>
<p>
	phpMyAdmin is located at <a href="http://localhost/phpMyAdmin" target="_blank">http://localhost/phpMyAdmin</a> The default username is &#8220;zend&#8221; and the password is left blank. You can also use &#8220;root&#8221; as the username. Again, with no password.
</p>
<h3>How do I start/stop/restart Zend Server?</h3>
<p>
	To start Zend Server, in Terminal type:<br />
	<code><br />
		sudo /usr/local/zend/bin/zendctl.sh start<br />
	</code>
</p>
<p>
	To stop Zend Server, in Terminal type:<br />
	<code><br />
		sudo /usr/local/zend/bin/zendctl.sh stop<br />
	</code>
</p>
<p>
	To restart Zend Server, in Terminal type:<br />
	<code><br />
		sudo /usr/local/zend/bin/zendctl.sh restart<br />
	</code>
</p>
<h3>Uninstalling Zend Server</h3>
<ol>
<li>
<p>
			Open Terminal
		</p>
</li>
<li>
<p>
			Enter<br />
			<code><br />
				sudo /usr/local/zend/bin/uninstall.sh<br />
			</code>
		</p>
<p>
			This will:</p>
<ol>
<li>Stop all Zend Server processes</li>
<li>Delete all Zend Server installed files</li>
<li>Remove the ZendServer.app from /Applications</li>
<li>Remove Zend users</li>
</ol>
</li>
<li>
<p>
			It will ask for your password. Enter your password
		</p>
</li>
<li>
<p>
			It will ask you if you are sure you want to remove Zend Server. Type &#8220;yes&#8221; (without the double quotes)
		</p>
</li>
<li>
<p>
			It tells you it will a couple directories, including your MySQL databases. Type &#8220;cont&#8221; (without the double quotes) to continue
		</p>
</li>
<li>
<p>
			In your applications directory, drag Zend Controller.app to the trash (if it is installed)
		</p>
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.witheringtree.com/2011/07/installing-zend-server-ce-on-os-x-a-guide-for-the-terminal-timid/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Mercurial .hgignore file</title>
		<link>http://www.witheringtree.com/2011/04/mercurial-hgignore-file/</link>
		<comments>http://www.witheringtree.com/2011/04/mercurial-hgignore-file/#comments</comments>
		<pubDate>Sun, 03 Apr 2011 16:09:07 +0000</pubDate>
		<dc:creator>David Freerksen</dc:creator>
				<category><![CDATA[CodeIgniter]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips/Tricks]]></category>

		<guid isPermaLink="false">http://www.witheringtree.com/?p=913</guid>
		<description><![CDATA[If you are using Mercurial, there is this handy file in your repository root called .hgignore. This is a file that keeps track of all of the files that should not be tracked by Mercurial. For example, log files or cache files should not be committed to repositories. I do a lot of work with &#8230; <a href="http://www.witheringtree.com/2011/04/mercurial-hgignore-file/" title="Continue reading">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you are using Mercurial, there is this handy file in your repository root called .hgignore. This is a file that keeps track of all of the files that should not be tracked by Mercurial. For example, log files or cache files should not be committed to repositories.</p>
<p>I do a lot of work with PHP, Codeigniter, and Eclipse on the Mac. This is what my .igignore file looks like:</p>
<p>application/logs/(?!index\.html|\.htaccess)<br />
application/cache/(?!index\.html|\.htaccess)<br />
syntax: glob<br />
.DS_Store<br />
*.[Bb][Aa][Kk]<br />
[Bb][Aa][Kk]<br />
*.[Cc]ache<br />
.buildpath<br />
.project<br />
.settings</p>
<p>The first two lines keep my logs and cache directories empty on commit except for the index.html and .htaccess files that are in there. .DS_Store is used by Finder. It’s similar to the desktop.ini file on Windows. The last three lines are to keep my Eclipse project files out of the repo. Everything else is files and directories that I tend to call things.</p>
<p>If you are on Windows, instead of .DS_Store you will probably need [Tt]humbs.db as well. If you are working with Microsoft Visual Studio and .Net, you are going to need a few more things. The ones I can think of off the top of my head are:</p>
<p>syntax: glob<br />
*.suo<br />
*.webinfo<br />
[Bb]in<br />
*/[Bb]in<br />
[Rr]elease<br />
*/[Rr]elease<br />
[Dd]ebug<br />
*/[Dd]ebug</p>
<p>All of this will of course change depending on the IDE, preferences, and framework you are using. This will help you get started.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.witheringtree.com/2011/04/mercurial-hgignore-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>96336 Minutes</title>
		<link>http://www.witheringtree.com/2011/02/96336-minutes/</link>
		<comments>http://www.witheringtree.com/2011/02/96336-minutes/#comments</comments>
		<pubDate>Fri, 18 Feb 2011 02:02:01 +0000</pubDate>
		<dc:creator>David Freerksen</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Fail]]></category>
		<category><![CDATA[Funny]]></category>

		<guid isPermaLink="false">http://www.witheringtree.com/?p=910</guid>
		<description><![CDATA[Only 66 more days before Entourage automatically checks for more email&#8230;]]></description>
			<content:encoded><![CDATA[<p>Only 66 more days before Entourage automatically checks for more email&#8230;</p>
<p><a href="http://www.witheringtree.com/wp-content/uploads/2011/02/96336-minutes.png" rel="shadowbox[sbpost-910];player=img;"><img class="alignnone size-medium wp-image-911" title="96336 Minutes" src="http://www.witheringtree.com/wp-content/uploads/2011/02/96336-minutes-300x198.png" alt="" width="300" height="198" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.witheringtree.com/2011/02/96336-minutes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Run Mac OSX in 64bit</title>
		<link>http://www.witheringtree.com/2011/02/run-mac-osx-in-64bit/</link>
		<comments>http://www.witheringtree.com/2011/02/run-mac-osx-in-64bit/#comments</comments>
		<pubDate>Thu, 10 Feb 2011 02:44:12 +0000</pubDate>
		<dc:creator>David Freerksen</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Cool]]></category>
		<category><![CDATA[Tips/Tricks]]></category>

		<guid isPermaLink="false">http://www.witheringtree.com/?p=897</guid>
		<description><![CDATA[If you are using a Mac computer, chances are, you probably aren&#8217;t taking advantage of the 64bit kernel that is built in. To check if you are using 32bit or 64bit; Click on the Apple logo Click on &#8220;More Info&#8230;&#8221; When the System Profiler window opens, on the left side, click on &#8220;System&#8221; On the &#8230; <a href="http://www.witheringtree.com/2011/02/run-mac-osx-in-64bit/" title="Continue reading">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you are using a Mac computer, chances are, you probably aren&#8217;t taking advantage of the 64bit kernel that is built in. To check if you are using 32bit or 64bit;</p>
<ol>
<li>Click on the Apple logo</li>
<li>Click on &#8220;More Info&#8230;&#8221;</li>
<li>When the System Profiler window opens, on the left side, click on &#8220;System&#8221;</li>
<li>On the right side there should be an area that says &#8220;64-bit Kernel and Extensions&#8221;</li>
</ol>
<p>If it says &#8220;no,&#8221; you are running 32bit. It&#8217;s easy enough to fix.</p>
<p>Option A<br />
Restart the computer, when it is booting up, hold down the 6 and the 4 keys on your keyboard. To verify is booted into 64bit, do the same steps as above.</p>
<p>Option B<br />
This required some Terminal work as well as a restart. Inside Terminal, type<br />
<em><span style="color: #ff0000;">sudo systemsetup -setkernelbootarchitecture x86_64</span></em><br />
This will require you to restart before you can start using the 64bit kernel. To verify is booted into 64bit, do the same steps as above. In case you want to go back to 32bit, inside Terminal again, you would type<br />
<em><span style="color: #ff0000;">sudo systemsetup -setkernelbootarchitecture i386</span></em><br />
Once again, a restart is required.</p>
<p>The up side is that it gives you, give or take, a 30% increase in just about everything your computer does. But be careful. Some software and drivers aren&#8217;t ready for 64bit just yet.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.witheringtree.com/2011/02/run-mac-osx-in-64bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Fix RSA Host Key Change Error on Mac</title>
		<link>http://www.witheringtree.com/2011/01/how-to-fix-rsa-host-key-change-error-on-mac/</link>
		<comments>http://www.witheringtree.com/2011/01/how-to-fix-rsa-host-key-change-error-on-mac/#comments</comments>
		<pubDate>Wed, 26 Jan 2011 02:03:05 +0000</pubDate>
		<dc:creator>David Freerksen</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Fedora]]></category>

		<guid isPermaLink="false">http://www.witheringtree.com/?p=887</guid>
		<description><![CDATA[At work recently, we wiped a Fedora development server and reinstalled with the newer version of the OS. When everything was back up and running, I tried to connect to it through SSH. I got an error I hadn&#8217;t seen before about my RSA host key is wrong. First of all, the error I was &#8230; <a href="http://www.witheringtree.com/2011/01/how-to-fix-rsa-host-key-change-error-on-mac/" title="Continue reading">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>At work recently, we wiped a Fedora development server and reinstalled with the newer version of the OS. When everything was back up and running, I tried to connect to it through SSH. I got an error I hadn&#8217;t seen before about my RSA host key is wrong.</p>
<p>First of all, the error I was getting is below:<br />
<a href="http://www.witheringtree.com/wp-content/uploads/2011/01/rsa.png" rel="shadowbox[sbpost-887];player=img;"><img class="alignnone size-medium wp-image-888" title="RSA" src="http://www.witheringtree.com/wp-content/uploads/2011/01/rsa-300x228.png" alt="" width="300" height="228" /></a></p>
<p>This was actually pretty easy to fix. Since you are already trying to SSH, this assumes you already know where Terminal is and you have it opened:</p>
<p>1) Inside Terminal, type<br />
<em><strong>cd /Users/YOUR_USERNAME/.ssh</strong></em><br />
Where YOUR_USERNAME is your login name for your Mac. If you don&#8217;t what what it is, your login name is the word right before the $ in the Terminal window.</p>
<p>2) Inside Terminal again, type<br />
<em><strong>rm known_hosts</strong></em><strong> </strong></p>
<p>That&#8217;s it. Your done. You can now go through SSH again. A new RSA key will be generated for you automatically. All this really did was delete a file named <em>known_hosts</em> inside the hidden <em>/Users/YOUR_USERNAME/.ssh </em>directory. Since it deleted the file, this also means that RSA keys for other SSH connections will be lost as well. However the next time you SSH to them, you will be given a new key automatically.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.witheringtree.com/2011/01/how-to-fix-rsa-host-key-change-error-on-mac/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Really?</title>
		<link>http://www.witheringtree.com/2010/07/really/</link>
		<comments>http://www.witheringtree.com/2010/07/really/#comments</comments>
		<pubDate>Sat, 31 Jul 2010 20:25:00 +0000</pubDate>
		<dc:creator>David Freerksen</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.witheringtree.com/?p=779</guid>
		<description><![CDATA[Really? I have to restart my computer for 6Kb?]]></description>
			<content:encoded><![CDATA[<p>Really? I have to restart my computer for 6Kb?</p>
<p><a href="http://www.witheringtree.com/wp-content/uploads/2010/07/6kb_restart_100731.png" rel="shadowbox[sbpost-779];player=img;"><img class="alignnone size-medium wp-image-780" title="6kb Restart" src="http://www.witheringtree.com/wp-content/uploads/2010/07/6kb_restart_100731-253x300.png" alt="" width="253" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.witheringtree.com/2010/07/really/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Resolve MySQL Not Starting In MAMP</title>
		<link>http://www.witheringtree.com/2010/05/how-to-resolve-mysql-not-starting-in-mamp/</link>
		<comments>http://www.witheringtree.com/2010/05/how-to-resolve-mysql-not-starting-in-mamp/#comments</comments>
		<pubDate>Tue, 25 May 2010 03:56:46 +0000</pubDate>
		<dc:creator>David Freerksen</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Apple Software]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips/Tricks]]></category>

		<guid isPermaLink="false">http://www.witheringtree.com/?p=769</guid>
		<description><![CDATA[I use MAMP daily. I love MAMP. I recently discovered how truly awesome MAMP Pro is too. But that&#8217;s a story for another time. I recently upgraded from MAMP 1.8.4 to 1.9. When I got MAMP 1.9 installed I started the servers. Apache came up but MySQL didn&#8217;t want to. I tried shutting down both &#8230; <a href="http://www.witheringtree.com/2010/05/how-to-resolve-mysql-not-starting-in-mamp/" title="Continue reading">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I use MAMP daily. I love MAMP. I recently discovered how truly awesome MAMP Pro is too. But that&#8217;s a story for another time. I recently upgraded from MAMP 1.8.4 to 1.9. When I got MAMP 1.9 installed I started the servers. Apache came up but MySQL didn&#8217;t want to. I tried shutting down both servers and starting it back up again, which didn&#8217;t work.</p>
<p>Thankfully, there is a pretty simple fix. To begin with, make sure MAMP is shut down. Next, open Terminal. To open Terminal either open Spotlight (Cmd+Space) and type &#8220;terminal&#8221; or you can find Terminal in the /Applications/Utilities/ folder.</p>
<p>Once you get Terminal opened, type the following:</p>

<div class="wp_syntax"><div class="code"><pre class="applescript" style="font-family:monospace;">ps aux | grep mysql 
lsof <span style="color: #000000;">-</span>i 
killall <span style="color: #000000;">-</span><span style="color: #000000;">9</span> mysqld</pre></div></div>

<p>That&#8217;s it. Start up MAMP and MySQL will come back up just like normal. Another option would be to simply change the port number MySQL is using in MAMP. Restarting your computer may work too but I did&#8217;t try that.</p>
<p>[Edit May 5, 2012] Very, very late response to a couple of the comments. If this isn&#8217;t working for you, you may have to use sudo. In Terminal, type &#8220;sudo killall -9 mysqld&#8221; (without the quotes). This will allow you to kill the mysqld process with security privileges of another users (such as root).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.witheringtree.com/2010/05/how-to-resolve-mysql-not-starting-in-mamp/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Menu Items</title>
		<link>http://www.witheringtree.com/2010/03/menu-items/</link>
		<comments>http://www.witheringtree.com/2010/03/menu-items/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 02:39:31 +0000</pubDate>
		<dc:creator>David Freerksen</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Self]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Apple Software]]></category>
		<category><![CDATA[Me]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.witheringtree.com/?p=746</guid>
		<description><![CDATA[I guess I never noticed it, but I have a lot of menu icons! In order from left to right is: Adium Waveboard Tweetie BetterTouchTool Alfred Dropbox Google Notifier &#8211; Calendar Google Notifier &#8211; GMail Caffeine MobileMe Sync Time Machine Bluetooth Wireless Audio/Volume Time Spotlight Check out a screenshot of all of them on my &#8230; <a href="http://www.witheringtree.com/2010/03/menu-items/" title="Continue reading">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.witheringtree.com/wp-content/uploads/2010/03/menu_icons.jpg" rel="shadowbox[sbpost-746];player=img;"><img class="size-full wp-image-748 aligncenter" title="Menu items" src="http://www.witheringtree.com/wp-content/uploads/2010/03/menu_icons.jpg" alt="" width="557" height="110" /></a></p>
<p>I guess I never noticed it, but I have a lot of menu icons! In order from left to right is:</p>
<p><a href="http://www.adium.im/" target="_blank">Adium</a><br />
<a href="http://www.getwaveboard.com/" target="_blank">Waveboard</a><br />
<a href="http://www.atebits.com/tweetie-mac/" target="_blank">Tweetie</a><br />
<a href="http://blog.boastr.net/" target="_blank">BetterTouchTool</a><br />
<a href="http://www.alfredapp.com/" target="_blank">Alfred</a><br />
<a href="http://www.dropbox.com/" target="_blank">Dropbox</a><br />
<a href="http://toolbar.google.com/gmail-helper/notifier_mac.html" target="_blank">Google Notifier &#8211; Calendar</a><br />
<a href="http://toolbar.google.com/gmail-helper/notifier_mac.html" target="_blank">Google Notifier &#8211; GMail</a><br />
<a href="http://lightheadsw.com/caffeine/" target="_blank">Caffeine</a><br />
<a href="http://www.me.com/" target="_blank">MobileMe Sync</a><br />
Time Machine<br />
Bluetooth<br />
Wireless<br />
Audio/Volume<br />
Time<br />
Spotlight</p>
<p>Check out a screenshot of all of them on my desktop:</p>
<p style="text-align: center;"><a title="Menu icons" rel="lightbox" href="http://www.witheringtree.com/wp-content/uploads/2010/03/menu_icons_arrows.png"><img class="size-medium wp-image-747 aligncenter" title="Menu items" src="http://www.witheringtree.com/wp-content/uploads/2010/03/menu_icons_arrows-300x187.png" alt="" width="300" height="187" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.witheringtree.com/2010/03/menu-items/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

