
<?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>Od3n (dot) Net</title>
	<atom:link href="http://od3n.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://od3n.net</link>
	<description>The Blog of Salahuddin Hairai</description>
	<lastBuildDate>Thu, 24 Apr 2014 12:45:57 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.4.2</generator>
	<item>
		<title>Installing Node.js via Package Manager</title>
		<link>http://od3n.net/installing-node-js-via-package-manager/</link>
		<pubDate>Fri, 15 Jun 2012 03:15:15 +0000</pubDate>
		<dc:creator><![CDATA[od3n]]></dc:creator>
				<category><![CDATA[Ubuntu Server]]></category>

		<guid isPermaLink="false">http://od3n.net/?p=1074</guid>
		<description><![CDATA[sudo apt-get install python-software-properties sudo apt-add-repository ppa:chris-lea/node.js sudo apt-get update sudo apt-get install nodejs npm It installs current stable Node on the current stable ubuntu. If you want to compile Node C++ modules: sudo apt-get install nodejs-dev Or configure shell script for install node.js using http://apptob.org]]></description>
				<content:encoded><![CDATA[<pre><code>sudo apt-get install python-software-properties</code></pre>
<pre><code>sudo apt-add-repository ppa:chris-lea/node.js</code></pre>
<pre><code>sudo apt-get update</code></pre>
<pre><code>sudo apt-get install nodejs npm </code></pre>
<p>It installs current stable Node on the current stable ubuntu.</p>
<p>If you want to compile Node C++ modules:</p>
<pre><code>sudo apt-get install nodejs-dev </code></pre>
<p>Or configure shell script for install node.js using <a href="http://apptob.org/">http://apptob.org</a></p>
]]></content:encoded>
			</item>
		<item>
		<title>List installed gems</title>
		<link>http://od3n.net/list-installed-gems/</link>
		<pubDate>Mon, 30 Apr 2012 16:44:48 +0000</pubDate>
		<dc:creator><![CDATA[od3n]]></dc:creator>
				<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://od3n.net/?p=1057</guid>
		<description><![CDATA[How do I know what gems are installed on my machine? The command &#8220;gem list&#8221; will list all gems whose name starts with the given string. If no string is provided, all gems are listed. Example command: $ gem list act Command line response: *** LOCAL GEMS *** actionmailer (2.2.2) actionpack (2.2.2) activerecord (2.2.2) activeresource [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>How do I know what gems are installed on my machine?</p>
<p>The command &#8220;gem list&#8221; will list all gems whose name starts with the given string. If no string is provided, all gems are listed.</p>
<p>Example command:</p>
<pre class="theme:phiphou lang:sh decode:true">$ gem list act</pre>
<p>Command line response:</p>
<p>*** LOCAL GEMS ***</p>
<p>actionmailer (2.2.2)<br />
actionpack (2.2.2)<br />
activerecord (2.2.2)<br />
activeresource (2.2.2)<br />
activesupport (2.2.2)</p>
]]></content:encoded>
			</item>
		<item>
		<title>How to Get Your Facebook Application Access Token</title>
		<link>http://od3n.net/how-to-get-your-facebook-application-access-token/</link>
		<pubDate>Fri, 27 Apr 2012 01:55:26 +0000</pubDate>
		<dc:creator><![CDATA[od3n]]></dc:creator>
				<category><![CDATA[Facebook]]></category>

		<guid isPermaLink="false">http://od3n.net/?p=1052</guid>
		<description><![CDATA[I recently needed to create some test Facebook users, but ran into a problem when I needed to get my application’s access token. So I ended up searching a bit and experimenting, and it’s simple. Turns out all you need is your application id and secret, which is right there on your application profile page [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>I recently needed to create some <a title="Facebook Test User API" href="https://developers.facebook.com/docs/test_users/" target="_blank">test Facebook users</a>, but ran into a problem when I needed to get my application’s access token. So I ended up searching a bit and experimenting, and it’s simple. Turns out all you need is your application id and secret, which is right there on your application profile page (if your the developer for it). Then you just hit the oauth/authorize endpoint of the graph API, and you get back the access token:</p>
<p><code><br />
curl "https://graph.facebook.com/oauth/access_token<br />
?grant_type=client_credentials<br />
&amp;client_id=11111111<br />
&amp;client_secret=9999999999"<br />
</code></p>
<p><strong>When You Need An Application Access Token</strong><br />
You need to use a Facebook application access token when you have a process that acts on behalf of the application, rather than on behalf of a particular user. This happens when you access your Facebook Insights data for your app via the graph, and also when you want to create test Facebook users for your app.</p>
]]></content:encoded>
			</item>
		<item>
		<title>Restore Iptables Rules in Ubuntu</title>
		<link>http://od3n.net/restore-iptables-rules-in-ubuntu/</link>
		<pubDate>Sun, 22 Apr 2012 14:54:54 +0000</pubDate>
		<dc:creator><![CDATA[od3n]]></dc:creator>
				<category><![CDATA[Ubuntu Server]]></category>

		<guid isPermaLink="false">http://od3n.net/?p=1046</guid>
		<description><![CDATA[$ iptables-restore < /home/user/working.iptables.rules]]></description>
				<content:encoded><![CDATA[<p><code><br />
$ iptables-restore < /home/user/working.iptables.rules
</code></code></p>
]]></content:encoded>
			</item>
		<item>
		<title>Save Iptables Rules in Ubuntu</title>
		<link>http://od3n.net/save-iptables-rules-in-ubuntu/</link>
		<pubDate>Sun, 22 Apr 2012 14:50:56 +0000</pubDate>
		<dc:creator><![CDATA[od3n]]></dc:creator>
				<category><![CDATA[Ubuntu Server]]></category>

		<guid isPermaLink="false">http://od3n.net/?p=1041</guid>
		<description><![CDATA[$ iptables-save > /home/user/working.iptables.rules]]></description>
				<content:encoded><![CDATA[<p><code><br />
$ iptables-save > /home/user/working.iptables.rules<br />
</code></p>
]]></content:encoded>
			</item>
	</channel>
</rss>
