<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>JavaScripter, Rubyist, Functional Programmer, Agile Practitioner.</description><title>trevmex's tumblings</title><generator>Tumblr (3.0; @trevmex)</generator><link>http://trevmex.com/</link><item><title>Google Chrome surpasses Internet Explorer as most popular web browser</title><description>&lt;a href="http://www.businessinsider.com/google-overtakes-internet-explorer-as-most-popular-browser-2012-5"&gt;Google Chrome surpasses Internet Explorer as most popular web browser&lt;/a&gt;: &lt;p&gt;The king is dead! Long live the king!&lt;/p&gt;</description><link>http://trevmex.com/post/23540658302</link><guid>http://trevmex.com/post/23540658302</guid><pubDate>Tue, 22 May 2012 08:10:21 -0400</pubDate></item><item><title>How to create and apply a patch with Git</title><description>&lt;a href="http://ariejan.net/2009/10/26/how-to-create-and-apply-a-patch-with-git"&gt;How to create and apply a patch with Git&lt;/a&gt;: &lt;p&gt;&lt;a href="http://ariejan.net/2009/10/26/how-to-create-and-apply-a-patch-with-git"&gt;This blog post&lt;/a&gt; is a oldie but a goodie. It really helped me to understand how to apply &lt;a href="http://jungels.net/articles/diff-patch-ten-minutes.html"&gt;patches&lt;/a&gt; in &lt;a href="http://git-scm.com/"&gt;git&lt;/a&gt; (ala &lt;a href="http://code.google.com/p/gerrit/"&gt;gerrit&lt;/a&gt;).&lt;/p&gt;</description><link>http://trevmex.com/post/23484162218</link><guid>http://trevmex.com/post/23484162218</guid><pubDate>Mon, 21 May 2012 12:20:06 -0400</pubDate></item><item><title>npm registry has over 10,000 packages</title><description>&lt;a href="http://search.npmjs.org/"&gt;npm registry has over 10,000 packages&lt;/a&gt;: &lt;p&gt;It looks like &lt;a href="http://nodejs.org/"&gt;Node.js&lt;/a&gt; is entering &lt;a href="http://rubygems.org/"&gt;big&lt;/a&gt; &lt;a href="http://pypi.python.org/pypi"&gt;boy&lt;/a&gt; &lt;a href="http://www.cpan.org/"&gt;territory&lt;/a&gt;.&lt;/p&gt;</description><link>http://trevmex.com/post/23352698925</link><guid>http://trevmex.com/post/23352698925</guid><pubDate>Sat, 19 May 2012 11:31:21 -0400</pubDate></item><item><title>cimapps:

This is where we work, glass, light, and color. You...</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_m3rmgkgs8J1rvui1vo1_500.jpg"/&gt;&lt;br/&gt; Ping pong table, check!&lt;br/&gt;&lt;br/&gt; &lt;img src="http://24.media.tumblr.com/tumblr_m3rmgkgs8J1rvui1vo2_500.jpg"/&gt;&lt;br/&gt; Pool table, check!&lt;br/&gt;&lt;br/&gt; &lt;img src="http://24.media.tumblr.com/tumblr_m3rmgkgs8J1rvui1vo3_500.jpg"/&gt;&lt;br/&gt; Having a stand up!&lt;br/&gt;&lt;br/&gt; &lt;img src="http://24.media.tumblr.com/tumblr_m3rmgkgs8J1rvui1vo4_500.jpg"/&gt;&lt;br/&gt; Some people writing some kick ass Java.&lt;br/&gt;&lt;br/&gt; &lt;img src="http://24.media.tumblr.com/tumblr_m3rmgkgs8J1rvui1vo5_500.jpg"/&gt;&lt;br/&gt; The higher reaches of CIM City.&lt;br/&gt;&lt;br/&gt; &lt;p&gt;&lt;a href="http://cimapps.tumblr.com/post/22721847645/this-is-where-we-work-glass-light-and-color" class="tumblr_blog"&gt;cimapps&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;This is where we work, glass, light, and color. You can see out over Philadelphia from no matter where you are. Pretty cool right? You could too if you wanted to, just check &lt;a href="http://unofficiallycim.tumblr.com/jobs" title="here"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Pictures courtesy of &lt;a href="http://www.twitter.com/davidmays" title="@davidmays"&gt;@davidmays&lt;/a&gt; and his awesome little camera!&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;That’s where I work!&lt;/p&gt;</description><link>http://trevmex.com/post/22887972607</link><guid>http://trevmex.com/post/22887972607</guid><pubDate>Sat, 12 May 2012 01:36:21 -0400</pubDate></item><item><title>cimapps:

So I just whipped up these two sticker designs, I like...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_m3sddnGgQA1rvui1vo1_500.png"/&gt;&lt;br/&gt; 8-bit&lt;br/&gt;&lt;br/&gt; &lt;img src="http://25.media.tumblr.com/tumblr_m3sddnGgQA1rvui1vo2_500.png"/&gt;&lt;br/&gt; Fun script&lt;br/&gt;&lt;br/&gt; &lt;p&gt;&lt;a href="http://cimapps.tumblr.com/post/22759608623/new-sticker-design" class="tumblr_blog"&gt;cimapps&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;So I just whipped up these two sticker designs, I like the 8-bit one better I think. If you’re looking to give some feedback, hit the Forrst link, thanks!&lt;/p&gt;
&lt;p&gt;&lt;a href="http://forrst.com/posts/Sticker_design_to_promote_coding_in_Philly-UMI"&gt;&lt;/a&gt;&lt;a href="http://forr.st/~UMI"&gt;&lt;a href="http://forr.st/~UMI"&gt;http://forr.st/~UMI&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;I want dozens of these.&lt;/p&gt;</description><link>http://trevmex.com/post/22887948678</link><guid>http://trevmex.com/post/22887948678</guid><pubDate>Sat, 12 May 2012 01:35:42 -0400</pubDate></item><item><title>Wolfenstein 3D in the Browser</title><description>&lt;a href="http://wolfenstein.bethsoft.com/game/wolf3d.html"&gt;Wolfenstein 3D in the Browser&lt;/a&gt;: &lt;p&gt;This is awesome.&lt;/p&gt;</description><link>http://trevmex.com/post/22848086830</link><guid>http://trevmex.com/post/22848086830</guid><pubDate>Fri, 11 May 2012 13:39:54 -0400</pubDate></item><item><title>HTML9 Responsive Boilerstrap JS</title><description>&lt;a href="http://html9responsiveboilerstrapjs.com/"&gt;HTML9 Responsive Boilerstrap JS&lt;/a&gt;: &lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;How do I install &lt;a href="http://html9responsiveboilerstrapjs.com/"&gt;this&lt;/a&gt;?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Um… are you stupid or something? Just attackclone the grit repo pushmerge, then rubygem the lymphnode js shawarma module – and presto!&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I just about died laughing at this.&lt;/p&gt;</description><link>http://trevmex.com/post/22780489665</link><guid>http://trevmex.com/post/22780489665</guid><pubDate>Thu, 10 May 2012 10:59:51 -0400</pubDate></item><item><title>Humans TXT: We Are People, Not Machines.</title><description>&lt;a href="http://humanstxt.org/"&gt;Humans TXT: We Are People, Not Machines.&lt;/a&gt;: &lt;p&gt;I love &lt;a href="http://humanstxt.org/"&gt;this idea&lt;/a&gt;. We should all be making &lt;a href="http://humanstxt.org/Standard.html"&gt;humans.txt files&lt;/a&gt; in our &lt;a href="http://html5boilerplate.com/"&gt;websites&lt;/a&gt;.&lt;/p&gt;</description><link>http://trevmex.com/post/22713001461</link><guid>http://trevmex.com/post/22713001461</guid><pubDate>Wed, 09 May 2012 08:40:58 -0400</pubDate></item><item><title>Styling for SASS Addicts</title><description>&lt;h2&gt;@phillyrb May 2012 Meeting&lt;/h2&gt;
&lt;p&gt;&lt;em&gt;Pam Selle&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;SASS is a CSS pre-processor. It makes CSS more like a programming language with mixins, variables, and scoping.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Pre-processers don&amp;#8217;t magically make your code better.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Mistakes!&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;
&lt;p&gt;Styling with ids.&lt;/p&gt;
&lt;p&gt;You cannot have more than one id on a page. You can have many classes.&lt;/p&gt;
&lt;p&gt;ids are more powerful than classes, and classes are more powerful than elements.&lt;/p&gt;
&lt;strong&gt;The inception rule: you shouldn&amp;#8217;t have more than 4 selectors!&lt;/strong&gt;
&lt;p&gt;Seriously, just don&amp;#8217;t style your ids. Style is for classes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Fear of classes.&lt;/p&gt;
&lt;p&gt;More markup is not bad. use classes liberally.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Redundancy.&lt;/p&gt;
&lt;p&gt;You keep your Ruby code DRY, you need to make your CSS as well.&lt;/p&gt;
&lt;p&gt;You can use @extend to DRY up your code.&lt;/p&gt;
&lt;p&gt;A mixin without an argument is suspicious (try @extend).&lt;/p&gt;
&lt;p&gt;Avoid overwriting styles! Keep it simple!&lt;/p&gt;
&lt;p&gt;Print your stylesheets, if they look bad on paper, you might have bad code!&lt;/p&gt;
&lt;p&gt;Use &lt;a href="http://csslint.net/"&gt;CSS Lint&lt;/a&gt; to make your code better!&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Forgetting fallbacks!&lt;/p&gt;
&lt;p&gt;You cannot forget IE. Go to &lt;a href="http://caniuse.com/"&gt;Can I use&lt;/a&gt; to learn what you can use on your browser.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Taking it too seriously&lt;/p&gt;
&lt;strong&gt;FACT: You will fuck it up!&lt;/strong&gt;
&lt;p&gt;Don&amp;#8217;t be high and mighty about your code.&lt;/p&gt;
&lt;p&gt;SASS doesn&amp;#8217;t create bad code. Bad coder create bad code.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;p&gt;Check out the GREAT chart at &lt;a href="http://www.standardista.com/css3/css-specificity/"&gt;standardista.&lt;/a&gt; They relate CSS specificity to fish. It is mega-cool.&lt;/p&gt;
&lt;p&gt;Nesting too much in SASS is confusing! Don&amp;#8217;t do it.&lt;/p&gt;
&lt;p&gt;Check out &lt;a href="http://html5boilerplate.com/"&gt;HTML5 Boilerplate&lt;/a&gt; to kickstart your beautiful html pages!&lt;/p&gt;
&lt;p&gt;&lt;a href="http://compass-style.org/help/tutorials/spriting/"&gt;Spriting in Compass&lt;/a&gt; is awesome! Check it out, and never edit a sprite sheet in Photoshop ever again.&lt;/p&gt;
&lt;p&gt;Thanks to Pam for the great talk!&lt;/p&gt;</description><link>http://trevmex.com/post/22712887322</link><guid>http://trevmex.com/post/22712887322</guid><pubDate>Wed, 09 May 2012 08:36:26 -0400</pubDate></item><item><title>The difference between !foo == nil and !foo.nil? in Ruby</title><description>&lt;p&gt;I got a question at &lt;a href="http://unofficiallycim.tumblr.com/"&gt;work&lt;/a&gt; about the difference between these two statements in &lt;a href="http://jruby.org/"&gt;Ruby&lt;/a&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code class="ruby"&gt;!foo == nil&lt;br/&gt;!foo.nil?&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The main difference is when the bang (!) is evaluated.&lt;/p&gt;
&lt;p&gt;bang (!) in Ruby will return the opposite of the boolean value of the statement.&lt;/p&gt;
&lt;p&gt;So &lt;em&gt;if the statement is truthy&lt;/em&gt;, &lt;strong&gt;false&lt;/strong&gt; will be returned, and &lt;em&gt;if the statement is falsy&lt;/em&gt;, &lt;strong&gt;true&lt;/strong&gt; will be returned.&lt;/p&gt;
&lt;p&gt;We have to ask ourselves, what is &amp;#8220;the statement&amp;#8221; in each of these cases. In the first case, &lt;strong&gt;foo&lt;/strong&gt; is the statement. That means the code will be evaluated as if it was running the following function:&lt;/p&gt;
&lt;pre&gt;&lt;code class="ruby"&gt;def first_one(foo)&lt;br/&gt;  # Step 1&lt;br/&gt;  tmp = !foo&lt;br/&gt;&lt;br/&gt;  # Step 2&lt;br/&gt;  tmp == nil&lt;br/&gt;end&lt;br/&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;In the second case, foo.nil? is the statement. Dot (.) has a higher priority that bang (!), so you get  code that will be evaluated more like this function:&lt;/p&gt;
&lt;pre&gt;&lt;code class="ruby"&gt;def second_one(foo)&lt;br/&gt;  # Step 1&lt;br/&gt;  tmp = foo.nil?&lt;br/&gt;&lt;br/&gt;  # Step 2&lt;br/&gt;  !tmp&lt;br/&gt;end&lt;br/&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Let&amp;#8217;s look at some test cases:&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;foo is undefined:
&lt;pre&gt;&lt;code class="ruby"&gt;!foo == nil # NameError&lt;br/&gt;!foo.nil? # NameError&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;foo is set as a string (truthy):
&lt;pre&gt;&lt;code class="ruby"&gt;foo = "bar"&lt;br/&gt;&lt;br/&gt;!foo == nil # &lt;strong&gt;false&lt;/strong&gt; &lt;em&gt;(uh oh, that's not what you wanted!)&lt;/em&gt;&lt;br/&gt;!foo.nil? # true&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;foo is set to nil (falsy):
&lt;pre&gt;&lt;code class="ruby"&gt;foo = nil&lt;br/&gt;&lt;br/&gt;!foo == nil # false&lt;br/&gt;!foo.nil? # false&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;p&gt;I hope this helps someone else out there. Happy rubying!&lt;/p&gt;</description><link>http://trevmex.com/post/22667860806</link><guid>http://trevmex.com/post/22667860806</guid><pubDate>Tue, 08 May 2012 16:21:28 -0400</pubDate></item><item><title>xkcd: Every Major's Terrible</title><description>&lt;a href="http://xkcd.com/1052/"&gt;xkcd: Every Major's Terrible&lt;/a&gt;: &lt;p&gt;&lt;a href="http://xkcd.com/1052/"&gt;Beautiful, just beautiful.&lt;/a&gt;&lt;/p&gt;</description><link>http://trevmex.com/post/22613308975</link><guid>http://trevmex.com/post/22613308975</guid><pubDate>Mon, 07 May 2012 18:51:30 -0400</pubDate></item><item><title>Does anyone else remember this game? Every now and again I get...</title><description>&lt;iframe width="400" height="299" src="http://www.youtube.com/embed/I8g1stjY1Tw?wmode=transparent&amp;autohide=1&amp;egm=0&amp;hd=1&amp;iv_load_policy=3&amp;modestbranding=1&amp;rel=0&amp;showinfo=0&amp;showsearch=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Does anyone else remember this game? Every now and again I get the opening song in my head. It is simple, but I love it.&lt;/p&gt;
&lt;p&gt;Manhunter 2 - San Francisco (by &lt;a href="http://www.youtube.com/watch?v=I8g1stjY1Tw"&gt;ShagittariusIntros&lt;/a&gt;)&lt;/p&gt;</description><link>http://trevmex.com/post/22319408730</link><guid>http://trevmex.com/post/22319408730</guid><pubDate>Thu, 03 May 2012 09:44:41 -0400</pubDate></item><item><title>Eclipse Maven Plugin for Scala Spring Apps</title><description>&lt;a href="https://gist.github.com/2582501"&gt;Eclipse Maven Plugin for Scala Spring Apps&lt;/a&gt;: &lt;p&gt;I am playing around with &lt;a href="http://code.google.com/p/scalaz/"&gt;Scalaz&lt;/a&gt; and &lt;a href="http://www.springsource.com/"&gt;Spring&lt;/a&gt;, and I use &lt;a href="http://www.springsource.com/developer/sts"&gt;STS&lt;/a&gt; as an editor. One nice thing about STS (which is just fancy &lt;a href="http://www.eclipse.org/"&gt;Eclipse&lt;/a&gt;) is that you can have a &lt;a href="http://maven.apache.org/plugins/maven-eclipse-plugin/"&gt;maven plugin&lt;/a&gt; in your &lt;a href="http://maven.apache.org/guides/introduction/introduction-to-the-pom.html"&gt;pom.xml&lt;/a&gt; file to make Eclipse have all the right settings for hacking on Scala and Spring.&lt;/p&gt;
&lt;p&gt;This is what you do:&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;Install the &lt;a href="http://scala-ide.org/download/current.html"&gt;Scala IDE&lt;/a&gt; for STS (or Eclipse).&lt;/li&gt;
&lt;li&gt;Copy &lt;a href="https://raw.github.com/gist/2582501/3b5db374d93f876d263cdb63a2a25e81827b18ec/pom-snippit.xml"&gt;this&lt;/a&gt; into your project’s pom.xml file in the &lt;plugins&gt; section:
&lt;script src="https://gist.github.com/2582501.js?file=pom-snippit.xml" type="text/javascript"&gt;&lt;/script&gt;&lt;/li&gt;
&lt;li&gt;Save the pom.xml file.&lt;/li&gt;
&lt;li&gt;Execute the following in &lt;a href="http://guides.macrumors.com/Terminal"&gt;Terminal.app&lt;/a&gt; or &lt;a href="http://msdn.microsoft.com/en-us/library/windows/desktop/aa973757%28v=vs.85%29.aspx"&gt;PowerShell&lt;/a&gt;:
&lt;pre&gt;&lt;code&gt;mvn eclipse:clean eclipse:eclipse&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Hit &lt;strong&gt;F5&lt;/strong&gt; in STS (or Eclipse).&lt;/li&gt;
&lt;/ol&gt;&lt;p&gt;Your IDE is now set up to deal with Scala files. Hooray!&lt;/p&gt;</description><link>http://trevmex.com/post/22296824975</link><guid>http://trevmex.com/post/22296824975</guid><pubDate>Wed, 02 May 2012 22:07:00 -0400</pubDate></item><item><title>Paxos Made Live</title><description>&lt;a href="http://www.cs.ucla.edu/~kohler/class/08w-dsi/chandra07paxos.pdf"&gt;Paxos Made Live&lt;/a&gt;: &lt;p&gt;It is time to dig into the goodness that is the &lt;a href="http://en.wikipedia.org/wiki/Paxos_%28computer_science%29"&gt;Paxos algorithm&lt;/a&gt;. It is the technology that &lt;a href="http://blogoscoped.com/archive/2008-07-24-n69.html"&gt;Google’s Chubby&lt;/a&gt; and &lt;a href="http://zookeeper.apache.org/"&gt;Apache’s Zookeeper&lt;/a&gt; are based off of, and I am working to implement it as well. Time to &lt;a href="http://www.cs.ucla.edu/~kohler/class/08w-dsi/chandra07paxos.pdf"&gt;study up&lt;/a&gt;!&lt;/p&gt;</description><link>http://trevmex.com/post/22294507911</link><guid>http://trevmex.com/post/22294507911</guid><pubDate>Wed, 02 May 2012 21:38:02 -0400</pubDate></item><item><title>Editing your hosts file to stop goofing off</title><description>&lt;p&gt;So, when I get home, I want to work on &lt;a href="https://github.com/trevmex"&gt;my pet projects&lt;/a&gt;, but I often end up, well, not working on anything. &lt;a href="http://reddit.com/"&gt;I&lt;/a&gt; &lt;a href="http://imgur.com/"&gt;end&lt;/a&gt; &lt;a href="http://encyclopediadramatica.se/Main_Page"&gt;up&lt;/a&gt; &lt;a href="http://www.4chan.org/"&gt;goofing&lt;/a&gt; &lt;a href="http://www.youtube.com/"&gt;off&lt;/a&gt; &lt;a href="http://behoimi.org/"&gt;on&lt;/a&gt; &lt;a href="http://slashdot.org/"&gt;the&lt;/a&gt; &lt;a href="http://www.stumbleupon.com/"&gt;internets&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I have a &lt;a href="http://support.dell.com/support/edocs/systems/latd830/en/index.htm"&gt;Windows 7 laptop&lt;/a&gt; at home that I use, and I knew that I could block sites by adding entries to my &lt;a href="http://en.wikipedia.org/wiki/Hosts_%28file%29"&gt;&lt;em&gt;hosts file&lt;/em&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You can access your &lt;em&gt;hosts file&lt;/em&gt; by following &lt;a href="http://helpdeskgeek.com/windows-7/windows-7-hosts-file/"&gt;the great instructions at Help Desk Geek&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Once you have the &lt;em&gt;hosts file&lt;/em&gt; open, you want to add lines to it that look like the following:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;127.0.0.1 reddit.com&lt;br/&gt;127.0.0.1 imgur.com&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;&lt;li&gt;The first entry is the IP Address of your computer (&lt;a href="http://en.wikipedia.org/wiki/Localhost"&gt;127.0.0.1&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;The second entry is the domain you want to direct to your local computer (note that these entries do not have paths, they are only the domain parts of the URL, e.g. reddit.com, not reddit.com/r/funny).&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;Why would you want this, you ask?&lt;/p&gt;
&lt;p&gt;Well, I want to stop myself from going to websites that suck my time away. By essentially blocking these sites (like reddit and imgur) from my computer, I am giving myself a wake up call to do something productive.&lt;/p&gt;
&lt;p&gt;But for me, that isn&amp;#8217;t good enough. I want to be reminded that I am slacking off when I try to go to these sites. So to do that I created a little page and added it to a web server running on my Windows 7 laptop. Here is how I did it:&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;Download and install &lt;a href="http://www.wampserver.com/en/"&gt;WampServer&lt;/a&gt;. It is free (as in freedom), and installs with a click of a button. Easy!&lt;/li&gt;
&lt;li&gt;Once installed click &lt;strong&gt;Start Menu -&amp;gt; All Programs -&amp;gt; WampServer -&amp;gt; start WampServer&lt;/strong&gt;. This will start up your server.&lt;/li&gt;
&lt;li&gt;Navigate to &lt;a href="http://127.0.0.1/"&gt;&lt;a href="http://127.0.0.1/"&gt;http://127.0.0.1/&lt;/a&gt;&lt;/a&gt;. You should see something that looks like the following:&lt;br/&gt;&lt;img align="middle" alt="WampServer Homepage" src="http://trevreport.org/images/wamp.png"/&gt;&lt;/li&gt;
&lt;li&gt;But we want that page to be a bit better. No problem. I wrote an HTML page that you can use. Save &lt;a href="https://raw.github.com/gist/2573060/261c3aa0d8aeaf523f42504cbe893cda7d5dbc8f/index.html"&gt;the following gist&lt;/a&gt; in a file on your Desktop called &lt;em&gt;index.html&lt;/em&gt;:&lt;br/&gt;&lt;script src="https://gist.github.com/2573060.js" type="text/javascript"&gt;&lt;![CDATA[// &lt;![CDATA[
// &lt;![CDATA[
// &lt;![CDATA[
 
// ]]]]]]]]&gt;&lt;![CDATA[&gt;&lt;![CDATA[&gt;&lt;![CDATA[&gt;
// ]]]]]]&gt;&lt;![CDATA[&gt;&lt;![CDATA[&gt;
// ]]]]&gt;&lt;![CDATA[&gt;]]&gt;&lt;/script&gt;&lt;/li&gt;
&lt;li&gt;Open up Windows Explorer by clicking on &lt;strong&gt;Start Menu -&amp;gt; All Programs -&amp;gt;Accessories -&amp;gt; Windows Explorer&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Paste &lt;strong&gt;C:\wamp\www&lt;/strong&gt; into the address field at the top of the window and press Enter:&lt;br/&gt;&lt;img align="middle" alt="Windows Explorer Address Bar" src="http://trevreport.org/images/addrbar.png"/&gt;&lt;/li&gt;
&lt;li&gt;Drag and drop the &lt;em&gt;index.html&lt;/em&gt; file from your Desktop to the &lt;strong&gt;C:\wamp\www&lt;/strong&gt; directory in Windows Explorer.&lt;/li&gt;
&lt;li&gt;Finally, &lt;strong&gt;delete&lt;/strong&gt; the &lt;em&gt;index.php&lt;/em&gt; file (different from the &lt;em&gt;index.html&lt;/em&gt; file) in the &lt;strong&gt;C:\wamp\www&lt;/strong&gt; directory.&lt;/li&gt;
&lt;/ol&gt;&lt;p&gt;Now, when you go to &lt;a href="http://127.0.0.1/"&gt;&lt;a href="http://127.0.0.1/"&gt;http://127.0.0.1/&lt;/a&gt;&lt;/a&gt; you should see something like:&lt;br/&gt;&lt;img align="middle" alt="Do it!" src="http://trevreport.org/images/doit.png"/&gt;&lt;/p&gt;
&lt;p&gt;Even better: When you are tempted to go to someplace like &lt;a href="http://www.reddit.com/"&gt;&lt;a href="http://www.reddit.com/"&gt;http://www.reddit.com/&lt;/a&gt;&lt;/a&gt;, you will see the above page, which is a nice reminder that you could be more productive right now.&lt;/p&gt;
&lt;p&gt;I have a few ideas on how to make this better, for example, it needs some &lt;a href="http://www.css3.info/"&gt;CSS love&lt;/a&gt;, and I think it would be neat to let people design their own productivity pages with a simple web app. In any case, this is a good start, and it helps me (at least it helped me write this post. :D).&lt;/p&gt;
&lt;p&gt;I hope it can help you too. Take care!&lt;/p&gt;</description><link>http://trevmex.com/post/22240833491</link><guid>http://trevmex.com/post/22240833491</guid><pubDate>Tue, 01 May 2012 23:11:00 -0400</pubDate><category>windows 7</category><category>proxy</category><category>wamp</category><category>productivity</category><category>localhost</category></item><item><title>DCI in Real World: Domain Context and Interaction with Scala in a Real World Project</title><description>&lt;a href="http://sadekdrobi.com/2009/06/10/dci-in-real-world-domain-context-and-interaction-with-scala-in-a-real-world-project/"&gt;DCI in Real World: Domain Context and Interaction with Scala in a Real World Project&lt;/a&gt;: &lt;p&gt;This is an older blog post, but it outlines a couple thing I have been thinking about a lot lately. &lt;a href="http://en.wikipedia.org/wiki/Data,_Context,_and_Interaction"&gt;DCI&lt;/a&gt; and &lt;a href="http://www.scala-lang.org/"&gt;Scala&lt;/a&gt;. &lt;a href="http://sadekdrobi.com/"&gt;Sadek &lt;/a&gt;outlines &lt;a href="http://sadekdrobi.com/2009/06/10/dci-in-real-world-domain-context-and-interaction-with-scala-in-a-real-world-project/"&gt;a simple to understand implementation of DCI concepts in Scala&lt;/a&gt; that is easy to follow. Check it out!&lt;/p&gt;</description><link>http://trevmex.com/post/22189903403</link><guid>http://trevmex.com/post/22189903403</guid><pubDate>Tue, 01 May 2012 08:53:27 -0400</pubDate></item><item><title>Introducing WebJars – Web Libraries as Managed Dependencies</title><description>&lt;a href="http://www.jamesward.com/2012/04/25/introducing-webjars-web-libraries-as-managed-dependencies"&gt;Introducing WebJars – Web Libraries as Managed Dependencies&lt;/a&gt;: &lt;p&gt;Adding your web libraries as a JAR in your Java web app. This is a very cool idea for us in the &lt;a href="http://xfinity.comcast.com/"&gt;enterprise web world&lt;/a&gt;. Good thinking &lt;a href="http://www.jamesward.com/"&gt;James&lt;/a&gt;!&lt;/p&gt;</description><link>http://trevmex.com/post/22189721982</link><guid>http://trevmex.com/post/22189721982</guid><pubDate>Tue, 01 May 2012 08:46:47 -0400</pubDate></item><item><title>What Makes Valve Software the Best Office Ever?</title><description>&lt;a href="http://www.businessweek.com/articles/2012-04-25/what-makes-valve-software-the-shangri-la-of-offices"&gt;What Makes Valve Software the Best Office Ever?&lt;/a&gt;: &lt;p&gt;&lt;a href="http://www.businessweek.com/articles/2012-04-25/what-makes-valve-software-the-shangri-la-of-offices"&gt;That&lt;/a&gt; sounds like a GREAT place to &lt;a href="http://www.valvesoftware.com/"&gt;work&lt;/a&gt;. Just check out the &lt;a href="http://newcdn.flamehaus.com/Valve_Handbook_LowRes.pdf"&gt;employee handbook&lt;/a&gt;. Sounds neat!&lt;/p&gt;</description><link>http://trevmex.com/post/21898173641</link><guid>http://trevmex.com/post/21898173641</guid><pubDate>Fri, 27 Apr 2012 00:39:51 -0400</pubDate></item><item><title>366 or How I Tricked Myself into Being Awesome</title><description>&lt;a href="http://japhr.blogspot.com/2012/04/366-or-how-i-tricked-myself-into-being.html"&gt;366 or How I Tricked Myself into Being Awesome&lt;/a&gt;: &lt;p&gt;Wow. this is a pretty cool &lt;a href="http://japhr.blogspot.com/2012/04/366-or-how-i-tricked-myself-into-being.html"&gt;article&lt;/a&gt; about following through. Makes me want to follow through on more things…&lt;/p&gt;</description><link>http://trevmex.com/post/21857681661</link><guid>http://trevmex.com/post/21857681661</guid><pubDate>Thu, 26 Apr 2012 14:19:27 -0400</pubDate></item><item><title>The Guerrilla Guide to Interviewing</title><description>&lt;a href="http://www.joelonsoftware.com/articles/fog0000000073.html"&gt;The Guerrilla Guide to Interviewing&lt;/a&gt;: &lt;p&gt;An oldie but a goodie. Whenever I am interviewing someone (which I am today), I like to re-read &lt;a href="http://www.joelonsoftware.com/articles/fog0000000073.html"&gt;this guide&lt;/a&gt;. Good stuff.&lt;/p&gt;</description><link>http://trevmex.com/post/21849317700</link><guid>http://trevmex.com/post/21849317700</guid><pubDate>Thu, 26 Apr 2012 10:53:29 -0400</pubDate></item></channel></rss>

