<?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>42umbrellas</title>
	<atom:link href="http://www.42umbrellas.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.42umbrellas.com</link>
	<description>The Ultimate Answer</description>
	<lastBuildDate>Fri, 02 Nov 2012 18:34:40 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Net::DNS::DurableDNS</title>
		<link>http://www.42umbrellas.com/2012/11/02/netdnsdurabledns/</link>
		<comments>http://www.42umbrellas.com/2012/11/02/netdnsdurabledns/#comments</comments>
		<pubDate>Fri, 02 Nov 2012 18:33:20 +0000</pubDate>
		<dc:creator>Rick Bush</dc:creator>
				<category><![CDATA[Perl Modules]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[DurableDNS]]></category>
		<category><![CDATA[Perl module]]></category>

		<guid isPermaLink="false">http://42umbrellas.admin.haleywebsite.com/?p=534</guid>
		<description><![CDATA[<br/>We use DurableDNS to host a slew of clients&#8217; DNS and needed some Perl glue to work with their API. We&#8217;ve put it up on CPAN. Check it out!]]></description>
				<content:encoded><![CDATA[<br/><p>We use <a title="DurableDNS" href="https://durabledns.com/">DurableDNS</a> to host a slew of clients&#8217; DNS and needed some Perl glue to work with their API.</p>
<p>We&#8217;ve put <a title="Net::DNS::DurableDNS" href="http://search.cpan.org/~rbush/Net-DNS-DurableDNS-v1.1/lib/Net/DNS/DurableDNS.pm">it up on CPAN</a>. Check it out!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.42umbrellas.com/2012/11/02/netdnsdurabledns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Resolved: Jetpack contact form submitting to weird places</title>
		<link>http://www.42umbrellas.com/2012/10/11/resolved-jetpack-contact-form-submitting-to-weird-places/</link>
		<comments>http://www.42umbrellas.com/2012/10/11/resolved-jetpack-contact-form-submitting-to-weird-places/#comments</comments>
		<pubDate>Thu, 11 Oct 2012 11:00:13 +0000</pubDate>
		<dc:creator>Rick Bush</dc:creator>
				<category><![CDATA[Lessons Learned]]></category>
		<category><![CDATA[jetpack]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://42umbrellas.admin.haleywebsite.com/?p=522</guid>
		<description><![CDATA[<br/>We love using Jetpack contact forms because they filter through the fantastic spam catcher, Askimet, are easy to configure, and get saved into the Feedbacks Tab. All good. But we did run into a very strange problem with them when we embedded them into a template with do_shortcode() Jetpack contact forms are made to automatically...  <a href="http://www.42umbrellas.com/2012/10/11/resolved-jetpack-contact-form-submitting-to-weird-places/" class="more-link" title="Read Resolved: Jetpack contact form submitting to weird places">Read more &#187;</a>]]></description>
				<content:encoded><![CDATA[<br/><p>We love using <strong>Jetpack</strong> contact forms because they filter through the fantastic spam catcher, Askimet, are easy to configure, and get saved into the Feedbacks Tab. All good.</p>
<p>But we did run into a very strange problem with them when we embedded them into a template with <em>do_shortcode()</em></p>
<p><strong>Jetpack</strong> contact forms are made to automatically figure out where they are being displayed, usually in a post or within page content. It does this by looking at the global <strong>$post</strong> variable, assuming that the form appears within the <em>WordPress loop</em>.</p>
<p>This doesn&#8217;t work quite as expected when we include the <strong>Jetpack</strong> contact form directly in a template using <em>do_shortcode()</em>.</p>
<p><em>Why</em>, you might ask? Well, because the global <strong>$post</strong> may have been filled by any other <em>loop</em> also on the page. In this case, it was repopulated with a blog feed!</p>
<h2>The Solution</h2>
<p>Right before your <em>do_shortcode()</em> call in the template, place a <em>wp_reset_query()</em>. This resets the global <strong>$post</strong> back to what it should be, and everything works!</p>
<pre class="brush: plain; title: ; notranslate">
wp_reset_query();
do_shortcode(...);
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.42umbrellas.com/2012/10/11/resolved-jetpack-contact-form-submitting-to-weird-places/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yosemite Night Skies: Timelapse &#8211; Extraordinary!</title>
		<link>http://www.42umbrellas.com/2012/09/18/yosemite-night-skies/</link>
		<comments>http://www.42umbrellas.com/2012/09/18/yosemite-night-skies/#comments</comments>
		<pubDate>Tue, 18 Sep 2012 23:05:54 +0000</pubDate>
		<dc:creator>Rick Bush</dc:creator>
				<category><![CDATA[What we are watching]]></category>

		<guid isPermaLink="false">http://42umbrellas.admin.haleywebsite.com/?p=499</guid>
		<description><![CDATA[<br/>]]></description>
				<content:encoded><![CDATA[<br/><p><iframe src="http://www.youtube.com/embed/ZhgR3zVfo-0" frameborder="0" width="560" height="315"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.42umbrellas.com/2012/09/18/yosemite-night-skies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>42U Jetpack Booster WordPress Plugin Released</title>
		<link>http://www.42umbrellas.com/2012/09/17/42u-jetpack-booster-wordpress-plugin-released/</link>
		<comments>http://www.42umbrellas.com/2012/09/17/42u-jetpack-booster-wordpress-plugin-released/#comments</comments>
		<pubDate>Mon, 17 Sep 2012 18:35:24 +0000</pubDate>
		<dc:creator>Rick Bush</dc:creator>
				<category><![CDATA[Products]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[jetpack]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://42umbrellas.admin.haleywebsite.com/?p=481</guid>
		<description><![CDATA[<br/>We are very pleased to announce that our Jetpack Booster plugin has been added to the WordPress plugin repository and is available for immediate download. The 42U Jetpack Booster adds redirect tags and HTML email templates to Jetpack Contact Forms. To add a redirect to your Jetpack Contact Form, just add the following tag to...  <a href="http://www.42umbrellas.com/2012/09/17/42u-jetpack-booster-wordpress-plugin-released/" class="more-link" title="Read 42U Jetpack Booster WordPress Plugin Released">Read more &#187;</a>]]></description>
				<content:encoded><![CDATA[<br/><p><a href="http://i2.wp.com/www.42umbrellas.com/files/2012/09/jetpack_booster_adminpage32_2x.png"><img class="size-full wp-image-491 alignleft" title="jetpack_booster_adminpage32_2x" src="http://i2.wp.com/www.42umbrellas.com/files/2012/09/jetpack_booster_adminpage32_2x.png?resize=64%2C64" alt="" data-recalc-dims="1" /></a><br />
We are very pleased to announce that our Jetpack Booster plugin has been added to the WordPress plugin repository and is available for immediate download.</p>
<p>The 42U Jetpack Booster adds redirect tags and HTML email templates to Jetpack Contact Forms.</p>
<p>To add a redirect to your Jetpack Contact Form, just add the following tag to the HTML view of your Jetpack Contact Form:</p>
<p>[contact–field label="redirect" type="hidden" default="/thanks/" /]</p>
<p>Lean more about the <a title="42U Jetpack Booster" href="http://www.42umbrellas.com/42u-jetpack-booster/">Jetpack Booster</a> here.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.42umbrellas.com/2012/09/17/42u-jetpack-booster-wordpress-plugin-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Media » Dear Esther &#124; Some amazing graphics for your desktop</title>
		<link>http://www.42umbrellas.com/2012/09/07/media-dear-esther-some-amazing-graphics-for-your-desktop/</link>
		<comments>http://www.42umbrellas.com/2012/09/07/media-dear-esther-some-amazing-graphics-for-your-desktop/#comments</comments>
		<pubDate>Sat, 08 Sep 2012 00:44:39 +0000</pubDate>
		<dc:creator>Rick Bush</dc:creator>
				<category><![CDATA[Asides]]></category>

		<guid isPermaLink="false">http://42umbrellas.admin.haleywebsite.com/?p=421</guid>
		<description><![CDATA[<br/>I&#8217;m always looking for great desktop images, and these wallpapers are magnificent. I haven&#8217;t ever played the game they come from; I have to admit that I&#8217;m not a game player in the least bit. But I can certainly appreciate the talent and effort that went into this. Check it out: Media » Dear Esther.]]></description>
				<content:encoded><![CDATA[<br/><p>I&#8217;m always looking for great desktop images, and these wallpapers are magnificent. I haven&#8217;t ever played the game they come from; I have to admit that I&#8217;m not a game player in the least bit. But I can certainly appreciate the talent and effort that went into this.</p>
<p>Check it out: <a href="http://dear-esther.com/?page_id=37">Media » Dear Esther</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.42umbrellas.com/2012/09/07/media-dear-esther-some-amazing-graphics-for-your-desktop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Behance Network :: Curated Sites</title>
		<link>http://www.42umbrellas.com/2012/09/07/behance-network-curated-sites/</link>
		<comments>http://www.42umbrellas.com/2012/09/07/behance-network-curated-sites/#comments</comments>
		<pubDate>Fri, 07 Sep 2012 19:48:01 +0000</pubDate>
		<dc:creator>Rick Bush</dc:creator>
				<category><![CDATA[Asides]]></category>
		<category><![CDATA[design resources]]></category>
		<category><![CDATA[ideas]]></category>
		<category><![CDATA[inspiration]]></category>

		<guid isPermaLink="false">http://42umbrellas.admin.haleywebsite.com/?p=427</guid>
		<description><![CDATA[<br/>This site is excellent! Fantastic place to go to for ideas and inspiration. The leading online platform to showcase &#38; discover creative work. Creative professionals update their work in one place to broadcast it widely and efficiently. Companies explore the work and access talent on a global scale. Behance Network :: Curated Sites]]></description>
				<content:encoded><![CDATA[<br/><p>This site is excellent! Fantastic place to go to for ideas and inspiration.</p>
<blockquote><p>The leading online platform to showcase &amp; discover creative work. Creative professionals update their work in one place to broadcast it widely and efficiently. Companies explore the work and access talent on a global scale.</p></blockquote>
<p><a href="http://www.behance.net/galleries/curated">Behance Network :: Curated Sites</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.42umbrellas.com/2012/09/07/behance-network-curated-sites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Down for maintenance? Time for some spin on your 404.</title>
		<link>http://www.42umbrellas.com/2012/09/07/down-for-maintenance-time-for-some-spin-on-your-404/</link>
		<comments>http://www.42umbrellas.com/2012/09/07/down-for-maintenance-time-for-some-spin-on-your-404/#comments</comments>
		<pubDate>Fri, 07 Sep 2012 17:12:06 +0000</pubDate>
		<dc:creator>Rick Bush</dc:creator>
				<category><![CDATA[Asides]]></category>

		<guid isPermaLink="false">http://42umbrellas.admin.haleywebsite.com/?p=433</guid>
		<description><![CDATA[<br/>Right. At 1 PM. This, of course, led me to a google search of 404 error pages. Here are a few of the ones I really liked. This next one is worth visiting &#8211; it&#8217;s animated. Wait til the subway arrives! Click it. Go on! If you have a favorite, share!]]></description>
				<content:encoded><![CDATA[<br/><p style="text-align: center">Right. At 1 PM.</p>
<p style="text-align: center"><a href="http://i0.wp.com/www.42umbrellas.com/files/2012/09/404.png"><img class="aligncenter size-full wp-image-434" src="http://i0.wp.com/www.42umbrellas.com/files/2012/09/404.png?w=580" alt="" data-recalc-dims="1" /></a></p>
<p style="text-align: center">This, of course, led me to a google search of 404 error pages. Here are a few of the ones I really liked.</p>
<a href="http://www.larknews.com/july_2004/5.html"><img class="aligncenter" src="http://i0.wp.com/media02.hongkiat.com/error_404_01/larknews.jpg?resize=500%2C485" alt="" data-recalc-dims="1" /></a>
<a href="http://www.southparkstudios.com/404"><img class="aligncenter" src="http://i2.wp.com/media02.hongkiat.com/error_404_01/southparkstudios.jpg?resize=500%2C208" alt="" data-recalc-dims="1" /></a>
<p style="text-align: center">
<p style="text-align: center">This next one is worth visiting &#8211; it&#8217;s animated. Wait til the subway arrives! Click it. Go on!</p>
<p style="text-align: center"><a href="http://www.bluedaniel.com/dfdf"><img src="http://i2.wp.com/www.42umbrellas.com/files/2012/09/404lost.png?resize=580%2C226" alt="" data-recalc-dims="1" /></a></p>
<a href="http://www.limpfish.com/notfound.html"><img class="alignnone size-full wp-image-1498 aligncenter" src="http://i2.wp.com/blogof.francescomugnai.com/wp-content/uploads/2008/08/error67.jpg?resize=420%2C492" alt="" data-recalc-dims="1" /></a>
<a href="http://retardzone.com/sdfsdf"><img class="alignnone size-full wp-image-1475 aligncenter" src="http://i1.wp.com/blogof.francescomugnai.com/wp-content/uploads/2008/08/error45.jpg?resize=420%2C588" alt="" data-recalc-dims="1" /></a>
<div></div>
<div style="text-align: center">If you have a favorite, share!</div>
<div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.42umbrellas.com/2012/09/07/down-for-maintenance-time-for-some-spin-on-your-404/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>12.21: A novel</title>
		<link>http://www.42umbrellas.com/2012/09/06/12-21-a-novel/</link>
		<comments>http://www.42umbrellas.com/2012/09/06/12-21-a-novel/#comments</comments>
		<pubDate>Thu, 06 Sep 2012 17:54:34 +0000</pubDate>
		<dc:creator>Rick Bush</dc:creator>
				<category><![CDATA[What we are reading]]></category>

		<guid isPermaLink="false">http://42umbrellas.admin.haleywebsite.com/?p=411</guid>
		<description><![CDATA[<br/>12.21: A Novel by Dustin Thomason See this book on Amazon » &#8220;I just started this and I&#8217;m really liking the mix of ancient Mayan culture (and doomsday!) and cutting edge prion research. Very cool!&#8221;]]></description>
				<content:encoded><![CDATA[<br/><div>
<p><strong>12.21: A Novel</strong></p>
<div>
<p>by Dustin Thomason</p>
<div><a id="0385341407_myQvUYS6c0_amazon_detail_link" href="http://www.amazon.com/gp/product/0385341407/ref=cm_li_v_cr_self?tag=linkedin-20" target="_top">See this book on Amazon »</a></div>
</div>
</div>
<blockquote><p>&#8220;I just started this and I&#8217;m really liking the mix of ancient Mayan culture (and doomsday!) and cutting edge prion research. Very cool!&#8221;</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.42umbrellas.com/2012/09/06/12-21-a-novel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting Up (Development) Shop on Windows</title>
		<link>http://www.42umbrellas.com/2012/08/20/setting-up-development-shop-on-windows/</link>
		<comments>http://www.42umbrellas.com/2012/08/20/setting-up-development-shop-on-windows/#comments</comments>
		<pubDate>Mon, 20 Aug 2012 18:52:21 +0000</pubDate>
		<dc:creator>Rick Bush</dc:creator>
				<category><![CDATA[Lessons Learned]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[dev environment]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[WAMP]]></category>

		<guid isPermaLink="false">http://42umbrellas.admin.haleywebsite.com/?p=368</guid>
		<description><![CDATA[<br/>After setting up all our Mac&#8217;s, we thought our one windows machine deserved a bit of love too. Here&#8217;s what we did. If you have a setup you love, we&#8217;d like to hear about it! See this for setting up on Mac OS X. Goals of our setup Create a local development environment for Apache,...  <a href="http://www.42umbrellas.com/2012/08/20/setting-up-development-shop-on-windows/" class="more-link" title="Read Setting Up (Development) Shop on Windows">Read more &#187;</a>]]></description>
				<content:encoded><![CDATA[<br/><p>After setting up all our Mac&#8217;s, we thought our one windows machine deserved a bit of love too. Here&#8217;s what we did. If you have a setup you love, we&#8217;d like to hear about it! See <a title="Setting Up (Development) Shop on OSX Mountain Lion" href="http://www.42umbrellas.com/2012/08/14/setting-up-deevelopment-shop-on-osx-mountain-lion/">this</a> for setting up on Mac OS X.</p>
<h2>Goals of our setup</h2>
<ul>
<li>Create a local development environment for Apache, mySql, PHP and Perl</li>
<li>Set a wildcard local development domain (e.g. *.42u.local)</li>
<li>Integrate with our SVN Repositories</li>
</ul>
<h2>Our tools of choice</h2>
<ul>
<li>Windows (flavor of your choice)</li>
<li>Dreamweaver</li>
<li>TortoiseSVN (SVN client)</li>
<li>WAMP (this is a nicely bundled apache, mysql, php bundle)</li>
<li>Allway Sync</li>
</ul>
<h2>Let&#8217;s get started.</h2>
<p><em>Portions of this tutorial were adapted from the very nice instructions by Axertion <a href="http://www.axertion.com/tutorials/2012/03/how-to-setup-local-subdomains-using-wampserver/">here</a> and Don Don&#8217;s Garage <a href="http://donovanbray.com/?tag=wildcard">here</a>.<br />
</em></p>
<h3>Set up our local webserver</h3>
<h4>Install WAMP</h4>
<p>Get it here: http://www.wampserver.com/en/<br />
It installs the PRO version along with the free version. Set the general server settings. We generally set these to the defaults. Make sure you set a good root password for MySQL too!</p>
<p>Download and install the PHP add-on for PHP 5.2.9-2<br />
We need this because the default that comes with WAMP is php 5.3.X; our production server is 5.2.9</p>
<h4>Set up virtual hosts</h4>
<p>Create the folder which will hold your subdomains</p>
<p>For example. Create the following folder:<br />
<strong>C:\wamp\www\subdomains</strong></p>
<p>Each folder contained within the <strong>subdomains</strong> folder will essentially become a subdomain.<br />
For example:<strong> example.localhost.com</strong> will point to <strong>C:\wamp\www\subdomains\example\</strong></p>
<h4>Make sure httpd-vhosts.conf file is included.</h4>
<p><strong></strong>Open <strong>C:\wamp\bin\apache\Apache2.2.21\conf\httpd.conf</strong> (or choose <strong>Wampserver &gt; Apache &gt; httpd.conf</strong>)<br />
<strong></strong>Find the lines:<br />
<code># Virtual hosts<br />
# Include conf/extra/httpd-vhosts.conf</code><br />
<strong></strong>Change to:<br />
<code># Virtual hosts<br />
Include conf/extra/httpd-vhosts.conf</code></p>
<h4>Configuring Apache VirtualHosts</h4>
<p><strong></strong>Enable the <strong>alias_module </strong>and <strong>vhost_alias_module</strong> for apache.</p>
<img src="http://i0.wp.com/www.axertion.com/wp-content/uploads/2012/03/wamp_subdomains_apache_activate-modules.jpg?w=580" alt="" data-recalc-dims="1" />
<p>Doing this will enable virtualhost aliasing in apache for your subdomains.</p>
<p><strong></strong>Open <strong>C:\wamp\bin\apache\Apache2.2.21\conf\extra\httpd-vhosts.conf</strong></p>
<p><strong></strong>In the <strong>httpd-vhosts.conf</strong> file, you’ll most likely see some example data.  Replace everything with the following:</p>
<pre>NameVirtualHost *:80

&lt;VirtualHost *:80&gt;
    ServerName 42u.local
    ServerAlias www.42u.local
    DocumentRoot "C:\wamp\www"
    ErrorLog "logs\errors.log"
    &lt;directory "C:\wamp\www"&gt;
        Options Indexes FollowSymLinks
        AllowOverride all
        Order Deny,Allow
        Deny from all
        Allow from all
    &lt;/directory&gt;
&lt;/VirtualHost&gt;

&lt;VirtualHost *:80&gt;
    ServerName 42u.local
    ServerAlias *.42u.local
    VirtualDocumentRoot C:\wamp\www\subdomains\%1
    ErrorLog "logs\errors.log"
    &lt;directory "C:\wamp\www\subdomains\%1"&gt;
        Options Indexes FollowSymLinks
        AllowOverride all
        Order Deny,Allow
        Deny from all
        Allow from all
    &lt;/directory&gt;
&lt;/VirtualHost&gt;</pre>
<p>So what’s going on with the code above?</p>
<p>Each &lt;VirtualHost&gt; tag contains a host definition.   The asterisk in <code>&lt;VirtualHost *:80&gt;</code> tells apache that any IP address can be used to access this host definition.  If you wanted to restrict it to just your computer, you could do <code>&lt;VirtualHost 127.0.0.1:80&gt;</code></p>
<p><strong>ServerName</strong><br />
<code>ServerName 42u.local</code></p>
<p><strong>ServerAlias</strong><br />
<code>ServerAlias *.</code><code>42u.local</code><br />
<small>An alternate domain alias (usually www.localhost.com)</small></p>
<p><strong>DocumentRoot</strong><br />
<code>DocumentRoot "C:\wamp\www"</code><br />
<small>The absolute directory to your domain’s root (accessed by going to localhost.com)</small></p>
<p><strong>ErrorLog</strong> Path to your error log.  This is optional.<br />
<code>ErrorLog "logs\errors.log"</code></p>
<p><strong>VirtualDocumentRoot</strong><br />
<code>VirtualDocumentRoot C:\wamp\www\subdomains\%1</code><br />
<small>The absolute directory for your subdomain, with a wildcard to define the subdomain’s name.  I use a wildcard <strong>%1 </strong>to get the name of the subdomain. <strong>example.localhost.com</strong> will point to <strong>C:\wamp\www\subdomains\example</strong></small></p>
<p><strong>&lt;directory ________&gt;</strong><br />
<code>&lt;directory "C:\wamp\www"&gt;</code><br />
<code>&lt;directory "C:\wamp\www\subdomains\%1"&gt;</code><br />
<small>The directory permission definitions. Defined twice for both localhost.com and it’s virtual subdomains.</small></p>
<p><strong></strong>After making the changes to your <strong>httpd-vhosts.conf</strong> file, you must restart apache for the changes to take effect.<br />
Just click the WAMPSERVER icon in your Notification Area and choose “Restart All Services”.</p>
<h4><strong></strong>Install BIND DNS Services</h4>
<ol>
<li>Download latest BIND zip for windows: <a href="https://www.isc.org/software/bind">https://www.isc.org/software/bind</a></li>
<li>Unpack and run: BINDInstall.exe</li>
<li>View: C:\windows\system32\dns\bin\readme1st.txt</li>
<li>Start-&gt;Run: C:\windows\system32\dns\bin\rndc-confgen -a</li>
<li>Update named.conf with the key from your rndc key file, and make sure that teh directory option is set to the actual location of your dns install (either \system32 or \syswow64).</li>
<li>Use Explorer, navigate to c:\windows\system32\dns, right click &#8220;etc&#8221;, properties, security, add, &#8220;named&#8221;, click &#8220;full control&#8221;, OK, OK</li>
<li>Download ftp://ftp.internic.net./domain/named.root and save it to C:\windows\system32\dns\etc\named.root to seed BINDs root hints.</li>
<li>Use Windows Services to start/stop the Named Service</li>
<li>Start -&gt; Right-Click &#8220;My Computer&#8221;, manage , click &#8220;Services&#8221;, Look for &#8220;ISC BIND&#8221;, Right-Click start,stop, or restart.</li>
<li>Start -&gt; Right-Click &#8220;My Network Places&#8221;, properties, Right-Click your active &#8220;Local area connection&#8221;, properties, click &#8220;Internet Protocol (TCP/IP)&#8221;, properties, Use following dns server: 127.0.0.1</li>
</ol>
<p>Download all the DNS config files detailed below <a href="http://www.42umbrellas.com/files/2012/08/dns.zip">here</a>.</p>
<p><em>C:\windows\system32\dns\etc\named.conf is as follows:</em></p>
<pre class="brush: plain; title: ; notranslate">options {
     // version statement - inhibited for security
     // (avoids hacking any known weaknesses)
     version &quot;get lost&quot;;
    // optional - disables all transfers
    // slaves allowed in zone clauses
    allow-transfer {&quot;none&quot;;};
    forwarders {8.8.8.8; 8.8.4.4;}; //GOOGLE Public DNS
    directory &quot;C:\WINDOWS\system32\dns\etc&quot;;
};
// this key needs to be updated with your actual key from the rndc.key file
key &quot;rndc-key&quot; { algorithm hmac-md5; secret &quot;xxxxxxxxx==&quot;; };

controls {
inet 127.0.0.1 port 953 allow { localhost; } keys { &quot;rndc-key&quot;; };
};
view &quot;trusted&quot; {
    match-clients { 192.168.0.0/16; 127.0.0.1; }; // any private class c and localhost
    recursion yes;
    // required zone for recursive queries
    // retrieve from: ftp://ftp.internic.net./domain/named.root
    zone &quot;.&quot; {
       type hint;
       file &quot;named.root&quot;;
     };
    // basic localhost support
    zone &quot;localhost&quot; in{
        type master;
        file &quot;master.localhost&quot;;
    };
    // basic localhost support
    zone &quot;0.0.127.in-addr.arpa&quot; in{
        type master;
        file &quot;localhost.rev&quot;;
    };
    // this is the wildcard zone
    zone &quot;42u.local&quot; {
        // Don't forward queries for this zone.
        forwarders {};
        type master;
        // The final extension of .txt simply is so that Windows doesn't
        // think the file is executable (.com), and will open the file with your
        // systems designated text editor without any fuss.
        file &quot;42u.local.txt&quot;;
    };
};

view &quot;badguys&quot; {
    match-clients {&quot;any&quot;; }; // all others hosts
    // recursion not supported
   recursion no;
};
</pre>
<p><em>C:\windows\system32\dns\etc\42u.local.txt is as follows:</em></p>
<pre class="brush: plain; title: ; notranslate">$TTL 2d    ; 172800 secs default TTL for zone
$ORIGIN 42u.local.
@             IN      SOA   ns1.42u.local. hostmaster.42u.local. (
     2009120500 ; se = serial number
     12h        ; ref = refresh
     15m        ; ret = update retry
     3w         ; ex = expiry
     3h         ; min = minimum
)
     IN      NS      ns1.42u.local.

; Retrieve the IP for the target of the wildcard
; Linux: ifconfig
; Windows: ipconfig
@             IN      A       127.0.0.1

www           IN      A       127.0.0.1

; Retrieve the IP for the DNS server
ns1           IN      A       127.0.0.1

*             IN      CNAME   www
</pre>
<p><em>C:\windows\system32\dns\etc\localhost.rev is as follows:</em></p>
<pre class="brush: plain; title: ; notranslate">$TTL    86400 ;
; could use $ORIGIN 0.0.127.IN-ADDR.ARPA.
@       IN      SOA     localhost. root.localhost.  (
    1997022700 ; Serial
    3h      ; Refresh
    15      ; Retry
    1w      ; Expire
    3h )    ; Minimum
        IN      NS      localhost.
1       IN      PTR     localhost.
</pre>
<p><em>C:\windows\system32\dns\etc\master.localhost is as follows:</em></p>
<pre class="brush: plain; title: ; notranslate">$TTL    86400 ; 24 hours could have been written as 24h
$ORIGIN localhost.
; line below = localhost 1D IN SOA localhost root.localhost
@  1D  IN     SOA @    root (
     2002022401 ; serial
     3H ; refresh
     15 ; retry
     1w ; expire
     3h ; minimum
)
@  1D  IN  NS @
1D  IN  A  127.0.0.1
</pre>
<p>To test your new caching dns server for resolving the local wildcard domain: Start-&gt;Run: &#8220;cmd&#8221;, then type &#8220;nslookup whatever.42u.local&#8221; at the command prompt.</p>
<p>If it doesn&#8217;t work and you can&#8217;t browse the web anymore, Look at step 9 and set dns back to &#8220;obtain DNS server address automatically&#8221;, or to 8.8.8.8 and 8.8.4.4, to go direct to Google&#8217;s DNS. You should also look at your Event Viewer to discover any errors, See step 8, except select the &#8220;Event Viewer&#8221; instead of &#8220;Services&#8221;, then look at the &#8220;Application&#8221; log.</p>
<h4>Check if your subdomains work.</h4>
<p>Start WAMP and test it out. In this example, we should get the default WAMP page when we go to http://example.42u.local<br />
Apache should now be serving files for that subdomain from <strong>C:\wamp\www\subdomains\example</strong></p>
<h4>Install content into our shiny new document root.</h4>
<p>For us, this is generally a clean WordPress Network install.</p>
<p>First do the <a href="http://codex.wordpress.org/Installing_WordPress#Famous_5-Minute_Install" target="_blank">Famous 5 Minute Install</a>.</p>
<p>Follow that immediately with the <a href="http://codex.wordpress.org/Create_A_Network" target="_blank">Network Setup</a></p>
<p>Download and install our base network plugins:</p>
<ul>
<li>Jetpack</li>
<li>All in One SEO</li>
<li>Custom Admin Branding</li>
<li>42u HTML5 Upgrade</li>
<li>Edit Flow</li>
<li>Backup Buddy</li>
</ul>
<h3>Set up Subversion</h3>
<h4>The Repository</h4>
<p>For our published WordPress plugins, we use the WordPress SVN repository. For our themes, perl modules and unpublished plugins, we use Beanstalk. <a title="Beanstalk" href="http://beanstalkapp.com/" target="_blank">Beanstalk</a> is cool. We handle all our deployments right out of the Beanstalk cloud. Click. Done.</p>
<h4>TortoiseSVN</h4>
<p>TortoiseSVN is a really easy to use Revision control / version control / source control software for Windows.<br />
Get it here: http://tortoisesvn.tigris.org/</p>
<h4>Sync the trunk to the wordpress root</h4>
<p>For themes and plugins we use the <a title="File Syncronization" href="http://allwaysync.com/download.html" target="_blank">Allway Sync</a> app to keep the files in the WordPress root in sync with the trunk.<br />
This frees us from the change/upload/test/revise cycle.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.42umbrellas.com/2012/08/20/setting-up-development-shop-on-windows/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Placeholder images from flickr &#8211; flickholdr.com</title>
		<link>http://www.42umbrellas.com/2012/08/17/placeholder-images-from-flickr-flickholdr-com/</link>
		<comments>http://www.42umbrellas.com/2012/08/17/placeholder-images-from-flickr-flickholdr-com/#comments</comments>
		<pubDate>Wed, 08 Aug 2012 02:44:19 +0000</pubDate>
		<dc:creator>Rick Bush</dc:creator>
				<category><![CDATA[Code We Like]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[placeholder image]]></category>

		<guid isPermaLink="false">http://42umbrellas.admin.haleywebsite.com/?p=243</guid>
		<description><![CDATA[<br/>For when you just need a few images to hold things in place, and you&#8217;d like something better than a grey box. Get placeholders related to the site you are developing, by pulling images from flickr based on tags. Placeholder images from flickr &#8211; flickholdr.com.]]></description>
				<content:encoded><![CDATA[<br/><p>For when you just need a few images to hold things in place, and you&#8217;d like something better than a grey box.</p>
<blockquote><p>Get <strong>placeholders</strong> related to the site you are developing, by pulling images from <a title="visit flickr.com" href="http://flickr.com">flick<span class="lastr">r</span></a> based on tags.</p></blockquote>
<div class="wp-caption alignnone" style="width: 810px"><img title="800x200" src="http://flickholdr.com/800/200/waterfall" alt="" width="800" height="200" /><p class="wp-caption-text">800&#215;200</p></div>
<div class="wp-caption alignnone" style="width: 410px"><img title="400x100" src="http://flickholdr.com/400/100/waterfall" alt="" width="400" height="100" /><p class="wp-caption-text">400&#215;100</p></div>
<div class="wp-caption alignnone" style="width: 210px"><img title="200x200" src="http://flickholdr.com/200/200/waterfall" alt="" width="200" height="200" /><p class="wp-caption-text">200&#215;200</p></div>
<p><a href="http://flickholdr.com/">Placeholder images from flickr &#8211; flickholdr.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.42umbrellas.com/2012/08/17/placeholder-images-from-flickr-flickholdr-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
