<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Hack Sparrow</title>
	
	<link>http://www.hacksparrow.com</link>
	<description>Node.js and JavaScript Tutor</description>
	<lastBuildDate>Thu, 17 May 2012 13:58:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/HackSparrow" /><feedburner:info uri="hacksparrow" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Base64 Encoding / Decoding in Node.js</title>
		<link>http://feedproxy.google.com/~r/HackSparrow/~3/ww6wbnXoD_U/base64-encoding-decoding-in-node-js.html</link>
		<comments>http://www.hacksparrow.com/base64-encoding-decoding-in-node-js.html#comments</comments>
		<pubDate>Fri, 20 Apr 2012 17:49:52 +0000</pubDate>
		<dc:creator>Captain</dc:creator>
				<category><![CDATA[Node.js]]></category>
		<category><![CDATA[ASCII]]></category>
		<category><![CDATA[Buffer]]></category>
		<category><![CDATA[Encoding]]></category>
		<category><![CDATA[node.js]]></category>
		<category><![CDATA[UTF]]></category>

		<guid isPermaLink="false">http://www.hacksparrow.com/?p=1632</guid>
		<description>So how do you encode a string to base64 is Node.js? Is there something easy like base64_encode() of PHP's?Node.js 'being' JavaScript, has a more logical approach to encoding strings, instead of having thousands of inconsistently defined global functions.Here is how you encode normal text to base64 in Node.js:var b = new Buffer('JavaScript');var s = b.toString('base64');//&lt;a href="http://www.hacksparrow.com/base64-encoding-decoding-in-node-js.html"&gt; ... &amp;#187;&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/HackSparrow/~4/ww6wbnXoD_U" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.hacksparrow.com/base64-encoding-decoding-in-node-js.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.hacksparrow.com/base64-encoding-decoding-in-node-js.html</feedburner:origLink></item>
		<item>
		<title>How to Generate md5, sha1, sha512, sha256 Checksum Hashes in Node.js</title>
		<link>http://feedproxy.google.com/~r/HackSparrow/~3/XqGkPIgyw4Y/how-to-generate-md5-sha1-sha512-sha256-checksum-hashes-in-node-js.html</link>
		<comments>http://www.hacksparrow.com/how-to-generate-md5-sha1-sha512-sha256-checksum-hashes-in-node-js.html#comments</comments>
		<pubDate>Fri, 20 Apr 2012 15:53:10 +0000</pubDate>
		<dc:creator>Captain</dc:creator>
				<category><![CDATA[Node.js]]></category>
		<category><![CDATA[crypto]]></category>
		<category><![CDATA[md5]]></category>
		<category><![CDATA[node.js]]></category>
		<category><![CDATA[sha1]]></category>
		<category><![CDATA[sha256]]></category>
		<category><![CDATA[sha512]]></category>

		<guid isPermaLink="false">http://www.hacksparrow.com/?p=1627</guid>
		<description>Checksums in Node.js are generated using the crypto library's createHash() method. The usage format is this:crypto.createHash(algo)Where algo is the algorithm of your choice - md5, sha1, sha512, sha256 etc. The algorithms supported are entirely dependent on the OpenSSL version on your machine.Here are some examples of generating hashes for string inputs:var crypto = require('crypto');var md5&lt;a href="http://www.hacksparrow.com/how-to-generate-md5-sha1-sha512-sha256-checksum-hashes-in-node-js.html"&gt; ... &amp;#187;&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/HackSparrow/~4/XqGkPIgyw4Y" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.hacksparrow.com/how-to-generate-md5-sha1-sha512-sha256-checksum-hashes-in-node-js.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.hacksparrow.com/how-to-generate-md5-sha1-sha512-sha256-checksum-hashes-in-node-js.html</feedburner:origLink></item>
		<item>
		<title>Node.js compilation error on Ubuntu – Install using apt-get</title>
		<link>http://feedproxy.google.com/~r/HackSparrow/~3/d891dwQp5UM/node-js-compilation-error-on-ubuntu-install-using-apt-get.html</link>
		<comments>http://www.hacksparrow.com/node-js-compilation-error-on-ubuntu-install-using-apt-get.html#comments</comments>
		<pubDate>Wed, 18 Apr 2012 15:54:40 +0000</pubDate>
		<dc:creator>Captain</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Node.js]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[node.js]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.hacksparrow.com/?p=1615</guid>
		<description>This post this written for people who will encounter this mysterious Node.js compilation error.*** glibc detected *** /usr/lib/gcc/i686-linux-gnu/4.6.1/cc1plus: malloc(): smallbin double linked list corrupted: 0x0a4a0eb8 ***.../home/$USER/Downloads/node-v0.6.15/deps/v8/src/ia32/lithium-ia32.cc: In member function 'int v8::internal::HTemplateInstruction::OperandCount() [with int V = 2]':/home/$USER/Downloads/node-v0.6.15/deps/v8/src/ia32/lithium-ia32.cc:2265:3: internal compiler error: AbortedPlease submit a full bug report, with preprocessed source if appropriate.See for instructions.The bug is not&lt;a href="http://www.hacksparrow.com/node-js-compilation-error-on-ubuntu-install-using-apt-get.html"&gt; ... &amp;#187;&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/HackSparrow/~4/d891dwQp5UM" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.hacksparrow.com/node-js-compilation-error-on-ubuntu-install-using-apt-get.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.hacksparrow.com/node-js-compilation-error-on-ubuntu-install-using-apt-get.html</feedburner:origLink></item>
		<item>
		<title>Install Memcached on Mac OS X</title>
		<link>http://feedproxy.google.com/~r/HackSparrow/~3/ow7eGCHYpHM/install-memcached-on-mac-os-x.html</link>
		<comments>http://www.hacksparrow.com/install-memcached-on-mac-os-x.html#comments</comments>
		<pubDate>Wed, 18 Apr 2012 07:18:03 +0000</pubDate>
		<dc:creator>Captain</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Memcached]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://www.hacksparrow.com/?p=1608</guid>
		<description>There are two ways to install memcached on Mac OS X. One is the easy way, the other is the harder but more flexible way.Installation using brew Package ManagerInstalling memcached using brew is the easy way, and it is just a matter of a single command.$ brew install memcachedThere you have memcached installed on your&lt;a href="http://www.hacksparrow.com/install-memcached-on-mac-os-x.html"&gt; ... &amp;#187;&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/HackSparrow/~4/ow7eGCHYpHM" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.hacksparrow.com/install-memcached-on-mac-os-x.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.hacksparrow.com/install-memcached-on-mac-os-x.html</feedburner:origLink></item>
		<item>
		<title>Make Forever.js Reboot-Proof with Cron</title>
		<link>http://feedproxy.google.com/~r/HackSparrow/~3/SBsyn-1d__8/make-forever-reboot-proof-with-cron.html</link>
		<comments>http://www.hacksparrow.com/make-forever-reboot-proof-with-cron.html#comments</comments>
		<pubDate>Tue, 17 Apr 2012 13:19:34 +0000</pubDate>
		<dc:creator>Captain</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Node.js]]></category>
		<category><![CDATA[Cron]]></category>
		<category><![CDATA[crontab]]></category>
		<category><![CDATA[Forever.js]]></category>
		<category><![CDATA[node.js]]></category>

		<guid isPermaLink="false">http://www.hacksparrow.com/?p=1368</guid>
		<description>Start Forever.js on System RestartsSome time ago, I wrote a post on keeping Node.js apps running even after logging out from the shell. It was cool and all, but soon you will soon realize that Forever alone is not enough. Because, on system reboots, Forever itself is killed. Who will restart your app now?There are&lt;a href="http://www.hacksparrow.com/make-forever-reboot-proof-with-cron.html"&gt; ... &amp;#187;&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/HackSparrow/~4/SBsyn-1d__8" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.hacksparrow.com/make-forever-reboot-proof-with-cron.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.hacksparrow.com/make-forever-reboot-proof-with-cron.html</feedburner:origLink></item>
	</channel>
</rss>

