<?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>I-Am-Bot &#187; code</title>
	<atom:link href="http://iambot.net/tag/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://iambot.net</link>
	<description>Code, technology and life</description>
	<lastBuildDate>Tue, 10 Jan 2012 03:40:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Introducing TinyPop</title>
		<link>http://iambot.net/2010/08/introducing-tinypop/</link>
		<comments>http://iambot.net/2010/08/introducing-tinypop/#comments</comments>
		<pubDate>Sat, 28 Aug 2010 11:34:58 +0000</pubDate>
		<dc:creator>Srinath</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://iambot.net/?p=434</guid>
		<description><![CDATA[&#160; TinyPop is a lightweight (1.5 KB minified) JavaScript for Growl like notifications. It can be used as an alternative to jGrowl when you don't want to use jQuery for a simple task. Details Download Demo]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>TinyPop is a lightweight (1.5 KB minified) JavaScript for <a href="http://en.wikipedia.org/wiki/Growl_%28software%29">Growl</a> like notifications. It can be used as an alternative to <a href="http://www.stanlemon.net/projects/jgrowl.html">jGrowl</a> when you don't want to use jQuery for a simple task. </p>
<p><strong><a href="http://iambot.net/projects/tinypop/">Details</a></strong></p>
<p><strong><a href="http://iambot.net/dScript/download.php?fname=./tinypop.zip">Download</a></strong></p>
<p><strong><a href="http://iambot.net/demo/tinypop/">Demo</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://iambot.net/2010/08/introducing-tinypop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>phpUserAuth Released!</title>
		<link>http://iambot.net/2010/07/phpuserauth-released/</link>
		<comments>http://iambot.net/2010/07/phpuserauth-released/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 02:04:13 +0000</pubDate>
		<dc:creator>Srinath</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://iambot.net/?p=426</guid>
		<description><![CDATA[It's finally done! The package is up for grabs, with a quick starter guide. Details Download Demo Please go through the project page for more details! The Readme.txt file inside folder "readme" contains instructions for installation and usage Leave your comments/questions/suggestions on the project page. Out.]]></description>
			<content:encoded><![CDATA[<p>It's finally done! The package is up for grabs, with a quick starter guide.</p>
<p><strong><a href="http://iambot.net/projects/phpuserauth/">Details</a></strong></p>
<p><strong><a href="http://iambot.net/dScript/download.php?fname=./phpuserauth.zip">Download</a></strong></p>
<p><strong><a href="http://iambot.net/demo/phpuserauth/">Demo</a></strong></p>
<p>Please go through the project page for more details!</p>
<p>The Readme.txt file inside folder "readme" contains instructions for installation and usage</p>
<p>Leave your comments/questions/suggestions on the project page.</p>
<p>Out.</p>
]]></content:encoded>
			<wfw:commentRss>http://iambot.net/2010/07/phpuserauth-released/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Introducing phpUserAuth</title>
		<link>http://iambot.net/projects/phpuserauth/</link>
		<comments>http://iambot.net/projects/phpuserauth/#comments</comments>
		<pubDate>Sun, 23 May 2010 03:23:44 +0000</pubDate>
		<dc:creator>Srinath</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://iambot.net/?p=383</guid>
		<description><![CDATA[Update: Please visit the project page for more details After weeks of fighting with myself, I finally got down to work on something that has been on my mind for sometime now. Yes, it is yet another user authentication/management system in PHP. There are already some great ones out there, and some not so good [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update: Please visit the <a href="http://iambot.net/projects/phpuserauth/">project page</a> for more details</strong></p>
<p>After weeks of fighting with myself, I finally got down to work on something that has been <a href="http://iambot.net/2010/03/status-update/">on my mind</a> for sometime now. Yes, it is <em>yet</em> another user authentication/management system in PHP. There are already some great ones out there, and some not so good ones. I wanted a system that was secure, flexible, and easy to work with. What took me an entire week of effort is presented below. Without further delay, presenting <strong>phpUserAuth</strong></p>
<p><strong>Features</strong></p>
<ul>
<li> Secure with support for sessions based and/or cookie based authentication</li>
<li> Tons of configuration option for those who know what they are doing. For others, its easy as a cake!</li>
<li> Passwords are *always* hashed before they are sent over the network, with fallback to plain text if JavaScript is not supported in the browser</li>
<li> Only salted, hashed passwords are saved in the database. Even if the DB is stolen, it is almost impossible to get the original password</li>
<li> Support for multiple simultaneous sessions or a single active session </li>
<li> Administrator can choose how users are activated after they signup. It can be automatic activation, manual activation by the admin, or an activation mail can be sent to the user </li>
<li> Password is <strong>NEVER</strong> sent over the email. If the user forgets his password, he can request a password reset mail. </li>
<li> User defined access control levels</li>
<li> Flexible. If the administrator wants to add another field, simply updated the configuration file, and put the field in the signup form! The rest is taken care of by the script!</li>
<li> Prevention from XSS attacks - all data sent to the server is cleaned using the excellent <a href="http://www.phpclasses.org/package/2189-PHP-Filter-out-unwanted-PHP-Javascript-HTML-tags-.html">InputFilter</a> class</li>
<li> Support for template based HTML email notifications with changeable templates</li>
<li> Emailing done through the excellent <a href="http://sourceforge.net/projects/phpmailer/">PHPMailer</a> with support for SMTP+SSL</li>
<li> Custom redirection after login/logout </li>
<li> Pre-designed forms </li>
<li> Snap in install - Simply drop the folder into your existing application, configure a few site options and database settings, and you are done! </li>
</ul>
<p><strong>Requirements</strong></p>
<ul>
<li> PHP 5+ as the core classes are OO </li>
<li> MySQLi support </li>
<li> MySQL 5+ database server </li>
</ul>
<p>Is that too much to ask? That being said, if you run a fairly recent server, all these should be there by default. For testing, you can check out <a href="http://apachefriends.org">XAMPP</a> which is available for Windows, Mac and Linux!</p>
<p><strong> License </strong><br />
I'm planning to release it under some open source license. If that doesn't work out, it will still be <strong>FREE</strong></p>
<p><strong> Download </strong><br />
It is not <em>completely</em> done yet. The admin area needs some work. So it will be released, when its done</p>
<p><strong> Notes</strong><br />
1) As always, it isn't perfect! If you find any bugs, errors, or know a way where things can be done better, please leave a comment!<br />
2) The application hasn't been profiled yet. There WILL be places where I might have  complicated things. Will be taken care of after its been released</p>
]]></content:encoded>
			<wfw:commentRss>http://iambot.net/projects/phpuserauth/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lightweight Javascript inline editing</title>
		<link>http://iambot.net/projects/editablejs</link>
		<comments>http://iambot.net/projects/editablejs#comments</comments>
		<pubDate>Sat, 27 Mar 2010 16:48:19 +0000</pubDate>
		<dc:creator>Srinath</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://iambot.net/?p=329</guid>
		<description><![CDATA[Update 2: Core methods rewritten for compatibility with browsers. Check change log for details Update 1: Script updated considerably There are many excellent scripts to edit something inline using javascript (like jeditable), but not many that work standalone. If you hate wanting to include a 50 KB library just for this simple functionality, you are [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update 2: Core methods rewritten for compatibility with browsers. Check change log for details</strong></p>
<p><strong>Update 1: Script updated considerably </strong></p>
<p>There are many excellent scripts to edit something inline using javascript (like <a href="http://www.appelsiini.net/projects/jeditable" target="_blank">jeditable</a>), but not many that work standalone. If you hate wanting to include a 50 KB library just for this simple functionality, you are in the right page. This script is tiny (1.7 kB minified) and works on most modern browsers</p>
<p><a href="http://iambot.net/demo/editable/"><strong>Demo</strong></a></p>
<p><a href="../dScript/download.php?fname=./editable.zip" target="_blank"><strong>Download</strong></a></p>
<p><strong>Steps:</strong></p>
<p>1) Include the editable.js file in your page</p>
<p>2) Add the attribute class="editable" to a division, paragraph or table cell &lt;td&gt;</p>
<p>3) Click on the element for it to turn into a text box. Update the value, and press enter to save. Press tab or click anywhere on the page to discard updates and revert to the old value</p>
<p><strong>Changelog</strong></p>
<p><u><em>Version 0.2</em></u></p>
<ul>
<li>Support for all major browsers</li>
<li>Table cell editing more robust</li>
<li>Added support for IE 7 and 8. Uses ie.js for support for getElementsByClassName</li>
</ul>
<p><u><em>Initial Release</em></u></p>
<ul>
<li>The editable box now fits to the size of the original element. You can see that in the <a href="http://iambot.net/demo/editable/">demo</a></li>
<li>Support for inline table cell editing is now included (Proper layout/orientation only work in FF for now. Horribly out of place in other browsers and will be fixed later)</li>
<li>Editing of an element with other HTML tags now works better</li>
</ul>
<p><strong>Gotchas:</strong></p>
<p><del datetime="2010-05-10T04:22:53+00:00">1) Only one element is editable at any instant (I wanted this specific feature for a project I'm working on)</del></p>
<p><del datetime="2010-05-08T09:00:31+00:00">2) The text box doesn't fit to the size of the original element (will be fixed)</del></p>
<p><strong>Tested On:</strong></p>
<p>Windows - Firefox 3.6, IE 7 &amp; 8, Chrome</p>
<p>Mac - Firefox 3.6, Safari 4, Chrome</p>
<p><strong>Terms:</strong></p>
<p>Free to use for personal or commercial purposes, but please give credits</p>
<p><strong>Notes:</strong></p>
<p>I know it can always be better, and I'm just a beginner. So comments, suggestions always welcome!</p>
]]></content:encoded>
			<wfw:commentRss>http://iambot.net/projects/editablejs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MAC/IP address using Linux shell script</title>
		<link>http://iambot.net/2009/11/macip-address-using-linux-shell-script/</link>
		<comments>http://iambot.net/2009/11/macip-address-using-linux-shell-script/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 11:52:45 +0000</pubDate>
		<dc:creator>Srinath</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://iambot.net/?p=248</guid>
		<description><![CDATA[Ever wanted to get the MAC/IP address of your computer in a Linux shell script? The following two commands should work on most flavours of Linux/Unix Note: It retrieves the address of eth0 interface by default. Make necessary changes as required. IP: /sbin/ifconfig &#124; grep '\&#60;inet\&#62;' &#124; sed -n '1p' &#124; tr -s " " [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wanted to get the MAC/IP address of your computer in a Linux shell script? The following two commands should work on most flavours of Linux/Unix</p>
<p>Note: It retrieves the address of eth0 interface by default. Make necessary changes as required.</p>
<p>IP:</p>
<blockquote><p>/sbin/ifconfig | grep '\&lt;inet\&gt;' | sed -n '1p' | tr -s " " | cut -d " " -f3 | cut -d ":" -f2</p></blockquote>
<p>MAC (H/W address)</p>
<blockquote><p>/sbin/ifconfig | grep 'eth0' | tr -s " " | cut -d " " -f5</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://iambot.net/2009/11/macip-address-using-linux-shell-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

