<?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>Its Lennys Fault</title>
	<atom:link href="http://itslennysfault.com/feed" rel="self" type="application/rss+xml" />
	<link>http://itslennysfault.com</link>
	<description>Random things and stuff mostly stuff but there are still some things</description>
	<lastBuildDate>Wed, 08 Feb 2012 23:17:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Comic Sans EVERYWHERE for chrome released</title>
		<link>http://itslennysfault.com/comic-sans-everywhere-for-chrome-released</link>
		<comments>http://itslennysfault.com/comic-sans-everywhere-for-chrome-released#comments</comments>
		<pubDate>Wed, 08 Feb 2012 23:16:54 +0000</pubDate>
		<dc:creator>Lenny</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://itslennysfault.com/?p=473</guid>
		<description><![CDATA[Today I contributed my greatest addition to the advancement of the web and technology in general. It&#39;s called Comic Sans EVERYWHERE. It is an extension for chrome that allows you to see all of your favorite sites in your favorite font, Comic Sans. This is my contribution to the world. I hope you all enjoy it. Download [...]]]></description>
			<content:encoded><![CDATA[<p>Today I contributed my greatest addition to the advancement of the web and technology in general. It&#39;s called Comic Sans EVERYWHERE. It is an extension for chrome that allows you to see all of your favorite sites in your favorite font, Comic Sans. This is my contribution to the world. I hope you all enjoy it. <a href="https://chrome.google.com/webstore/detail/ikcdeelopoinbkpinbaaaefndkagabhk" target="_blank">Download it now</a></p>
<p><span id="more-473"></span></p>
<p><a href="http://itslennysfault.com/wp-content/uploads/2012/02/screenshot.png"><img class="alignleft wp-image-474" title="screenshot" src="http://itslennysfault.com/wp-content/uploads/2012/02/screenshot-300x187.png" alt="" width="600" height="374" /></a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fitslennysfault.com%2Fcomic-sans-everywhere-for-chrome-released&amp;title=Comic%20Sans%20EVERYWHERE%20for%20chrome%20released" id="wpa2a_2"><img src="http://itslennysfault.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://itslennysfault.com/comic-sans-everywhere-for-chrome-released/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An open letter to Chicago Residents and Aldermen</title>
		<link>http://itslennysfault.com/an-open-letter-to-chicago-residents-and-aldermen</link>
		<comments>http://itslennysfault.com/an-open-letter-to-chicago-residents-and-aldermen#comments</comments>
		<pubDate>Thu, 19 Jan 2012 02:15:43 +0000</pubDate>
		<dc:creator>Lenny</dc:creator>
				<category><![CDATA[Political]]></category>
		<category><![CDATA[chicago]]></category>
		<category><![CDATA[g8]]></category>
		<category><![CDATA[mayer 1%]]></category>
		<category><![CDATA[nato]]></category>
		<category><![CDATA[political]]></category>
		<category><![CDATA[rahm]]></category>

		<guid isPermaLink="false">http://itslennysfault.com/?p=460</guid>
		<description><![CDATA[Today (1/18/2012) the city of Chicago passed a new ordinance restricting protesters and parades within city limits under the guise of increasing public safety for the upcoming Nato / G8 summits. The truth is that Rahm Emanuel used a typical fear mongering tactic to push through a new law that he can use to gag the [...]]]></description>
			<content:encoded><![CDATA[<p>Today (1/18/2012) the city of Chicago passed a <a href="http://www.chicagotribune.com/news/politics/clout/chi-chicago-aldermen-approve-emanuels-g8-nato-protest-crackdown-20120118,0,4766516.story">new ordinance</a> restricting protesters and parades within city limits under the guise of increasing public safety for the upcoming Nato / G8 summits. The truth is that Rahm Emanuel used a typical fear mongering tactic to push through a new law that he can use to gag the people of this city while he steals their public services, jobs, and livelihood. If you truly believe that this has anything to do with &quot;public safety&quot; you have clearly been drinking the kool-aid.</p>
<p><span id="more-460"></span></p>
<p><a href="http://itslennysfault.com/wp-content/uploads/2012/01/DSC_0103_opt.jpg"><img class="alignleft size-medium wp-image-464" style="margin-right: 10px;" title="Freedom of Assembly our right as americans" src="http://itslennysfault.com/wp-content/uploads/2012/01/DSC_0103_opt-281x300.jpg" alt="" width="281" height="300" /></a>First of all, violent / dangerous protesters are just that <em>violent and dangerous</em>. There are plenty of laws in place to deal with people who hurt others or destroy property. The people willing to do illegal / harmful acts are not going to care in the least about an extra fine. If someone is willing to chance prison and felony conviction a city ordinance isn&#39;t going to have <em><strong>any </strong></em>impact on their choices. However, it will work to stifle the voices of peaceful protesters.</p>
<p>To be clear, I believe adding any red tape to the 1st amendment, which these ordinances clearly do, is an example of abridging the freedom of speech and as such wholly unconstitutional. As if that wasn&#39;t bad enough in itself, it is also abundantly clear that these ordinances have little to do with the Nato / G8 summits, regardless of what the mayor would like you to believe. The people protesting Nato / G8 still have 4 months to plan, acquire permits, etc before Nato / G8. I don&#39;t think the protesters that are “the reason for these ordinances” will have much trouble working within them (despite the fact that they shouldn&#39;t have to). However, everyday people who may want to protest, for example, a school closing, cutting funding for hospitals, job cuts, unfair worker treatment, etc will have a much harder time complying with these new ordinances.</p>
<p>Introducing an ordinance that stifles dissent at a time when the city is cutting funding to schools, medical facilities, the library, etc seems all too convenient. It is obvious to me that this ordinance targets primarily honest law abiding citizens who want to exercise their <em><strong>RIGHT </strong></em>to show their disapproval. Probably worst of all is the fact that these ordinances target people financially. This is a <em>huge </em>concern since the people of our poorest neighborhoods are the same people who are losing their schools, hospitals, and jobs. They are the same people who have the most reason to protest. Do you honestly believe that it is a coincidence that they are the ones most stifled by this new ordinance?</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fitslennysfault.com%2Fan-open-letter-to-chicago-residents-and-aldermen&amp;title=An%20open%20letter%20to%20Chicago%20Residents%20and%20Aldermen" id="wpa2a_4"><img src="http://itslennysfault.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://itslennysfault.com/an-open-letter-to-chicago-residents-and-aldermen/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Google+ is public, Facebook replies by pissing off their users</title>
		<link>http://itslennysfault.com/google-is-public-facebook-replies-by-pissing-off-their-users</link>
		<comments>http://itslennysfault.com/google-is-public-facebook-replies-by-pissing-off-their-users#comments</comments>
		<pubDate>Wed, 21 Sep 2011 16:34:06 +0000</pubDate>
		<dc:creator>Lenny</dc:creator>
				<category><![CDATA[Silly]]></category>

		<guid isPermaLink="false">http://itslennysfault.com/?p=444</guid>
		<description><![CDATA[So yesterday Google+ went public, but they didn&#39;t catch facebook sleeping. Facebook saw it coming and had a brilliant response ready&#8230;]]></description>
			<content:encoded><![CDATA[<p>So yesterday Google+ went public, but they didn&#39;t catch facebook sleeping. Facebook saw it coming and had a brilliant response ready&#8230;</p>
<p><img src="http://itslennysfault.com/wp-content/uploads/2011/09/facebookGPlusMMs2.jpg" alt="facebook is doing it wrong stabbing itself in the eye" title="facebook vs google+ (facebook&#039;s doing it wrong)" width="550" height="479" class="aligncenter size-full wp-image-449" /></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fitslennysfault.com%2Fgoogle-is-public-facebook-replies-by-pissing-off-their-users&amp;title=Google%2B%20is%20public%2C%20Facebook%20replies%20by%20pissing%20off%20their%20users" id="wpa2a_6"><img src="http://itslennysfault.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://itslennysfault.com/google-is-public-facebook-replies-by-pissing-off-their-users/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get Facebook Access Token for Graph API</title>
		<link>http://itslennysfault.com/get-facebook-access-token-for-graph-api</link>
		<comments>http://itslennysfault.com/get-facebook-access-token-for-graph-api#comments</comments>
		<pubDate>Tue, 07 Jun 2011 17:40:37 +0000</pubDate>
		<dc:creator>Lenny</dc:creator>
				<category><![CDATA[Guides]]></category>
		<category><![CDATA[Quick Tips]]></category>
		<category><![CDATA[access token]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[graph api]]></category>

		<guid isPermaLink="false">http://itslennysfault.com/?p=435</guid>
		<description><![CDATA[Facebook recently updated their Graph API to require an oAuth access token. Here is a quick guide that explains the easiest way to create an access token for your site. &#160; Create a Facebook App First you need to create a facebook app that you own / control. To do this go to this url: [...]]]></description>
			<content:encoded><![CDATA[<p>Facebook recently updated their Graph API to require an oAuth access token. Here is a quick guide that explains the easiest way to create an access token for your site.</p>
<p><span id="more-435"></span></p>
<p>&nbsp;</p>
<p><strong>Create a Facebook App</strong></p>
<p>First you need to create a facebook app that you own / control. To do this go to this url: <a href="https://www.facebook.com/developers/">https://www.facebook.com/developers/</a> and click &quot;Set Up New App&quot;. Enter a name for the app and agree to the terms. It doesn&#39;t matter what you name the app. Once that is done go to the Web Site tab on the left and enter the URL for your site in the Site URL box. This is required or you will get an invalid referral error when you try to generate your token.</p>
<p>
Once you have your app created copy and paste the &quot;Application ID&quot; we will need this later.
</p>
<p><strong>Generating the token</strong></p>
<p>
Now we need to build the URL to create our access token. There are 3 important parts to this process.</p>
<p>client_id &#8211; This is your Application Id you copied earlier</p>
<p>redirect_uri &#8211; this should be the URL to your site</p>
<p>scope &#8211; this is what you want the access code to allow access to. If you don&#39;t specify &quot;offline_access&quot; the access code will expire when you log out of facebook.</p>
<p>https://graph.facebook.com/oauth/authorize?type=user_agent&#038;client_id=####&#038;redirect_uri=http%3A%2F%2Fitslennysfault.com&#038;scope=read_stream,offline_access</p>
<p>Now you just have to replace the &quot;####&quot; with your application id and &quot;itslennysfault.com&quot; with your website&#39;s url and paste it in to your browser&#39;s URL bar. You will then be taken to the typical facebook allow permissions page. Once you click &quot;Allow&quot; you will be redirected to your web site with some extra data.</p>
<p>The URL when you are redirected back should look like this:<br />
http://itslennysfault.com/#access_token=######&#038;expires_in=0 </p>
<p>Where the ##### is is your access token&#8230; copy and paste that and you&#39;re good to go. You can use this access code to <a href="http://itslennysfault.com/get-latest-status-from-facebook-fan-pages-in-php-multiple">Get latest status from facebook fan pages in PHP</a>.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fitslennysfault.com%2Fget-facebook-access-token-for-graph-api&amp;title=Get%20Facebook%20Access%20Token%20for%20Graph%20API" id="wpa2a_8"><img src="http://itslennysfault.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://itslennysfault.com/get-facebook-access-token-for-graph-api/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Simple jQuery script to automatically open external links in new window</title>
		<link>http://itslennysfault.com/simple-jquery-script-to-automatically-open-external-links-in-new-window</link>
		<comments>http://itslennysfault.com/simple-jquery-script-to-automatically-open-external-links-in-new-window#comments</comments>
		<pubDate>Sun, 05 Jun 2011 20:35:20 +0000</pubDate>
		<dc:creator>Lenny</dc:creator>
				<category><![CDATA[Quick Tips]]></category>

		<guid isPermaLink="false">http://itslennysfault.com/?p=426</guid>
		<description><![CDATA[Often times on sites it&#39;s useful to automatically have any external link open in a new window. This is a very simple solution that just overrides any link that starts with http:// or https:// and forces them to open in a new window. There are obviously other ways to accomplish this but this is the [...]]]></description>
			<content:encoded><![CDATA[<p>Often times on sites it&#39;s useful to automatically have any external link open in a new window. This is a very simple solution that just overrides any link that starts with http:// or https:// and forces them to open in a new window. There are obviously other ways to accomplish this but this is the most simple method. This method consists of a simple jQuery function and forces external links to open in a new window. This is useful for any site with unpredictable content when you know you want external links to open in a new window.</p>
<p><span id="more-426"></span></p>
<p><pre lang="javascript">
$("a[href^='http://'],a[href^='https://']").click(function(){
    window.open($(this).attr('href'));
    return false;
});
</pre>
</p>
<p>
The above code can be problematic if your site uses full urls. For example my site has full urls in the navigation (eg http://itslennysfault.com/about) so with the code above those links would open in a new window. To avoid this use the following code and update &quot;goodDomain&quot; to your site&#39;s url.
</p>
<p><pre lang="javascript">
    $("a[href^='http://'],a[href^='https://']").click(function(){
    	var myHref=$(this).attr('href');
    	var goodDomain="http://itslennysfault.com";
    	if(myHref.toLowerCase().substr(0,goodDomain.length)==goodDomain)
    		return true;
    	window.open(myHref);
    	return false;
    });
</pre>
</p>
<p>
Obviously, either code should be placed inside a wrapper and loaded after the DOM is ready.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fitslennysfault.com%2Fsimple-jquery-script-to-automatically-open-external-links-in-new-window&amp;title=Simple%20jQuery%20script%20to%20automatically%20open%20external%20links%20in%20new%20window" id="wpa2a_10"><img src="http://itslennysfault.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://itslennysfault.com/simple-jquery-script-to-automatically-open-external-links-in-new-window/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Easy way to load Facebook news feed through RSS / atom10</title>
		<link>http://itslennysfault.com/easy-way-to-load-facebook-news-feed-through-rss-atom10</link>
		<comments>http://itslennysfault.com/easy-way-to-load-facebook-news-feed-through-rss-atom10#comments</comments>
		<pubDate>Sun, 05 Jun 2011 20:05:22 +0000</pubDate>
		<dc:creator>Lenny</dc:creator>
				<category><![CDATA[Guides]]></category>
		<category><![CDATA[atom]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://itslennysfault.com/?p=416</guid>
		<description><![CDATA[Until recently you could import your facebook news feed using a json feed available through the Facebook Graph API without needing to set up an oAuth token. Unfortunately, facebook pulled the rug out from under us all when they started requiring oAuth tokens on the basic graph API. This caused many sites to start receiving [...]]]></description>
			<content:encoded><![CDATA[<p>Until recently you could import your facebook news feed using a json feed available through the Facebook Graph API without needing to set up an oAuth token. Unfortunately, facebook pulled the rug out from under us all when they started requiring oAuth tokens on the basic graph API. This caused many sites to start receiving the following error: &quot;OAuthException An access token is required to request this resource.&quot; Pretty annoying. I was ready to jump through facebook&#39;s hoops and create a facebook app dedicated to providing access to the news feed when I realized each page has an rss feed built right in. IMO it&#39;s not AS good as the data from the graph API but for most situations it will get the job done.</p>
<p><span id="more-416"></span></p>
<p>&nbsp;</p>
<p><strong>Considerations</strong></p>
<p>In testing this I realized that there are some facebook fan pages that for whatever reason DO NOT have an rss feed. I work on several sites that have facebook fan pages and unfortunately a few of them just return an empty string. I have no idea why or how to fix this so don&#39;t ask. If you figure it out please share. If you find yourself in this situation you have to use the Facebook Graph API. You can use this guide: <a href="http://itslennysfault.com/get-latest-status-from-facebook-fan-pages-in-php-multiple">Get latest status from facebook using Graph API</a></p>
<p>&nbsp;</p>
<p><strong>Overview</strong></p>
<p>
The process is fairly simple we just load the fan page rss feed using the facebook feeds url as follows: http://www.facebook.com/feeds/page.php?id=YOUR_FACEBOOK_ID&#038;format=atom10
</p>
<p>
One thing I noticed is facebook doesn&#39;t allow basic curl calls to this URL. For some reason it won&#39;t return any data unless you set the user agent to pretend to be one of the major browsers. I assume this is a very lame attempt to keep websites and bots from pulling data from their feeds. So in my example I use a basic Firefox / windows user agent.
</p>
<p>&nbsp;</p>
<p><strong>How do I get my page user id?</strong></p>
<p>It&#39;s very simple just go to your facebook fan page and click your profile picture in the top left. Once you do you&#39;ll be taken to a URL that looks like this: http://www.facebook.com/media/set/?set=pa.#########</p>
<p>after &quot;pa.&quot; where the ##### is will be your user id.</p>
<p>You can also go to your photo albums and you&#39;ll get a url like this: https://www.facebook.com/photos.php?id=####### &#8230; again where the ##### is where your facebook id will be.</p>
<p>&nbsp;</p>
<p><strong>The Nuts and Bolts</strong></p>
<p>Here is a quick PHP example for pulling these feeds. If you&#39;re using this on a production site I HIGHLY advise pulling this in to a database using a cron job then loading the data to the site from the database. That way you&#39;re not hitting facebooks server every page load AND if (when) facebook changes things again you won&#39;t get errors on the public facing page.</p>
<p><pre lang="php">
//function to retrieve posts from facebook server
function loadFB($fbID){
	//facebook feed url
    $url="http://www.facebook.com/feeds/page.php?id=".$fbID."&#038;format=atom10";

    //load and setup CURL
    $c = curl_init();

    //set options and make it up to look like firefox
	$userAgent = "Firefox (WindowsXP) - Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6";
	curl_setopt($c, CURLOPT_USERAGENT, $userAgent);
	curl_setopt($c, CURLOPT_URL,$url);
	curl_setopt($c, CURLOPT_FAILONERROR, true);
	curl_setopt($c, CURLOPT_FOLLOWLOCATION, true);
	curl_setopt($c, CURLOPT_AUTOREFERER, true);
	curl_setopt($c, CURLOPT_RETURNTRANSFER,true);
	curl_setopt($c, CURLOPT_VERBOSE, false);
    curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);

    //get data from facebook and decode XML
    $page = curl_exec($c);
    $pxml= new SimpleXMLElement($page);

    //close the connection
    curl_close($c);

    //return the data as an object
    return $pxml->entry;
}

//BE SURE to enter your facebook id here
$fbid="FACEBOOK_ID_GOES_HERE";

//how may posts to show
$fbLimit=10;
//variable used to count how many weÕve loaded
$fbCount=0;

//call the function and get the posts from facebook
$myPosts=loadFB($fbid);

//set timezone (change this to your timezone)
date_default_timezone_set("America/Chicago");

//loop through all the posts we got from facebook
foreach($myPosts as $dPost){
      //get the post date / time and convert to unix time
      $dTime = strtotime($dPost->published);
      //format the date / time into something human readable
      //if you want it formatted differently look up the php date function
      $myTime=date("M d Y h:ia",$dTime);
      //output the date / time
      echo("&lt;b&gt;".$myTime."&lt;/b&gt;");
      //output the message body
      echo($dPost->content);
      //add a line break to separate comments
      echo("&lt;br /&gt;&lt;br /&gt;");
      //increment counter
      $fbCount++;
      //if we've outputted the number set above in fblimit we're done
      if($fbCount >= $fbLimit) break;
}
</pre>
</p>
<p>
This code is fairly well commented and should serve as a good start to be able to easily pull in your facebook news feed through rss to any website.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fitslennysfault.com%2Feasy-way-to-load-facebook-news-feed-through-rss-atom10&amp;title=Easy%20way%20to%20load%20Facebook%20news%20feed%20through%20RSS%20%2F%20atom10" id="wpa2a_12"><img src="http://itslennysfault.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://itslennysfault.com/easy-way-to-load-facebook-news-feed-through-rss-atom10/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Tofu is just dirt flavored Jello</title>
		<link>http://itslennysfault.com/tofu-is-just-dirt-flavored-jello</link>
		<comments>http://itslennysfault.com/tofu-is-just-dirt-flavored-jello#comments</comments>
		<pubDate>Tue, 31 May 2011 15:26:40 +0000</pubDate>
		<dc:creator>Lenny</dc:creator>
				<category><![CDATA[Silly]]></category>
		<category><![CDATA[dirt]]></category>
		<category><![CDATA[funny]]></category>
		<category><![CDATA[jello]]></category>
		<category><![CDATA[joke]]></category>
		<category><![CDATA[photoshopped]]></category>
		<category><![CDATA[tofu]]></category>

		<guid isPermaLink="false">http://itslennysfault.com/?p=411</guid>
		<description><![CDATA[Jello has really done it this time with their new dirt flavored jello aka tofu.]]></description>
			<content:encoded><![CDATA[<p><img src="/stuff/JelloDirt.jpg" alt="Tofu Dirt Jello" /></p>
<p>Jello has really done it this time with their new dirt flavored jello aka tofu.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fitslennysfault.com%2Ftofu-is-just-dirt-flavored-jello&amp;title=Tofu%20is%20just%20dirt%20flavored%20Jello" id="wpa2a_14"><img src="http://itslennysfault.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://itslennysfault.com/tofu-is-just-dirt-flavored-jello/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Singing Weighted Companion Cube Duct Tape Wallet</title>
		<link>http://itslennysfault.com/singing-weighted-companion-cube-duct-tape-wallet</link>
		<comments>http://itslennysfault.com/singing-weighted-companion-cube-duct-tape-wallet#comments</comments>
		<pubDate>Fri, 13 May 2011 04:42:06 +0000</pubDate>
		<dc:creator>Lenny</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://itslennysfault.com/?p=390</guid>
		<description><![CDATA[Still scarred from having to burn my best friend alive I set out to create this weighted companion cube wallet completely out of duct tape. As an added bonus I included a voice chip so it plays the song from portal when opened. I really just wanted to show this off so there is really [...]]]></description>
			<content:encoded><![CDATA[<p>Still scarred from having to burn my best friend alive I set out to create this weighted companion cube wallet completely out of duct tape. As an added bonus I included a voice chip so it plays the song from portal when opened.</p>
<p style="text-align: center;"><a href="http://itslennysfault.com/wp-content/uploads/2011/05/DSC_0136_sized.jpg"><img class="aligncenter size-full wp-image-392" title="DSC_0136_sized" src="http://itslennysfault.com/wp-content/uploads/2011/05/DSC_0136_sized.jpg" alt="Companion Cube Wallet" width="400" /></a></p>
<p><span id="more-390"></span></p>
<p>I really just wanted to show this off so there is really no &quot;how to&quot; here. I&#39;m not gonna re-invent the wheel and do a &quot;how to build a duct tape wallet blog.&quot; I followed the guide here ( <a href="http://www.rpi-polymath.com/ducttape/duct_tape_wallet.html" target="_blank">http://www.rpi-polymath.com/ducttape/duct_tape_wallet.html </a>) for the most part and improvised a bit.</p>
<p>For the sound chip I was going to put something together myself, but when I realized I could get the complete kit for under $10 I thought it was crazy to waste time building my own. Here is the sound chip I used.</p>
<p style="text-align: center;"><a href="http://itslennysfault.com/wp-content/uploads/2011/05/BARE-PRE_001.jpg"><img class="aligncenter size-full wp-image-391" title="BARE-PRE_001" src="http://itslennysfault.com/wp-content/uploads/2011/05/BARE-PRE_001.jpg" alt="companion cube duct tape wallet" width="500" /></a></p>
<p>After I recorded the sound I cut off the microphone and the button to save space. I got it from a company called BigDawgs. Pro tip: get it on ebay they&#39;re $5.99 on ebay and twice that on the BigDawgs website.</p>
<p>Here are a few pictures of the finished wallet and a video of the sound chip in action. Enjoy&#8230;</p>

<a href='http://itslennysfault.com/singing-weighted-companion-cube-duct-tape-wallet/bare-pre_001' title='BARE-PRE_001'><img width="150" height="150" src="http://itslennysfault.com/wp-content/uploads/2011/05/BARE-PRE_001-150x150.jpg" class="attachment-thumbnail" alt="BARE-PRE_001" title="BARE-PRE_001" /></a>
<a href='http://itslennysfault.com/singing-weighted-companion-cube-duct-tape-wallet/dsc_0136_sized' title='DSC_0136_sized'><img width="150" height="150" src="http://itslennysfault.com/wp-content/uploads/2011/05/DSC_0136_sized-150x150.jpg" class="attachment-thumbnail" alt="DSC_0136_sized" title="DSC_0136_sized" /></a>
<a href='http://itslennysfault.com/singing-weighted-companion-cube-duct-tape-wallet/dsc_0137_sized' title='DSC_0137_sized'><img width="150" height="150" src="http://itslennysfault.com/wp-content/uploads/2011/05/DSC_0137_sized-150x150.jpg" class="attachment-thumbnail" alt="DSC_0137_sized" title="DSC_0137_sized" /></a>
<a href='http://itslennysfault.com/singing-weighted-companion-cube-duct-tape-wallet/dsc_0138_sized' title='DSC_0138_sized'><img width="150" height="150" src="http://itslennysfault.com/wp-content/uploads/2011/05/DSC_0138_sized-150x150.jpg" class="attachment-thumbnail" alt="DSC_0138_sized" title="DSC_0138_sized" /></a>

<p>&nbsp;</p>
<p>Video</p>
<p>
<object width="560" height="349"><param name="movie" value="http://www.youtube.com/v/ixNrSl42r14?fs=1&amp;hl=en_US&amp;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/ixNrSl42r14?fs=1&amp;hl=en_US&amp;rel=0" type="application/x-shockwave-flash" width="560" height="349" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fitslennysfault.com%2Fsinging-weighted-companion-cube-duct-tape-wallet&amp;title=Singing%20Weighted%20Companion%20Cube%20Duct%20Tape%20Wallet" id="wpa2a_16"><img src="http://itslennysfault.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://itslennysfault.com/singing-weighted-companion-cube-duct-tape-wallet/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Testing live sites before switching DNS / pointing the domain name</title>
		<link>http://itslennysfault.com/testing-live-sites-before-switching-dns-pointing-the-domain-name</link>
		<comments>http://itslennysfault.com/testing-live-sites-before-switching-dns-pointing-the-domain-name#comments</comments>
		<pubDate>Sat, 07 May 2011 18:29:41 +0000</pubDate>
		<dc:creator>Lenny</dc:creator>
				<category><![CDATA[Guides]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[site launch]]></category>
		<category><![CDATA[staging]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://itslennysfault.com/?p=384</guid>
		<description><![CDATA[So, you&#39;re ready to launch your site. You&#39;ve got it all set up on the production server and all you need to do is log in to your domain host and point the domain at your new server and hope everything is working. Hope everything is working? Yes, that seems to be how most developers [...]]]></description>
			<content:encoded><![CDATA[<p>So, you&#39;re ready to launch your site. You&#39;ve got it all set up on the production server and all you need to do is log in to your domain host and point the domain at your new server and hope everything is working. Hope everything is working? Yes, that seems to be how most developers think. I&#39;ve encountered several people who use this method for launching a site.</p>
<p>Fear not friends there is a simple solution that will allow you to fully test your site on the live server before switching the DNS to make it live to the rest of the world.</p>
<p><span id="more-384"></span></p>
<p>All you have to do to make this dream a reality is point your local hosts file to the ip of the new server. Then when you go to the url in your web browser the hosts file will override everything and send you to the new server. This guide is broken in to 3 sections: Mac, Windows, and Linux.</p>
<p>Before you get started you should at least have a basic understanding of DNS and how it works. At the VERY least you need to understand A records and how they work. If you don&#39;t please don&#39;t ask me just google &quot;how dns works&quot; or something to that effect and do some reading on your own.
</p>
<h3>Mac OS X</h3>
<ul>
<li>Open terminal (Applications > Utilities > Terminal)</li>
<li>type: sudo edit /private/etc/hosts</li>
<li>Enter your password</li>
<li>Edit the hosts file. (<a href="#edithost">see details below</a>)</li>
<li>Save and close the editor</li>
</ul>
<h3>Linux</h3>
<ul>
<li>Open terminal </li>
<li>type: sudo nano /etc/hosts</li>
<li>Enter your password</li>
<li>Edit the hosts file. (<a href="#edithost">see details below</a>)</li>
<li>Save and close the editor</li>
</ul>
<h3>Windows</h3>
<ul>
<li>Open a command prompt (Start > run > &quot;cmd&quot;)</li>
<li>type: notepad C:\windows\system32\drivers\etc\hosts</li>
<li>Edit the hosts file. (<a href="#edithost">see details below</a>)</li>
<li>Save and close the editor</li>
</ul>
<p><a name="edithost"></a></p>
<h3>Edit host file</h3>
<p>This part is basically the same for all 3 system. The hosts file is extremely simple. It is just an ip address and a domain name separated by a space or tab</p>
<p>
You should have something like this in the file (at the very least) this is connecting the loop back ip to the localhost host name.</p>
<p>127.0.0.1 &nbsp;&nbsp;&nbsp; localhost</p>
<p>You can associate any domain you want to any IP address and your computer will listen to your host file first before the outside world. For example if you wanted google.com to take you to my site you&#39;d do the following.</p>
<p>74.84.131.77 &nbsp;&nbsp;&nbsp; google.com</p>
<p>If my server was set up to understand requests for google.com you would see my site. Instead you&#39;ll see our site not found page.
</p>
<h3>Conclusion</h3>
<p>
Once you&#39;ve completed these steps you should be able to go to your web browser and enter the old site domain and have it pointed (just on your computer) to the new server. This will allow you to fully test the site before updating the domain / dns settings for the rest of the world to see.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fitslennysfault.com%2Ftesting-live-sites-before-switching-dns-pointing-the-domain-name&amp;title=Testing%20live%20sites%20before%20switching%20DNS%20%2F%20pointing%20the%20domain%20name" id="wpa2a_18"><img src="http://itslennysfault.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://itslennysfault.com/testing-live-sites-before-switching-dns-pointing-the-domain-name/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flush DNS cache</title>
		<link>http://itslennysfault.com/flush-dns-cache</link>
		<comments>http://itslennysfault.com/flush-dns-cache#comments</comments>
		<pubDate>Sat, 07 May 2011 17:48:43 +0000</pubDate>
		<dc:creator>Lenny</dc:creator>
				<category><![CDATA[Quick Tips]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[dns cache]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://itslennysfault.com/?p=381</guid>
		<description><![CDATA[Most (if not all) modern operating systems keep a local DNS cache some are pretty good at keeping them updated some aren&#39;t. Either way from time to time when making DNS changes it is useful to know how to clear your DNS cache. This is just a quick reference of how to clear DNS cache [...]]]></description>
			<content:encoded><![CDATA[<p>Most (if not all) modern operating systems keep a local DNS cache some are pretty good at keeping them updated some aren&#39;t. Either way from time to time when making DNS changes it is useful to know how to clear your DNS cache. This is just a quick reference of how to clear DNS cache on several popular operating systems.</p>
<p><span id="more-381"></span></p>
<h3>Mac OS X 10.5 and after (leopard)</h3>
<p>lookupd -flushcache</p>
<h3>Mac OS X 10.4 and before (tiger)</h3>
<p>lookupd -flushcache</p>
<h3>Windows</h3>
<p>ipconfig /flushdns</p>
<h3>Linux</h3>
<p>Depending on your distro and configuration one of the following should work fine. Don&#39;t worry regardless of your setup all of these command should be safe they just might not do anything.</p>
<p>/etc/init.d/nscd restart</p>
<p>service nscd restart</p>
<p>/etc/init.d/named restart</p>
<p>/etc/init.d/dnsmasq restart</p>
<p>nscd -i hosts</p>
<p>/etc/init.d/networking restart</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fitslennysfault.com%2Fflush-dns-cache&amp;title=Flush%20DNS%20cache" id="wpa2a_20"><img src="http://itslennysfault.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://itslennysfault.com/flush-dns-cache/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

