<?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>all your code are belong to us</title>
	<atom:link href="http://allurcode.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://allurcode.com</link>
	<description>and all my code are belong to you</description>
	<lastBuildDate>Thu, 19 Jan 2012 20:33:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>The future of Internet in the eyes of Roger McNamee</title>
		<link>http://allurcode.com/2012/01/19/the-future-of-internet-in-the-eyes-of-roger-mcnamee/</link>
		<comments>http://allurcode.com/2012/01/19/the-future-of-internet-in-the-eyes-of-roger-mcnamee/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 20:33:59 +0000</pubDate>
		<dc:creator>6bytes</dc:creator>
				<category><![CDATA[Self development]]></category>
		<category><![CDATA[future]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[Roger McNamee]]></category>

		<guid isPermaLink="false">http://allurcode.com/?p=723</guid>
		<description><![CDATA[At first I was a bit sceptical but later on he actually makes sense.]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>At first I was a bit sceptical but later on he actually makes sense.</p>
<p><iframe src="http://www.youtube.com/embed/aR6jLD1USW0?rel=0" frameborder="0" width="640" height="360"></iframe></p>
<div class="shr-publisher-723"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cCUzQSUyRiUyRmFsbHVyY29kZS5jb20lMkYyMDEyJTJGMDElMkYxOSUyRnRoZS1mdXR1cmUtb2YtaW50ZXJuZXQtaW4tdGhlLWV5ZXMtb2Ytcm9nZXItbWNuYW1lZSUyRg==" data-shr_title='The+future+of+Internet+in+the+eyes+of+Roger+McNamee'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cCUzQSUyRiUyRmFsbHVyY29kZS5jb20lMkYyMDEyJTJGMDElMkYxOSUyRnRoZS1mdXR1cmUtb2YtaW50ZXJuZXQtaW4tdGhlLWV5ZXMtb2Ytcm9nZXItbWNuYW1lZSUyRg==" data-shr_title='The+future+of+Internet+in+the+eyes+of+Roger+McNamee'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic --> <img src="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=723" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://allurcode.com/2012/01/19/the-future-of-internet-in-the-eyes-of-roger-mcnamee/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Add Google AdSense to WordPress without plugins</title>
		<link>http://allurcode.com/2012/01/15/add-google-adsense-to-wordpress-without-plugins/</link>
		<comments>http://allurcode.com/2012/01/15/add-google-adsense-to-wordpress-without-plugins/#comments</comments>
		<pubDate>Sun, 15 Jan 2012 20:25:00 +0000</pubDate>
		<dc:creator>6bytes</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[adsense]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[google adsense]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://allurcode.com/?p=718</guid>
		<description><![CDATA[I wanted to add Google AdSense to my blog just to see how easy it is to do. I&#8217;ve googled a bit and found a handful of plugins that claim to do it all for you. I couldn&#8217;t decide which one to choose and started thinking from a different angle. It turns out that you [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>I wanted to add Google AdSense to my blog just to see how easy it is to do. I&#8217;ve googled a bit and found a handful of plugins that claim to do it all for you. I couldn&#8217;t decide which one to choose and started thinking from a different angle. It turns out that you don&#8217;t need any plugins to install Google AdSense on your site and what&#8217;s most important <strong>you don&#8217;t even need any programming knowledge</strong>! The whole process will take you no more than 5 minutes.</p>
<ol>
<li>Log in to your blog&#8217;s admin panel.</li>
<li>Click on <strong>Appearance.</strong></li>
<li>Click on <strong>Widgets.</strong></li>
<li>Find a <strong>Text</strong> widget and drag it to the <strong>Sidebar</strong> (or any other place where you want the AdSesnse to appear).</li>
<li>Enter title. I&#8217;ve used &#8220;Interesting Links&#8221;.</li>
<li>Paste your Google AdSense code into widget&#8217;s content area. My code looks like this:
<pre class="brush: jscript; title: ; notranslate">
&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-4589490261258499&quot;;
/* allurcode */
google_ad_slot = &quot;2642741863&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;
</pre>
</li>
<li>Click <strong>Save</strong>.</li>
</ol>
<p>That&#8217;s it, we&#8217;re done! Go to your blog&#8217;s homepage and smile <img src='http://allurcode.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Note. Allow a few minutes for Google to create the adds before they actually show up.</p>
<div class="shr-publisher-718"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cCUzQSUyRiUyRmFsbHVyY29kZS5jb20lMkYyMDEyJTJGMDElMkYxNSUyRmFkZC1nb29nbGUtYWRzZW5zZS10by13b3JkcHJlc3Mtd2l0aG91dC1wbHVnaW5zJTJG" data-shr_title='Add+Google+AdSense+to+WordPress+without+plugins'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cCUzQSUyRiUyRmFsbHVyY29kZS5jb20lMkYyMDEyJTJGMDElMkYxNSUyRmFkZC1nb29nbGUtYWRzZW5zZS10by13b3JkcHJlc3Mtd2l0aG91dC1wbHVnaW5zJTJG" data-shr_title='Add+Google+AdSense+to+WordPress+without+plugins'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic --> <img src="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=718" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://allurcode.com/2012/01/15/add-google-adsense-to-wordpress-without-plugins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Developer&#8217;s Toolkit [infographic]</title>
		<link>http://allurcode.com/2011/12/27/the-developers-toolkit-infographic/</link>
		<comments>http://allurcode.com/2011/12/27/the-developers-toolkit-infographic/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 12:00:15 +0000</pubDate>
		<dc:creator>6bytes</dc:creator>
				<category><![CDATA[Infographic]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[toolkit]]></category>

		<guid isPermaLink="false">http://allurcode.com/?p=711</guid>
		<description><![CDATA[What tools today&#8217;s web developers are using. Infographic by BestVendor.]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>What tools today&#8217;s web developers are using.</p>
<p><a href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FsbHVyY29kZS5jb20vd3AtY29udGVudC91cGxvYWRzLzIwMTEvMTIvQlYtRGV2ZWxvcGVyLUluZm9ncmFwaGljLmpwZw=="><img class="aligncenter size-full wp-image-712" title="BV Developer Infographic" src="http://allurcode.com/wp-content/uploads/2011/12/BV-Developer-Infographic.jpg" alt="" width="890" height="2737" /></a></p>
<p>Infographic by <a href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iZXN0dmVuZG9yLmNvbS8=" target=\"_blank\">BestVendor</a>.</p>
<div class="shr-publisher-711"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cCUzQSUyRiUyRmFsbHVyY29kZS5jb20lMkYyMDExJTJGMTIlMkYyNyUyRnRoZS1kZXZlbG9wZXJzLXRvb2xraXQtaW5mb2dyYXBoaWMlMkY=" data-shr_title='The+Developer%27s+Toolkit+%5Binfographic%5D'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cCUzQSUyRiUyRmFsbHVyY29kZS5jb20lMkYyMDExJTJGMTIlMkYyNyUyRnRoZS1kZXZlbG9wZXJzLXRvb2xraXQtaW5mb2dyYXBoaWMlMkY=" data-shr_title='The+Developer%27s+Toolkit+%5Binfographic%5D'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic --> <img src="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=711" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://allurcode.com/2011/12/27/the-developers-toolkit-infographic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hot off the workshop vol. 3</title>
		<link>http://allurcode.com/2011/12/27/hot-off-the-workshop-vol-3/</link>
		<comments>http://allurcode.com/2011/12/27/hot-off-the-workshop-vol-3/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 11:41:55 +0000</pubDate>
		<dc:creator>6bytes</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[Homesense]]></category>
		<category><![CDATA[TK Maxx]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://allurcode.com/?p=701</guid>
		<description><![CDATA[Not so &#8220;hot&#8221; as the site has been built a few months ago but still worth showing. Full HTML5 site on HTML5 Boilerpate and Kohana framework. Custom fonts using CSS @font-face with fallback to JavaScript cufon.]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5ob21lc2Vuc2UuY29tLw==" target=\"_blank\"><img class="aligncenter size-full wp-image-704" title="Home Sense" src="http://allurcode.com/wp-content/uploads/2011/12/homesense.jpg" alt="Home Sense" width="890" height="671" /></a></p>
<p>Not so &#8220;hot&#8221; as the site has been built a few months ago <img src='http://allurcode.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  but still worth showing.</p>
<p>Full HTML5 site on <a href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2h0bWw1Ym9pbGVycGxhdGUuY29tLw==" target=\"_blank\">HTML5 Boilerpate</a> and <a href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2tvaGFuYWZyYW1ld29yay5vcmcv" target=\"_blank\">Kohana</a> framework. Custom fonts using CSS @font-face with fallback to JavaScript <a href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2N1Zm9uLnNob3FvbGF0ZS5jb20vZ2VuZXJhdGUv" target=\"_blank\">cufon</a>.</p>
<div class="shr-publisher-701"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cCUzQSUyRiUyRmFsbHVyY29kZS5jb20lMkYyMDExJTJGMTIlMkYyNyUyRmhvdC1vZmYtdGhlLXdvcmtzaG9wLXZvbC0zJTJG" data-shr_title='Hot+off+the+workshop+vol.+3'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cCUzQSUyRiUyRmFsbHVyY29kZS5jb20lMkYyMDExJTJGMTIlMkYyNyUyRmhvdC1vZmYtdGhlLXdvcmtzaG9wLXZvbC0zJTJG" data-shr_title='Hot+off+the+workshop+vol.+3'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic --> <img src="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=701" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://allurcode.com/2011/12/27/hot-off-the-workshop-vol-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Triangle</title>
		<link>http://allurcode.com/2011/10/31/css-triangle/</link>
		<comments>http://allurcode.com/2011/10/31/css-triangle/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 21:58:17 +0000</pubDate>
		<dc:creator>6bytes</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[triangle]]></category>

		<guid isPermaLink="false">http://allurcode.com/?p=640</guid>
		<description><![CDATA[Really simple triangles working in all major browsers including IE6+ HTML No surprises here. Our HTML is as simple as that. CSS The trick is to create an element with zero width and height. The actual size will be determined by the element&#8217;s borders. For example up arrow has top and bottom borders set as [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Really simple triangles working in all major browsers including IE6+</p>
<h1>HTML</h1>
<p>No surprises here. Our HTML is as simple as that.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;div class=&quot;arrow_top&quot;&gt;&lt;/div&gt;
&lt;div class=&quot;arrow_right&quot;&gt;&lt;/div&gt;
&lt;div class=&quot;arrow_bottom&quot;&gt;&lt;/div&gt;
&lt;div class=&quot;arrow_right&quot;&gt;&lt;/div&gt;
</pre>
<h1>CSS</h1>
<p>The trick is to create an element with zero width and height. The actual size will be determined by the element&#8217;s borders. For example up arrow has top and bottom borders set as transparent and the left border with a solid colour. Imagine it as drawing an arrow where its pointing corner is our zero dimensions div element.</p>
<h1>Demo</h1>
<style>
.arrow_top {
	width:0;
	height:0;
	border-left:30px solid transparent;
	border-right:30px solid transparent;
	border-bottom:30px solid #ff9600;
	margin-bottom:10px;
}
.arrow_right {
	width:0;
	height:0;
	border-top:30px solid transparent;
	border-bottom:30px solid transparent;
	border-left:30px solid #ff9600;
	margin-bottom:10px;
}
.arrow_bottom {
	width:0;
	height:0;
	border-left:30px solid transparent;
	border-right:30px solid transparent;
	border-top:30px solid #ff9600;
	margin-bottom:10px;
}
.arrow_left {
	width:0;
	height:0;
	border-top:30px solid transparent;
	border-bottom:30px solid transparent;
	border-right:30px solid #ff9600;
	margin-bottom:10px;
}
.arrow_top_filled {
	width:5px;
	height:5px;
	border-left:30px solid #222;
	border-right:30px solid #222;
	border-bottom:30px solid #ff9600;
	margin-bottom:10px;
}
.arrow_top_right {
	width:0;
	height:0;
	border-bottom:30px solid transparent;
	border-left:30px solid transparent;
	border-right:30px solid #ff9600;
	margin-bottom:10px;
}
</style>
<h3>Arrow top</h3>
<div class="arrow_top"></div>
<pre class="brush: css; title: ; notranslate">
.arrow_top {
	width:0;
	height:0;
	border-top:30px solid transparent;
	border-bottom:30px solid transparent;
	border-left:30px solid #ff9600;
}
</pre>
<h3>Arrow right</h3>
<div class="arrow_right"></div>
<pre class="brush: css; title: ; notranslate">
.arrow_right {
	width:0;
	height:0;
	border-top:30px solid transparent;
	border-bottom:30px solid transparent;
	border-left:30px solid #ff9600;
	margin-bottom:10px;
}
</pre>
<h3>Arrow bottom</h3>
<div class="arrow_bottom"></div>
<pre class="brush: css; title: ; notranslate">
.arrow_bottom {
	width:0;
	height:0;
	border-left:30px solid transparent;
	border-right:30px solid transparent;
	border-top:30px solid #ff9600;
	margin-bottom:10px;
}
</pre>
<h3>Arrow left</h3>
<div class="arrow_left"></div>
<pre class="brush: css; title: ; notranslate">
.arrow_left {
	width:0;
	height:0;
	border-top:30px solid transparent;
	border-bottom:30px solid transparent;
	border-right:30px solid #ff9600;
	margin-bottom:10px;
}
</pre>
<h3>Arrow top with non transparent borders and pointing corner is a 5px / 5px div</h3>
<div class="arrow_top_filled"></div>
<pre class="brush: css; title: ; notranslate">
.arrow_top_filled {
	width:5px;
	height:5px;
	border-left:30px solid #222;
	border-right:30px solid #222;
	border-bottom:30px solid #ff9600;
	margin-bottom:10px;
}
</pre>
<h3>Arrow top right</h3>
<div class="arrow_top_right"></div>
<pre class="brush: css; title: ; notranslate">
.arrow_top_right {
	width:0;
	height:0;
	border-bottom:30px solid transparent;
	border-left:30px solid transparent;
	border-right:30px solid #ff9600;
	margin-bottom:10px;
}
</pre>
<div class="shr-publisher-640"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cCUzQSUyRiUyRmFsbHVyY29kZS5jb20lMkYyMDExJTJGMTAlMkYzMSUyRmNzcy10cmlhbmdsZSUyRg==" data-shr_title='CSS+Triangle'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cCUzQSUyRiUyRmFsbHVyY29kZS5jb20lMkYyMDExJTJGMTAlMkYzMSUyRmNzcy10cmlhbmdsZSUyRg==" data-shr_title='CSS+Triangle'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic --> <img src="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=640" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://allurcode.com/2011/10/31/css-triangle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bill Gates vs Steve Jobs inforgaphic</title>
		<link>http://allurcode.com/2011/09/26/bill-gates-vs-steve-jobs-inforgaphic/</link>
		<comments>http://allurcode.com/2011/09/26/bill-gates-vs-steve-jobs-inforgaphic/#comments</comments>
		<pubDate>Mon, 26 Sep 2011 13:30:54 +0000</pubDate>
		<dc:creator>6bytes</dc:creator>
				<category><![CDATA[Infographic]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Bill Gates]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Steve Jobs]]></category>

		<guid isPermaLink="false">http://allurcode.com/?p=643</guid>
		<description><![CDATA[If you want to see the original post, please go to WebDesignShock.]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div style="align:center">
<a href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3dlYmRlc2lnbnNob2NrLmNvbS9zdGV2ZS1qb2JzLXZzLWJpbGwtZ2F0ZXMv"><img src="http://www.webdesignshock.com/wp-content/uploads/2011/09/steve-jobs-vs-bill-gates.png" title="Bill Gates VS Steve Jobs Infographic by WebDesignShock"/></a><br />
<br class="dummyClass"/>If you want to see the original post, please go to <a href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3dlYmRlc2lnbnNob2NrLmNvbS9zdGV2ZS1qb2JzLWFuZC1iaWxsLWdhdGVzLWJpb2dyYXBoeS8=">WebDesignShock</a>.</div>
<div class="shr-publisher-643"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cCUzQSUyRiUyRmFsbHVyY29kZS5jb20lMkYyMDExJTJGMDklMkYyNiUyRmJpbGwtZ2F0ZXMtdnMtc3RldmUtam9icy1pbmZvcmdhcGhpYyUyRg==" data-shr_title='Bill+Gates+vs+Steve+Jobs+inforgaphic+'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cCUzQSUyRiUyRmFsbHVyY29kZS5jb20lMkYyMDExJTJGMDklMkYyNiUyRmJpbGwtZ2F0ZXMtdnMtc3RldmUtam9icy1pbmZvcmdhcGhpYyUyRg==" data-shr_title='Bill+Gates+vs+Steve+Jobs+inforgaphic+'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic --> <img src="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=643" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://allurcode.com/2011/09/26/bill-gates-vs-steve-jobs-inforgaphic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nyan Cat Windows progress bar plugin</title>
		<link>http://allurcode.com/2011/07/15/nyan-cat-windows-progress-bar/</link>
		<comments>http://allurcode.com/2011/07/15/nyan-cat-windows-progress-bar/#comments</comments>
		<pubDate>Fri, 15 Jul 2011 21:54:58 +0000</pubDate>
		<dc:creator>6bytes</dc:creator>
				<category><![CDATA[fun]]></category>
		<category><![CDATA[Nyan Cat]]></category>
		<category><![CDATA[progress bar]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://allurcode.com/?p=620</guid>
		<description><![CDATA[If you&#8217;re a big fan of Nyan Cat meme and you have Windows XP or 7 then you should be ecstatic about this. There&#8217;s a plugin that replaces your standard progress bar with a Nyan Cat animation Download and install instructions here]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>If you&#8217;re a big fan of Nyan Cat meme</p>
<p><iframe width="640" height="510" src="http://www.youtube.com/embed/QH2-TGUlwu4" frameborder="0" allowfullscreen></iframe></p>
<p>and you have Windows XP or 7 then you should be ecstatic about this.</p>
<h3>There&#8217;s a plugin that replaces your standard progress bar with a Nyan Cat animation <img src='http://allurcode.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </h3>
<p><a href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5pbnN0YW50ZWxldmF0b3JtdXNpYy5jb20vbnlhbi1jYXQtcHJvZ3Jlc3MtYmFy"><img src="http://allurcode.com/wp-content/uploads/2011/07/PfcFL1.png" alt="" title="Nyan cat progress bar" width="486" height="273" class="aligncenter size-full wp-image-621" /></a></p>
<p>Download and install instructions <a href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5pbnN0YW50ZWxldmF0b3JtdXNpYy5jb20vbnlhbi1jYXQtcHJvZ3Jlc3MtYmFy" title=\"Nyan cat progress bar\" target=\"_blank\">here</a></p>
<div class="shr-publisher-620"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cCUzQSUyRiUyRmFsbHVyY29kZS5jb20lMkYyMDExJTJGMDclMkYxNSUyRm55YW4tY2F0LXdpbmRvd3MtcHJvZ3Jlc3MtYmFyJTJG" data-shr_title='Nyan+Cat+Windows+progress+bar+plugin'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cCUzQSUyRiUyRmFsbHVyY29kZS5jb20lMkYyMDExJTJGMDclMkYxNSUyRm55YW4tY2F0LXdpbmRvd3MtcHJvZ3Jlc3MtYmFyJTJG" data-shr_title='Nyan+Cat+Windows+progress+bar+plugin'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic --> <img src="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=620" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://allurcode.com/2011/07/15/nyan-cat-windows-progress-bar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Check if a page is loaded in an iframe</title>
		<link>http://allurcode.com/2011/06/30/check-if-a-page-is-loaded-in-an-iframe/</link>
		<comments>http://allurcode.com/2011/06/30/check-if-a-page-is-loaded-in-an-iframe/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 18:20:45 +0000</pubDate>
		<dc:creator>6bytes</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[iframe]]></category>
		<category><![CDATA[redirect]]></category>
		<category><![CDATA[window]]></category>

		<guid isPermaLink="false">http://allurcode.com/?p=614</guid>
		<description><![CDATA[Just a quick tip, how to check if current page has been loaded in an iframe or was it accessed directly. That&#8217;s it.]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Just a quick tip, how to check if current page has been loaded in an iframe or was it accessed directly.</p>
<pre class="brush: jscript; title: ; notranslate">
if (window.self === window.top) {
    // we're NOT in an iframe
} else {
    // we're in an iframe
}
</pre>
<p>That&#8217;s it.</p>
<div class="shr-publisher-614"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cCUzQSUyRiUyRmFsbHVyY29kZS5jb20lMkYyMDExJTJGMDYlMkYzMCUyRmNoZWNrLWlmLWEtcGFnZS1pcy1sb2FkZWQtaW4tYW4taWZyYW1lJTJG" data-shr_title='Check+if+a+page+is+loaded+in+an+iframe'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cCUzQSUyRiUyRmFsbHVyY29kZS5jb20lMkYyMDExJTJGMDYlMkYzMCUyRmNoZWNrLWlmLWEtcGFnZS1pcy1sb2FkZWQtaW4tYW4taWZyYW1lJTJG" data-shr_title='Check+if+a+page+is+loaded+in+an+iframe'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic --> <img src="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=614" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://allurcode.com/2011/06/30/check-if-a-page-is-loaded-in-an-iframe/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Multiple dynamic Facebook like buttons on one page</title>
		<link>http://allurcode.com/2011/06/30/multiple-dynamic-facebook-like-buttons-on-one-page/</link>
		<comments>http://allurcode.com/2011/06/30/multiple-dynamic-facebook-like-buttons-on-one-page/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 12:11:04 +0000</pubDate>
		<dc:creator>6bytes</dc:creator>
				<category><![CDATA[Facebook]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[like button]]></category>

		<guid isPermaLink="false">http://allurcode.com/?p=588</guid>
		<description><![CDATA[Putting one like button on a page is very simple and comes down to pasting the code from Facebook like button generator found here. It gets a bit more complicated when you need to add a few buttons along with a dynamically generated content. Best example would be a search results while every search result [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Putting one like button on a page is very simple and comes down to pasting the code from Facebook like button generator found <a href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2RldmVsb3BlcnMuZmFjZWJvb2suY29tL2RvY3MvcmVmZXJlbmNlL3BsdWdpbnMvbGlrZS8=">here</a>.<br />
It gets a bit more complicated when you need to add a few buttons along with a dynamically generated content. Best example would be a search results while every search result has it&#8217;s own like button.</p>
<h3>Enough talk lets get down to the business</h3>
<h2>Prepare</h2>
<p>Put this somewhere in your page. Let&#8217;s say just before <em>&lt;/body&gt;</em> tag.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;div id=&quot;fb-root&quot;&gt;&lt;/div&gt;
</pre>
<h2>Insert Like buttons</h2>
<pre class="brush: xml; title: ; notranslate">
&lt;fb:like href=&quot;http://example.com&quot; send=&quot;false&quot; layout=&quot;button_count&quot; show_faces=&quot;false&quot;&gt;&lt;/fb:like&gt;
</pre>
<h2>Initialize Like buttons</h2>
<p>In your JavaScript code after inserting all the <em>fb:like</em> tags you need to initialize all those buttons. You can do that but running below code</p>
<pre class="brush: jscript; title: ; notranslate">
	window.fbAsyncInit = function() {
		FB.init({appId: 'your app id', status: true, cookie: true, xfbml: true});
	};
	(function() {
		var e = document.createElement('script'); e.async = true;
		e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
		document.getElementById('fb-root').appendChild(e);
	}());
</pre>
<p>Remember to change &#8216;your app id&#8217; to your actual app id.</p>
<div class="shr-publisher-588"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cCUzQSUyRiUyRmFsbHVyY29kZS5jb20lMkYyMDExJTJGMDYlMkYzMCUyRm11bHRpcGxlLWR5bmFtaWMtZmFjZWJvb2stbGlrZS1idXR0b25zLW9uLW9uZS1wYWdlJTJG" data-shr_title='Multiple+dynamic+Facebook+like+buttons+on+one+page'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cCUzQSUyRiUyRmFsbHVyY29kZS5jb20lMkYyMDExJTJGMDYlMkYzMCUyRm11bHRpcGxlLWR5bmFtaWMtZmFjZWJvb2stbGlrZS1idXR0b25zLW9uLW9uZS1wYWdlJTJG" data-shr_title='Multiple+dynamic+Facebook+like+buttons+on+one+page'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic --> <img src="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=588" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://allurcode.com/2011/06/30/multiple-dynamic-facebook-like-buttons-on-one-page/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MySQL conditional insert</title>
		<link>http://allurcode.com/2011/04/15/mysql-conditional-insert/</link>
		<comments>http://allurcode.com/2011/04/15/mysql-conditional-insert/#comments</comments>
		<pubDate>Fri, 15 Apr 2011 11:30:40 +0000</pubDate>
		<dc:creator>6bytes</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[conditional]]></category>
		<category><![CDATA[insert]]></category>

		<guid isPermaLink="false">http://allurcode.com/?p=41</guid>
		<description><![CDATA[Sometimes I need to insert some values into the database but only when a certain condition is met. The best example is a newsletter sign up. If someone has already signed up to your newsletter don&#8217;t add his email address again. Of course we can run one query to check if this email address already [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Sometimes I need to insert some values into the database but only when a certain condition is met. The best example is a newsletter sign up. If someone has already signed up to your newsletter don&#8217;t add his email address again. Of course we can run one query to check if this email address already exists and if not run another query to save it in our database.<br />
If for any reason you need to do the whole operation in one query things get a little more complicated.</p>
<h2>Two queries</h2>
<p>Lets say we want to insert some data only when field <em>`email`</em> does not equal <em>test@example.com</em><br />
First, select data:</p>
<pre class="brush: sql; title: ; notranslate">SELECT `id` FROM `table` WHERE `email` = 'test@example.com';</pre>
<p>if this email address already exists in our database we can let our users know about it. If no records were returned we can continue to insert new data:</p>
<pre class="brush: sql; title: ; notranslate">INSERT INTO `table` (`email`) VALUES ('test@example.com');</pre>
<h2>One query</h2>
<p>In a way we combine those two queries above into one:</p>
<pre class="brush: sql; title: ; notranslate">
INSERT INTO `table` (`email`)
    SELECT 'test@example.com' FROM DUAL WHERE NOT EXISTS (
        SELECT `id` FROM `table` WHERE `email` = 'test@example.com' LIMIT 1
    );
</pre>
<p>If the subquery doesn&#8217;t return any rows the insert will be carried out. In case of subquery finding this given email address condition is not met and data doesn&#8217;t get inserted.</p>
<div class="shr-publisher-41"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cCUzQSUyRiUyRmFsbHVyY29kZS5jb20lMkYyMDExJTJGMDQlMkYxNSUyRm15c3FsLWNvbmRpdGlvbmFsLWluc2VydCUyRg==" data-shr_title='MySQL+conditional+insert'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cCUzQSUyRiUyRmFsbHVyY29kZS5jb20lMkYyMDExJTJGMDQlMkYxNSUyRm15c3FsLWNvbmRpdGlvbmFsLWluc2VydCUyRg==" data-shr_title='MySQL+conditional+insert'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic --> <img src="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=41" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://allurcode.com/2011/04/15/mysql-conditional-insert/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

