<?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>Vimal Sudhan &#187; Vimal</title>
	<atom:link href="http://vimalsudhan.com/author/admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://vimalsudhan.com</link>
	<description>A PHP developer&#039;s weblog</description>
	<lastBuildDate>Tue, 18 Oct 2011 19:44:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>My Headless Linux Server</title>
		<link>http://vimalsudhan.com/2011/10/headless-linux-server/</link>
		<comments>http://vimalsudhan.com/2011/10/headless-linux-server/#comments</comments>
		<pubDate>Thu, 13 Oct 2011 19:28:15 +0000</pubDate>
		<dc:creator>Vimal</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://vimalsudhan.com/?p=162</guid>
		<description><![CDATA[Finally I setup-ed my linux server for my home! Woo Hoo!! Now I can code, develop my stuff &#038; sites, get my hands dirty inside linux, stream music &#038; videos within home network, or even host an online presence with DDns&#8230;. And I can do all these without even touching the server. well things are [...]]]></description>
			<content:encoded><![CDATA[<p>Finally I setup-ed my linux server for my home! Woo Hoo!!<br />
Now I can code, develop my stuff &#038; sites, get my hands dirty inside linux, stream music &#038; videos within home network, or even host an online presence with DDns&#8230;. And I can do all these without even touching the server. well things are enormous to explore with this!<br />
And also figured out that you can switch on a machine remotely <img src='http://vimalsudhan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  magic packet &#8211; WOL</p>
<p>Its running CentOS 6 on Intel Atom processor (D425KT) with 2GB Memory, great to run for 24&#215;7 with very less power consumption.</p>
]]></content:encoded>
			<wfw:commentRss>http://vimalsudhan.com/2011/10/headless-linux-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to set screen size in mobile/wap site?</title>
		<link>http://vimalsudhan.com/2011/08/how-to-set-screen-size-in-mobile-wap-site/</link>
		<comments>http://vimalsudhan.com/2011/08/how-to-set-screen-size-in-mobile-wap-site/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 15:29:51 +0000</pubDate>
		<dc:creator>Vimal</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[setting width]]></category>
		<category><![CDATA[viewport]]></category>
		<category><![CDATA[wap]]></category>
		<category><![CDATA[wap site]]></category>
		<category><![CDATA[width=device-width]]></category>

		<guid isPermaLink="false">http://vimalsudhan.com/?p=150</guid>
		<description><![CDATA[If you didn&#8217;t know, well its easy as putting your leg in mud clean. You can set width for your wap site to enclose the whole mobile screen size by using &#8216;viewport&#8217; meta tag. As you know, meta tags are special instructions sent to browser in our case mobile browser. With many meta tags available, [...]]]></description>
			<content:encoded><![CDATA[<p>If you didn&#8217;t know, well its easy as putting your leg in mud clean.<br />
You can set width for your wap site to enclose the whole mobile screen size by using &#8216;viewport&#8217; meta tag. As you know, meta tags are special instructions sent to browser in our case mobile browser. With many meta tags available, we have another one called &#8216;viewport&#8217; used to control layout.</p>
<p>Use this tag in head:<br />
<code>&lt;meta name="viewport" content="width=device-width"&gt;<br />
</code><br />
&#8220;width=device-width&#8221; will set width of your site to available width of device screen size. So, now you can use css properties like width:100% to create clean layouts</p>
<p>I hope this helps!</p>
]]></content:encoded>
			<wfw:commentRss>http://vimalsudhan.com/2011/08/how-to-set-screen-size-in-mobile-wap-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is your eclipse working in Fedora 15?</title>
		<link>http://vimalsudhan.com/2011/06/eclipse-crashes-on-fedora-15/</link>
		<comments>http://vimalsudhan.com/2011/06/eclipse-crashes-on-fedora-15/#comments</comments>
		<pubDate>Sun, 12 Jun 2011 13:14:45 +0000</pubDate>
		<dc:creator>Vimal</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[code assist]]></category>
		<category><![CDATA[crashes]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[fedora 15]]></category>
		<category><![CDATA[libwebkit]]></category>
		<category><![CDATA[libwebkitgtk]]></category>

		<guid isPermaLink="false">http://vimalsudhan.com/?p=144</guid>
		<description><![CDATA[Just after I updated my server to Fedora 15, I found out that eclipse is crashing when code/content assist comes up. I started searching in internet for a solution and got many with a lot not fixing my issue. Finally, I figured out why.. Its due to the new libwebkit! With lot and lot of [...]]]></description>
			<content:encoded><![CDATA[<p>Just after I updated my server to Fedora 15, I found out that eclipse is crashing when code/content assist comes up. I started searching in internet for a solution and got many with a lot not fixing my issue. Finally, I figured out why.. Its due to the new libwebkit!</p>
<p>With lot and lot of changes in Gnome 3, they also managed to change the name of libwebkit to libwebkitgtk. Obviously, eclipse can&#8217;t know this (like the other tons of application struggling in Gnome 3).</p>
<p>So to make your eclipse work with Code assist without crashing, do the following</p>
<ol>
<li>Create a symbolic link for libwebkit<br />
<code>ln -s /usr/lib/libwebkitgtk-1.0.so.0 /usr/lib/libwebkit-1.0.so.2<br />
or whatever version of libwebkit you have</code>
</li>
<li>Add <code>org.eclipse.swt.browser.UseWebKitGTK=true</code> to eclipse.ini or config.ini of eclipse
</li>
</ol>
<p>I hope this helps.<br />
See ya!</p>
]]></content:encoded>
			<wfw:commentRss>http://vimalsudhan.com/2011/06/eclipse-crashes-on-fedora-15/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A Blog to post!!</title>
		<link>http://vimalsudhan.com/2011/06/a-blog-to-post/</link>
		<comments>http://vimalsudhan.com/2011/06/a-blog-to-post/#comments</comments>
		<pubDate>Fri, 10 Jun 2011 20:12:15 +0000</pubDate>
		<dc:creator>Vimal</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://vimalsudhan.com/?p=141</guid>
		<description><![CDATA[I have a blog to post! I have a blog to post!! I have a blog to post!!! I have a blog to post!!!! I have a blog to post!!!!! May be I can remember like this&#8230;. Busy days btw]]></description>
			<content:encoded><![CDATA[<p>I have a blog to post!<br />
I have a blog to post!!<br />
I have a blog to post!!!<br />
I have a blog to post!!!!<br />
I have a blog to post!!!!!</p>
<p>May be I can remember like this&#8230;.<br />
Busy days btw</p>
]]></content:encoded>
			<wfw:commentRss>http://vimalsudhan.com/2011/06/a-blog-to-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First Hands-On CodeIgniter 2.0</title>
		<link>http://vimalsudhan.com/2010/12/first-hands-on-upgrading-to-codeigniter-2-0/</link>
		<comments>http://vimalsudhan.com/2010/12/first-hands-on-upgrading-to-codeigniter-2-0/#comments</comments>
		<pubDate>Sun, 12 Dec 2010 16:20:30 +0000</pubDate>
		<dc:creator>Vimal</dc:creator>
				<category><![CDATA[CodeIgniter]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[codeigniter 2.0]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://vimalsudhan.com/?p=118</guid>
		<description><![CDATA[Development version of CodeIgniter 2.0 is now available in BitBucket (no stable or RC yet!). Last week, I tested all my apps and found out what are changes to be done for your app to work in CI 2.0 New CodeIgiter&#8217;s new code Hooray! At last, CodeIgniter supports PHP5 and all Object Oriented stuff supported [...]]]></description>
			<content:encoded><![CDATA[<p>Development version of CodeIgniter 2.0 is now available in BitBucket (no stable or RC yet!). Last week, I tested all my apps and found out what are changes to be done for your app to work in CI 2.0<br />
<span id="more-118"></span></p>
<h5>New CodeIgiter&#8217;s new code</h5>
<p>Hooray! At last, CodeIgniter supports PHP5 and all Object Oriented stuff supported like __get(), __set() (<a href="http://in2.php.ne/manual/en/language.oop5.php" target="_blank">read more</a>).<br />
Download the code from <a href="http://bitbucket.org/ellislab/codeigniter/get/tip.zip">BitBucket</a> or if you have hg repository,<br />
<code>hg clone http://bitbucket.org/ellislab/codeigniter</code></p>
<h5>Ok So what are the changes!</h5>
<ul>
<li>All deprecated are gone! If you know meaning of deprecated, then I hope you have already stopped using those.
<ul>
<li>Validation class no more!</li>
<li>DB methods removed. These were deprecated since 1.6 (orwhere, orlike, groupby, orhaving, orderby and getwhere)</li>
</li>
</ul>
<li>Application folder is now outside the system, by default. If you are not following the system of placing CI core files outside your app in a common location, then you have to do so</li>
<li>CI class names like Controller, Model, etc now have a new name CI_Controller, CI_Model, etc</li>
<li>New config files profiler.php &#038; foreign_chars.php</li>
<li>Constructors are strictly __construct() for core classes. So, parent::__construct() and no parent::Controller() in your constructors</li>
<li>No plugins, only helpers. Now, this solved by question why we need a plugin when there is a helper!</li>
<li>Extenders in your controllers (your controller extending MY_Controller) are no more libraries. You have to place it in a new folder called &#8216;core&#8217; in your apps.</li>
<li>Behaviour of Query String in urls changed</li>
<li>Language class CI_Language is now CI_Lang</li>
</ul>
<h5>Making your app do its in CI 2.0</h5>
<ul>
<li>Change CI class names with prefix CI_<br />
From<br />
<code>class projb_model extends Model</code>To<br />
<code>class projb_model extends CI_Model</code>
</li>
<li>If you are not following strict PHP5 and using constructors in your controllers &#038; models, then change parent::Controller() or parent::Model() to parent::__construct()<br />
<code>function __construct(){<br />
parent::__construct();<br />
//your stuff<br />
}</code>
</li>
<li>Move your plugins to helpers folder and rename with suffix _helper</li>
<li>Replace index.php in your app with new code and update any changes</li>
<li>Extended Libs or MY_Controller goes to system/core folder.</li>
<li>If you are using old deprecated validation lib and really (really!) want to use that, then only way to make it work is to copy from your old ci system and place it in your app libraries folder. But, try to be smart enough to use the new smart form_validation lib.</li>
<li>Check $config['enable_query_string'] in config.php Because, if enabled in ci 2.0, it will generate urls like /index.php?/controller, or /?/controller.</li>
<li>Finally check your code for deprecated DB methods (orwhere, orlike, groupby, orhaving, orderby and getwhere)</li>
</ul>
<p>I hope that wraps up. If anything I find more, I ll update. <img src='http://vimalsudhan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://vimalsudhan.com/2010/12/first-hands-on-upgrading-to-codeigniter-2-0/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Data Description (dd) aka Data Destroyer</title>
		<link>http://vimalsudhan.com/2010/12/creating-bootable-usb-sticks-devices/</link>
		<comments>http://vimalsudhan.com/2010/12/creating-bootable-usb-sticks-devices/#comments</comments>
		<pubDate>Sat, 11 Dec 2010 16:44:33 +0000</pubDate>
		<dc:creator>Vimal</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://vimalsudhan.com/?p=105</guid>
		<description><![CDATA[Want to create bootable usb sticks or pen drives? There is an easy way to do it, by using dd command. dd stands for Data Description which is a low level copying command that does copying through raw data. By means of raw data, it has the power to clone the boot tables found in [...]]]></description>
			<content:encoded><![CDATA[<p>Want to create bootable usb sticks or pen drives? There is an easy way to do it, by using dd command.<br />
dd stands for Data Description which is a low level copying command that does copying through raw data. By means of raw data, it has the power to clone the boot tables found in your iso cd/dvd images.</p>
<p>Syntax:<br />
<code>dd if=[source_iso] of=[device]</code></p>
<p>Just be careful while specifying input and output parameters! if is INPUT and of is OUTPUT. This command is nicknamed &#8216;Data Destroyer&#8217;, reversing the parameters will result in loss of some or all data in disk.</p>
<p>Example<br />
<code>dd if=~/Download/boot.iso of=/dev/sdc</code></p>
<p>You can use findfs command to know your usb device name<br />
<code>findfs LABEL="DEVICE_LABEL"</code></p>
<p>I have already cautioned you. Please be careful while using this dd command. Be feared of &#8216;Data Destroyer&#8217; <img src='http://vimalsudhan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://vimalsudhan.com/2010/12/creating-bootable-usb-sticks-devices/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Kohana Vs CodeIgniter</title>
		<link>http://vimalsudhan.com/2010/12/kohana-vs-codeigniter/</link>
		<comments>http://vimalsudhan.com/2010/12/kohana-vs-codeigniter/#comments</comments>
		<pubDate>Tue, 07 Dec 2010 16:33:59 +0000</pubDate>
		<dc:creator>Vimal</dc:creator>
				<category><![CDATA[CodeIgniter]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[benchmark]]></category>
		<category><![CDATA[cakephp]]></category>
		<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[frameworks]]></category>
		<category><![CDATA[kohana]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://vimalsudhan.com/?p=101</guid>
		<description><![CDATA[Source : http://pr0digy.com/codeigniter/benchmark-update-static-cake-codeigniter-kohana/]]></description>
			<content:encoded><![CDATA[<p><img src="http://pr0digy.com/wp/wp-content/uploads/2008/09/benches1.gif" alt="benchmark result" /><br />
Source : <a href="http://pr0digy.com/codeigniter/benchmark-update-static-cake-codeigniter-kohana/">http://pr0digy.com/codeigniter/benchmark-update-static-cake-codeigniter-kohana/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://vimalsudhan.com/2010/12/kohana-vs-codeigniter/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Its Snowing!</title>
		<link>http://vimalsudhan.com/2010/12/its-snowing/</link>
		<comments>http://vimalsudhan.com/2010/12/its-snowing/#comments</comments>
		<pubDate>Tue, 07 Dec 2010 13:19:12 +0000</pubDate>
		<dc:creator>Vimal</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://vimalsudhan.com/?p=94</guid>
		<description><![CDATA[I love winter! And here it is!! Wish you all a happy cold month of December]]></description>
			<content:encoded><![CDATA[<p>I love winter! And here it is!!<br />
Wish you all a happy cold month of December <img src='http://vimalsudhan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://vimalsudhan.com/2010/12/its-snowing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remote desktop connection in Linux (RDP)</title>
		<link>http://vimalsudhan.com/2010/10/remote-desktop-connection-in-linux-rdp/</link>
		<comments>http://vimalsudhan.com/2010/10/remote-desktop-connection-in-linux-rdp/#comments</comments>
		<pubDate>Wed, 27 Oct 2010 14:19:51 +0000</pubDate>
		<dc:creator>Vimal</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[rdp]]></category>
		<category><![CDATA[remote desktop]]></category>

		<guid isPermaLink="false">http://vimalsudhan.com/?p=80</guid>
		<description><![CDATA[Want to connect to windows from linux? Its easy use rdesktop rdesktop supports rdp and you can connect using ip address of windows client rdesktop &#60;client-ip&#62; -u &#60;username&#62; -p &#60;password&#62; rdesktop is available in all common repositories so you can use yum install rdesktop for Fedora or apt-get in ubuntu http://www.rdesktop.org/]]></description>
			<content:encoded><![CDATA[<p>Want to connect to windows from linux? Its easy use <strong>rdesktop</strong><br />
rdesktop supports rdp and you can connect using ip address of windows client<br />
<code>rdesktop &lt;client-ip&gt; -u &lt;username&gt; -p &lt;password&gt;</code><br />
rdesktop is available in all common repositories<br />
so you can use<br />
<code>yum install rdesktop</code> for Fedora<br />
or apt-get in ubuntu<br />
<a href="http://www.rdesktop.org/">http://www.rdesktop.org/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://vimalsudhan.com/2010/10/remote-desktop-connection-in-linux-rdp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hi! Im here only!</title>
		<link>http://vimalsudhan.com/2010/10/hi-im-here-only/</link>
		<comments>http://vimalsudhan.com/2010/10/hi-im-here-only/#comments</comments>
		<pubDate>Wed, 27 Oct 2010 14:12:39 +0000</pubDate>
		<dc:creator>Vimal</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://vimalsudhan.com/?p=78</guid>
		<description><![CDATA[Sorry, almost forgot that I am having a blog to write! Work life is going hectic&#8230; btw, good to be back.. will be creating code.vimalsudhan.com soon that will host all my open source codes thinking of a platform for the subdomain &#8211; joomla or drupal or &#8230;.. have to make a tough choice soon]]></description>
			<content:encoded><![CDATA[<p>Sorry, almost forgot that I am having a blog to write! Work life is going hectic&#8230;<br />
btw, good to be back.. will be creating code.vimalsudhan.com soon that will host all my open source codes<br />
thinking of a platform for the subdomain &#8211; joomla or drupal or &#8230;.. have to make a tough choice soon</p>
]]></content:encoded>
			<wfw:commentRss>http://vimalsudhan.com/2010/10/hi-im-here-only/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

