<?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>lalit.org &#187; code</title>
	<atom:link href="http://www.lalit.org/tag/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lalit.org</link>
	<description>greater than 0, less than 1</description>
	<lastBuildDate>Wed, 02 May 2012 13:34:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>MySQL Union is column name and data-type agnostic</title>
		<link>http://www.lalit.org/lab/mysql-union-is-column-name-and-data-type-agnostic/</link>
		<comments>http://www.lalit.org/lab/mysql-union-is-column-name-and-data-type-agnostic/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 05:30:05 +0000</pubDate>
		<dc:creator>Lalit</dc:creator>
				<category><![CDATA[lab]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.lalit.org/?p=653</guid>
		<description><![CDATA[I stumbled upon a rare care while working on one of my projects. The data in one of my variables in PHP was being jumbled up. It took an hour of debugging my PHP code till I realized the the &#8230; <a href="http://www.lalit.org/lab/mysql-union-is-column-name-and-data-type-agnostic/">more <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.lalit.org/lab/mysql-union-is-column-name-and-data-type-agnostic/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Greedy Regular Expressions</title>
		<link>http://www.lalit.org/lab/how-to-disable-greedy-mode-regular-expressions/</link>
		<comments>http://www.lalit.org/lab/how-to-disable-greedy-mode-regular-expressions/#comments</comments>
		<pubDate>Tue, 20 Dec 2011 10:15:38 +0000</pubDate>
		<dc:creator>Lalit</dc:creator>
				<category><![CDATA[lab]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.lalit.org/?p=629</guid>
		<description><![CDATA[By default the pattern matching in regular expressions is greedy in nature. The regex engine will try to match the largest string possible for the given expression rather than the first smallest match, which may not be desired behavior every &#8230; <a href="http://www.lalit.org/lab/how-to-disable-greedy-mode-regular-expressions/">more <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.lalit.org/lab/how-to-disable-greedy-mode-regular-expressions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Base62: Convert a number to base 62 for short URLs in PHP</title>
		<link>http://www.lalit.org/lab/base62-php-convert-number-to-base-62-for-short-urls/</link>
		<comments>http://www.lalit.org/lab/base62-php-convert-number-to-base-62-for-short-urls/#comments</comments>
		<pubDate>Thu, 08 Dec 2011 11:39:20 +0000</pubDate>
		<dc:creator>Lalit</dc:creator>
				<category><![CDATA[lab]]></category>
		<category><![CDATA[base62]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[url]]></category>

		<guid isPermaLink="false">http://www.lalit.org/?p=611</guid>
		<description><![CDATA[Base62 is a PHP class to convert a number to and from any base between 2-62. There is no native function in PHP to convert upto base 62. The native function base_convert converts numbers upto base 36, ie. using 0-9 &#8230; <a href="http://www.lalit.org/lab/base62-php-convert-number-to-base-62-for-short-urls/">more <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.lalit.org/lab/base62-php-convert-number-to-base-62-for-short-urls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XML2Array: Convert XML to Array in PHP</title>
		<link>http://www.lalit.org/lab/convert-xml-to-array-in-php-xml2array/</link>
		<comments>http://www.lalit.org/lab/convert-xml-to-array-in-php-xml2array/#comments</comments>
		<pubDate>Wed, 07 Dec 2011 15:27:04 +0000</pubDate>
		<dc:creator>Lalit</dc:creator>
				<category><![CDATA[lab]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[xml]]></category>
		<category><![CDATA[xml2array]]></category>

		<guid isPermaLink="false">http://www.lalit.org/?p=592</guid>
		<description><![CDATA[XML2Array is a class to convert XML to an array in PHP. It returns an array which can be converted back to XML using the Array2XML class. It can take a string XML as input or an object of type &#8230; <a href="http://www.lalit.org/lab/convert-xml-to-array-in-php-xml2array/">more <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.lalit.org/lab/convert-xml-to-array-in-php-xml2array/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Array2XML: convert PHP Array to XML (with attributes and CDATA)</title>
		<link>http://www.lalit.org/lab/convert-php-array-to-xml-with-attributes/</link>
		<comments>http://www.lalit.org/lab/convert-php-array-to-xml-with-attributes/#comments</comments>
		<pubDate>Sun, 10 Jul 2011 16:44:28 +0000</pubDate>
		<dc:creator>Lalit</dc:creator>
				<category><![CDATA[lab]]></category>
		<category><![CDATA[array2xml]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.lalit.org/?p=513</guid>
		<description><![CDATA[Array2XML is a class to convert an array in PHP to XML. It allows you to parse a multidimensional array into XML including attributes unlike other scripts available on the internet. It returns the XML in form of DOMDocument object &#8230; <a href="http://www.lalit.org/lab/convert-php-array-to-xml-with-attributes/">more <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.lalit.org/lab/convert-php-array-to-xml-with-attributes/feed/</wfw:commentRss>
		<slash:comments>45</slash:comments>
		</item>
		<item>
		<title>Getting most out of Amazon S3</title>
		<link>http://www.lalit.org/lab/setting-cache-headers-files-in-amazon-s3/</link>
		<comments>http://www.lalit.org/lab/setting-cache-headers-files-in-amazon-s3/#comments</comments>
		<pubDate>Sun, 02 Nov 2008 10:19:35 +0000</pubDate>
		<dc:creator>Lalit</dc:creator>
				<category><![CDATA[lab]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[s3]]></category>

		<guid isPermaLink="false">http://www.lalit.org/?p=259</guid>
		<description><![CDATA[Amazon S3 is a very useful service. S3, according to the official Amazon Web Services website is Amazon S3 is storage for the Internet. It is designed to make web-scale computing easier for developers. Its a no frills service and &#8230; <a href="http://www.lalit.org/lab/setting-cache-headers-files-in-amazon-s3/">more <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.lalit.org/lab/setting-cache-headers-files-in-amazon-s3/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Powerpoint / Slideshow Karaoke</title>
		<link>http://www.lalit.org/lab/powerpoint-slideshow-karaoke/</link>
		<comments>http://www.lalit.org/lab/powerpoint-slideshow-karaoke/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 13:43:21 +0000</pubDate>
		<dc:creator>Lalit</dc:creator>
				<category><![CDATA[lab]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[karaoke]]></category>
		<category><![CDATA[slideshare]]></category>
		<category><![CDATA[slideshow]]></category>

		<guid isPermaLink="false">http://www.lalit.org/?p=239</guid>
		<description><![CDATA[Last year while I was at SlideShare.net, me and my friends were thinking of some cool ways to use our API. At the same time we were checking out emails from our users about how they are using sideshows in &#8230; <a href="http://www.lalit.org/lab/powerpoint-slideshow-karaoke/">more <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.lalit.org/lab/powerpoint-slideshow-karaoke/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cookie Jar: Yummy JSON Cookies (using Prototype)</title>
		<link>http://www.lalit.org/lab/jsoncookies/</link>
		<comments>http://www.lalit.org/lab/jsoncookies/#comments</comments>
		<pubDate>Thu, 12 Apr 2007 07:09:16 +0000</pubDate>
		<dc:creator>Lalit</dc:creator>
				<category><![CDATA[lab]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[cookies]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[prototype]]></category>

		<guid isPermaLink="false">http://www.lalit.org/?p=20</guid>
		<description><![CDATA[JavaScript code to store data as JSON strings in cookies. It uses prototype.js to store and retrieve JSON data from cookies. Now we can store and retrieve JavaScript Objects, Arrays, Boolean, String, Number values using cookies, just like storing Java &#8230; <a href="http://www.lalit.org/lab/jsoncookies/">more <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.lalit.org/lab/jsoncookies/feed/</wfw:commentRss>
		<slash:comments>36</slash:comments>
		</item>
		<item>
		<title>JavaScript/CSS Font Detector</title>
		<link>http://www.lalit.org/lab/javascript-css-font-detect/</link>
		<comments>http://www.lalit.org/lab/javascript-css-font-detect/#comments</comments>
		<pubDate>Sat, 10 Mar 2007 05:49:58 +0000</pubDate>
		<dc:creator>Lalit</dc:creator>
				<category><![CDATA[lab]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[typography]]></category>

		<guid isPermaLink="false">http://www.orissabiz.com/?p=10</guid>
		<description><![CDATA[JavaScript code to detect available availability of a particular font in a browser using JavaScript and CSS. Update: I have updated the algo of the script and it is almost 100% accurate. This JavaScript class can be used to guess &#8230; <a href="http://www.lalit.org/lab/javascript-css-font-detect/">more <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.lalit.org/lab/javascript-css-font-detect/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Snake (Game)</title>
		<link>http://www.lalit.org/lab/snake-game/</link>
		<comments>http://www.lalit.org/lab/snake-game/#comments</comments>
		<pubDate>Tue, 07 Sep 2004 10:32:32 +0000</pubDate>
		<dc:creator>Lalit</dc:creator>
				<category><![CDATA[lab]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[snake]]></category>

		<guid isPermaLink="false">http://www.lalit.org/?p=211</guid>
		<description><![CDATA[Snake is a tiny game that I made in my computer lab while learning C. This is quite similar to the one found in &#8216;Nokia&#8217; mobile phones and others. Download: Snake (122 kb, with source code)]]></description>
		<wfw:commentRss>http://www.lalit.org/lab/snake-game/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

