<?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>Jeremy Massel&#039;s Blog &#187; OS X</title>
	<atom:link href="http://masseltech.com/category/os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://masseltech.com</link>
	<description>Because sometimes I have good ideas too</description>
	<lastBuildDate>Wed, 11 Aug 2010 17:16:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Xcode Fix Recent Projects Empty</title>
		<link>http://masseltech.com/2010/04/xcode-fix-recent-projects-empty/</link>
		<comments>http://masseltech.com/2010/04/xcode-fix-recent-projects-empty/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 23:30:57 +0000</pubDate>
		<dc:creator>jeremy.massel</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Objective C]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[iPhone programming]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[useful]]></category>

		<guid isPermaLink="false">http://masseltech.com/?p=177</guid>
		<description><![CDATA[Terminal Command: defaults write com.apple.Xcode NSRecentDocumentsLimit -int 10 Relaunch Xcode. Done.]]></description>
			<content:encoded><![CDATA[<p>Terminal Command:<br />
<code>defaults write com.apple.Xcode NSRecentDocumentsLimit -int 10</code></p>
<p>Relaunch Xcode. Done.</p>
]]></content:encoded>
			<wfw:commentRss>http://masseltech.com/2010/04/xcode-fix-recent-projects-empty/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>mysql command doesn&#8217;t work in OS X snow leopard</title>
		<link>http://masseltech.com/2010/01/mysql-command-doesnt-work-in-os-x-snow-leopard/</link>
		<comments>http://masseltech.com/2010/01/mysql-command-doesnt-work-in-os-x-snow-leopard/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 20:09:01 +0000</pubDate>
		<dc:creator>jeremy.massel</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mySql]]></category>
		<category><![CDATA[problems]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://masseltech.com/?p=155</guid>
		<description><![CDATA[So you install mySql on your mac, and it&#8217;s working great, but then you go into terminal to run a mysqldump or something, and it doesn&#8217;t work! you get a message something like: -bash: mysqldump: command not found so how do you fix this? well, copy and paste the following into your terminal window and [...]]]></description>
			<content:encoded><![CDATA[<p>So you install mySql on your mac, and it&#8217;s working great, but then you go into terminal to run a mysqldump or something, and it doesn&#8217;t work!</p>
<p>you get a message something like:<br />
<code><br />
-bash: mysqldump: command not found<br />
</code></p>
<p>so how do you fix this? well, copy and paste the following into your terminal window and press enter:<br />
<code><br />
echo export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH" >> ~/.profile</p>
<p>source ~/.profile<br />
</code></p>
<p>whoa, whoa, you say. what is this doing? It makes it so that when you type any command into the terminal, it does a check of these folders before giving you the &#8220;command not found&#8221; error. </p>
<p>If you want to undo it, you can always edit your .profile, or just delete it. </p>
]]></content:encoded>
			<wfw:commentRss>http://masseltech.com/2010/01/mysql-command-doesnt-work-in-os-x-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>WordPress on Snow Leopard: Unable to Connect to Database</title>
		<link>http://masseltech.com/2010/01/wordpress-on-snow-leopard-unable-to-connect-to-database/</link>
		<comments>http://masseltech.com/2010/01/wordpress-on-snow-leopard-unable-to-connect-to-database/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 21:10:30 +0000</pubDate>
		<dc:creator>jeremy.massel</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[useful]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://masseltech.com/?p=134</guid>
		<description><![CDATA[If an &#8220;unable to connect to database&#8221; comes up while installing WordPress on a Snow Leopard machine, try adding :3306 to the end of the DB_HOST in wp-config.php Assuming everything else works, this should solve your problem!]]></description>
			<content:encoded><![CDATA[<p>If an &#8220;unable to connect to database&#8221; comes up while installing WordPress on a Snow Leopard machine, try adding :3306 to the end of the DB_HOST in wp-config.php</p>
<p>Assuming everything else works, this should solve your problem!</p>
]]></content:encoded>
			<wfw:commentRss>http://masseltech.com/2010/01/wordpress-on-snow-leopard-unable-to-connect-to-database/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>VirtualHostX and mod_rewrite</title>
		<link>http://masseltech.com/2009/08/virtualhostx-and-mod_rewrite/</link>
		<comments>http://masseltech.com/2009/08/virtualhostx-and-mod_rewrite/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 20:41:58 +0000</pubDate>
		<dc:creator>jeremy.massel</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[useful]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://masseltech.com/?p=91</guid>
		<description><![CDATA[To enable mod_rewrite manually, see: OS X server tips but if you are using VirtualHostX it changes your default config file. Add the following code to the Directives box: Options FollowSymLinks AllowOverride All AuthConfig Order deny,allow Deny from all if you&#8217;re using the new version of VirtualHostX, make sure that you select Directory from the [...]]]></description>
			<content:encoded><![CDATA[<p>To enable mod_rewrite manually, see: <a href="http://masseltech.com/2009/03/os-x-server-tips/">OS X server tips</a> but if you are using <a href="http://clickontyler.com/virtualhostx/">VirtualHostX</a> it changes your default config file. Add the following code to the Directives box:<br />
<code><br />
<Directory /><br />
    Options FollowSymLinks<br />
    AllowOverride All AuthConfig<br />
    Order deny,allow<br />
    Deny from all<br />
</Directory><br />
</code></p>
<p>if you&#8217;re using the new version of VirtualHostX, make sure that you select Directory from the dropdown, then use:<br />
<code><br />
<Directory /><br />
    Options FollowSymLinks<br />
    AllowOverride All AuthConfig<br />
</Directory><br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://masseltech.com/2009/08/virtualhostx-and-mod_rewrite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jealousy</title>
		<link>http://masseltech.com/2009/06/jealousy/</link>
		<comments>http://masseltech.com/2009/06/jealousy/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 21:42:53 +0000</pubDate>
		<dc:creator>jeremy.massel</dc:creator>
				<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://masseltech.com/?p=36</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-37" title="picture-1" src="http://masseltech.com/wp-content/uploads/2009/06/picture-1.png" alt="picture-1" width="518" height="282" /></p>
]]></content:encoded>
			<wfw:commentRss>http://masseltech.com/2009/06/jealousy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to do multiple virtual hosts on OS X</title>
		<link>http://masseltech.com/2009/03/how-to-do-multiple-virtual-hosts-on-os-x/</link>
		<comments>http://masseltech.com/2009/03/how-to-do-multiple-virtual-hosts-on-os-x/#comments</comments>
		<pubDate>Tue, 17 Mar 2009 03:19:47 +0000</pubDate>
		<dc:creator>jeremy.massel</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Web Hosting]]></category>

		<guid isPermaLink="false">http://masseltech.com/?p=16</guid>
		<description><![CDATA[Download and install VirtualHostX (don&#8217;t forget to back up your existing config!!) Download and install Gas Mask (manages multiple hosts files, dumb name though) If you want to do this with WordPress and you have a database locally and another one on a dev server somewhere, you can do the following code: if(eregi(&#8220;^mywebsitename.com$&#8221;, $_SERVER[HTTP_HOST])) { [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li>Download and install <a href="http://clickontyler.com/virtualhostx/">VirtualHostX</a> (don&#8217;t forget to back up your existing config!!)</li>
<li>Download and install <a style="text-decoration: none;" href="http://www.apple.com/downloads/macosx/development_tools/gasmask.html">Gas Mask</a> (manages multiple hosts files, dumb name though)</li>
<li>If you want to do this with WordPress and you have a database locally and another one on a dev server somewhere, you can do the following code:</li>
</ol>
<p><span>if</span><span>(</span><span>eregi</span><span>(</span>&#8220;^mywebsitename.com$&#8221;<span>,</span><span> </span><span>$_SERVER</span><span>[</span><span>HTTP_HOST</span><span>]))</span></p>
<p>{</p>
<p><span>define</span><span>(</span>&#8216;DB_NAME&#8217;<span>,</span><span> </span>&#8216;dbremotename&#8217;<span>);</span></p>
<p><span> </span></p>
<p><span><span> </span></span>/**<span> </span>MySQL<span> </span>database<span> </span>username<span> </span>*/</p>
<p><span><span> </span></span><span>define</span><span>(</span>&#8216;DB_USER&#8217;<span>,</span><span> </span>&#8216;dbremoteuser&#8217;<span>);</span></p>
<p><span> </span></p>
<p><span><span> </span></span>/**<span> </span>MySQL<span> </span>database<span> </span>password<span> </span>*/</p>
<p><span><span> </span></span><span>define</span><span>(</span>&#8216;DB_PASSWORD&#8217;<span>,</span><span> </span>&#8216;dbremotepassword&#8217;<span>);</span></p>
<p><span> </span></p>
<p><span><span> </span></span>/**<span> </span>MySQL<span> </span>hostname<span> </span>*/</p>
<p><span><span> </span></span><span>define</span><span>(</span>&#8216;DB_HOST&#8217;<span>,</span><span> </span>&#8216;dbremotehost&#8217;<span>);</span></p>
<p><span> </span></p>
<p><span><span> </span></span><span>define</span><span>(</span>&#8216;WP_SITEURL&#8217;<span>,</span><span> </span>&#8216;http://mywebsitename.com&#8217;<span>);</span></p>
<p><span><span> </span></span><span>define</span><span>(</span>&#8216;WP_HOME&#8217;<span>,</span><span> </span>&#8216;http://mywebsitename.com&#8217;<span>);</span></p>
<p><span>}</span></p>
<p><span>else{</span></p>
<p><span><span>define</span><span>(</span>&#8216;DB_NAME&#8217;<span>,</span><span> </span>&#8216;dbremotename&#8217;<span>);</span></span></p>
<p>/**<span> </span>MySQL<span> </span>database<span> </span>username<span> </span>*/</p>
<p><span>define</span><span>(</span>&#8216;DB_USER&#8217;<span>,</span><span> </span>&#8216;dblocaluser&#8217;<span>);</span></p>
<p>/**<span> </span>MySQL<span> </span>database<span> </span>password<span> </span>*/</p>
<p><span>define</span><span>(</span>&#8216;DB_PASSWORD&#8217;<span>,</span><span> </span>&#8216;dblocalpassword&#8217;<span>);</span></p>
<p>/**<span> </span>MySQL<span> </span>hostname<span> </span>*/</p>
<p><span>define</span><span>(</span>&#8216;DB_HOST&#8217;<span>,</span><span> </span>&#8216;dblocalhost&#8217;<span>);</span></p>
<p><span>define</span><span>(</span>&#8216;WP_SITEURL&#8217;<span>,</span><span> </span>&#8216;http://mywebsitename.com&#8217;<span>);</span></p>
<p><span>define</span><span>(</span>&#8216;WP_HOME&#8217;<span>,</span><span> </span>&#8216;http://mywebsitename.com&#8217;<span>);</span></p>
<p><span>}</span></p>
]]></content:encoded>
			<wfw:commentRss>http://masseltech.com/2009/03/how-to-do-multiple-virtual-hosts-on-os-x/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>HTML Special Characters</title>
		<link>http://masseltech.com/2009/03/10/</link>
		<comments>http://masseltech.com/2009/03/10/#comments</comments>
		<pubDate>Tue, 17 Mar 2009 03:01:25 +0000</pubDate>
		<dc:creator>jeremy.massel</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[useful]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://masseltech.com/?p=10</guid>
		<description><![CDATA[Any good web designer knows certain characters have to be encoded in HTML. Here&#8217;s a list of pretty much every character and it&#8217;s encoding: http://webdesign.about.com/library/bl_htmlcodes.htm Bonus: Need to use some encoded characters in your PHP script? Use html_entity_decode() to turn them into regular text.]]></description>
			<content:encoded><![CDATA[<p>Any good web designer knows certain characters have to be encoded in HTML.</p>
<p>Here&#8217;s a list of pretty much every character and it&#8217;s encoding: <a href="http://webdesign.about.com/library/bl_htmlcodes.htm">http://webdesign.about.com/library/bl_htmlcodes.htm</a></p>
<p><strong>Bonus:</strong> Need to use some encoded characters in your PHP script? Use html_entity_decode() to turn them into regular text.</p>
]]></content:encoded>
			<wfw:commentRss>http://masseltech.com/2009/03/10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OS X Server Tips</title>
		<link>http://masseltech.com/2009/03/os-x-server-tips/</link>
		<comments>http://masseltech.com/2009/03/os-x-server-tips/#comments</comments>
		<pubDate>Tue, 17 Mar 2009 02:57:45 +0000</pubDate>
		<dc:creator>jeremy.massel</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Web Hosting]]></category>

		<guid isPermaLink="false">http://masseltech.com/?p=7</guid>
		<description><![CDATA[To enable PHP: nano /etc/apache2/httpd.conf uncomment LoadModule php5_module&#8230; To enable mod_rewrite In the primary site configuration, change AllowOverride to AllowOverride All AuthConfig Restart apache with sudo apachectl restart]]></description>
			<content:encoded><![CDATA[<p>To enable PHP:</p>
<ul>
<li>nano /etc/apache2/httpd.conf</li>
<li>uncomment LoadModule php5_module&#8230;</li>
</ul>
<p>To enable mod_rewrite</p>
<ul>
<li>In the primary site configuration, change AllowOverride to AllowOverride All AuthConfig</li>
<li>Restart apache with sudo apachectl restart</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://masseltech.com/2009/03/os-x-server-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
