<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Development on Justin Carmony</title>
		<link>https://www.justincarmony.com/tags/development/</link>
		<description>Recent content in Development on Justin Carmony</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Wed, 27 Jul 2011 22:21:00 +0000</lastBuildDate>
		
			<atom:link href="https://www.justincarmony.com/tags/development/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Mac OS X Lion, /etc/hosts Bugs, and DNS Resolution</title>
				<link>https://www.justincarmony.com/2011/07/27/mac-os-x-lion-etc-hosts-bugs-and-dns-resolution/</link>
				<pubDate>Wed, 27 Jul 2011 22:21:00 +0000</pubDate>
				<guid>https://www.justincarmony.com/2011/07/27/mac-os-x-lion-etc-hosts-bugs-and-dns-resolution/</guid>
				<description>&lt;p&gt;&lt;em&gt;Final Update: I&amp;rsquo;m working on a follow-up post, but thanks to all the comments, it seems that somehow during the Snow Leopard to Lion upgrade, the /etc/hosts file was encoded incorrectly (likely the type of newlines used), and that Lion would fail to read it properly. Please try to copy the contents of the /etc/hosts file, recreate the file, and paste to fix your problem.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;em&gt;Update: I was still having problems with using .local for my development sites. After some extensive debugging and research I&amp;rsquo;ve found out some interesting things. It appears that &lt;a href=&#34;http://www.multicastdns.org/&#34;&gt;Multicast DNS&lt;/a&gt; (mDNS), which is used in Apple&amp;rsquo;s Bonjuor for network discovery without a tradition DNS Server, has the Top Level Domain &lt;a href=&#34;http://files.multicastdns.org/draft-cheshire-dnsext-multicastdns.txt&#34;&gt;.local reserved for special mDNS functionality&lt;/a&gt;. Mac OS X will treat domains ending with .local differently! Use another TLD, like .dev, and it will work correctly.&lt;/em&gt;&lt;/p&gt;</description>
			</item>
			<item>
				<title>Mac OS X &amp; Wireshark - No Interfaces Found Fix</title>
				<link>https://www.justincarmony.com/2011/05/12/mac-os-x-wireshark-no-interfaces-found-fix/</link>
				<pubDate>Thu, 12 May 2011 18:58:57 +0000</pubDate>
				<guid>https://www.justincarmony.com/2011/05/12/mac-os-x-wireshark-no-interfaces-found-fix/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;https://www.justincarmony.com/images/wp/2011/05/wireshark-logo.png&#34;&gt;&lt;img src=&#34;https://www.justincarmony.com/images/2011/05/wireshark-logo-300x92.png&#34; alt=&#34;&#34; title=&#34;wireshark-logo&#34;&gt;&lt;/a&gt;Alright, quick fix for a problem I always forget. When running Wireshark on OS X, when I go to select an interface to capture on, I get an error telling me there are no available interfaces to capture on. This is because Wireshark is running as a user that doesn&amp;rsquo;t have ownership on these interfaces.&lt;/p&gt;&#xA;&lt;p&gt;Solution, open up the terminal and run the command:&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;sudo chown &amp;lt;username&amp;gt; /dev/bpf*&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;After a reboot, these permissions get reset, so you need to do it after each reset (and hence why I need this every now and then but can never remember the command).&lt;/p&gt;</description>
			</item>
			<item>
				<title>Characteristics of Good PHP Code</title>
				<link>https://www.justincarmony.com/2009/01/12/characteristics-of-good-php-code/</link>
				<pubDate>Mon, 12 Jan 2009 01:20:02 +0000</pubDate>
				<guid>https://www.justincarmony.com/2009/01/12/characteristics-of-good-php-code/</guid>
				<description>&lt;p&gt;At the time I am sitting in the Las Vegas airport waiting for a very delayed layover flight to San Diego. Wonderful weather causing all sorts of headaches. So I&amp;rsquo;ve decided to make the best of my time by writing the introductory article to a series of PHP articles. I&amp;rsquo;ve had this idea for a while, and now I&amp;rsquo;m going to finally sit down and write it.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;A Different Type of Article&lt;/strong&gt;&lt;/p&gt;</description>
			</item>
			<item>
				<title>Local LAMP Developement &amp; User Content</title>
				<link>https://www.justincarmony.com/2008/10/10/local-lamp-developement-user-content/</link>
				<pubDate>Fri, 10 Oct 2008 20:37:26 +0000</pubDate>
				<guid>https://www.justincarmony.com/2008/10/10/local-lamp-developement-user-content/</guid>
				<description>&lt;p&gt;I&amp;rsquo;ve come up with a simple solution for handling user uploaded content when trying to work in a local development environment. I&amp;rsquo;ve installed XAMPP on my windows machine and at the beginning of every week I take a database snapshot and update my local database. I had a pretty smooth system going with one problem: user uploaded content.&lt;/p&gt;&#xA;&lt;p&gt;When working with social networking sites, many times they allow for users to upload their own videos, pictures, etc. My current project wasn&amp;rsquo;t different, but I didn&amp;rsquo;t want to download 80GB of user content every week to store on my PC. I wanted a way to point my browser to the live server to get recent images, etc.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
