<?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>Vinodkram &#187; Uncategorized</title>
	<atom:link href="http://www.vinodkram.com/category/uncategorized/feed" rel="self" type="application/rss+xml" />
	<link>http://www.vinodkram.com</link>
	<description>Creative, Informative and Entertaining Stuff for everyone</description>
	<lastBuildDate>Mon, 26 Dec 2011 18:34:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to copy file from local machine to remote server in linux</title>
		<link>http://www.vinodkram.com/how-to-copy-file-from-local-machine-to-remote-server-in-linux</link>
		<comments>http://www.vinodkram.com/how-to-copy-file-from-local-machine-to-remote-server-in-linux#comments</comments>
		<pubDate>Fri, 22 May 2009 14:02:33 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://vinodkram.wordpress.com/?p=61</guid>
		<description><![CDATA[scp fileName userName@remoteServerIP:remoteServerFolderPath Example : &#62;scp abc.txt root@XXX.XXX.XXX.XXX:/home/xyzFolder/ once you type this command, system will ask for the remote server login password.once password is verified , file get copied to remote server.]]></description>
			<content:encoded><![CDATA[<p>scp fileName userName@remoteServerIP:remoteServerFolderPath</p>
<p>Example :<br />
&gt;scp abc.txt root@XXX.XXX.XXX.XXX:/home/xyzFolder/</p>
<p>once you type this command, system will ask for the remote server login password.once password is verified , file get copied to remote server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vinodkram.com/how-to-copy-file-from-local-machine-to-remote-server-in-linux/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to add or condition in mysql query in symfony</title>
		<link>http://www.vinodkram.com/how-to-add-or-condition-in-mysql-query-in-symfony</link>
		<comments>http://www.vinodkram.com/how-to-add-or-condition-in-mysql-query-in-symfony#comments</comments>
		<pubDate>Sat, 25 Apr 2009 05:46:37 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vinodkram.wordpress.com/2009/04/25/how-to-add-or-condition-in-mysql-query-in-symfony/</guid>
		<description><![CDATA[$c-&#62;add(TblUsersPeer::USR_TYPE,array(2,3,6),Criteria::IN); $c1 = $c-&#62;getNewCriterion(TblUsersPeer::USR_PARENTID,$this-&#62;getUser()-&#62;getAttribute(&#8216;userid&#8217;),Criteria::EQUAL); $c2 = $c-&#62;getNewCriterion(TblUsersPeer::USR_PARENTID,null, Criteria::ISNULL); $c1-&#62;addOr($c2); $c-&#62;add($c1);]]></description>
			<content:encoded><![CDATA[<p>$c-&gt;add(TblUsersPeer::USR_TYPE,array(2,3,6),Criteria::IN);<br />
			$c1 = $c-&gt;getNewCriterion(TblUsersPeer::USR_PARENTID,$this-&gt;getUser()-&gt;getAttribute(&#8216;userid&#8217;),Criteria::EQUAL);<br />
			$c2 = $c-&gt;getNewCriterion(TblUsersPeer::USR_PARENTID,null, Criteria::ISNULL);<br />
			$c1-&gt;addOr($c2);<br />
 	        	$c-&gt;add($c1);</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vinodkram.com/how-to-add-or-condition-in-mysql-query-in-symfony/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>unicode issue in Perl CGI</title>
		<link>http://www.vinodkram.com/unicode-issue-in-perl-cgi</link>
		<comments>http://www.vinodkram.com/unicode-issue-in-perl-cgi#comments</comments>
		<pubDate>Fri, 29 Aug 2008 05:30:02 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vinodkram.wordpress.com/?p=27</guid>
		<description><![CDATA[When some special character(or other language data) is displayed as &#8216;? ? ? ? ?&#8217; in browser, then you have to make the following change. 1.In your table set the collation of the field that is to be displayed as &#8220;Binary&#8221;. If this does not work then you can try the below option in your [...]]]></description>
			<content:encoded><![CDATA[<p>When  some special character(or other language data) is displayed as &#8216;? ? ? ? ?&#8217; in browser, then you have to make the following change.</p>
<p>1.In your table set the collation of the field that is to be displayed as &#8220;Binary&#8221;.</p>
<p>If this does not work then you can try the below option in your cgi script</p>
<p>2. Set the meta-type in your templates file as</p>
<p>&#8220;&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=UTF-8&#8243; /&gt;&#8221;.</p>
<p>If the above two does not work,then try the third option.</p>
<p>3.</p>
<p>use Encode qw(encode decode);</p>
<p>my $text = decode (&#8216;utf8&#8242;, $value_to_be_decoded);</p>
<pre class="code"><strong><tt><span><tt class="codetext"><span></span></tt></span></tt></strong><tt><span><tt class="codetext"><span>
</span></tt></span></tt></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.vinodkram.com/unicode-issue-in-perl-cgi/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>To calculate date difference between two given dates</title>
		<link>http://www.vinodkram.com/to-calculate-date-difference-between-two-given-dates</link>
		<comments>http://www.vinodkram.com/to-calculate-date-difference-between-two-given-dates#comments</comments>
		<pubDate>Wed, 26 Mar 2008 09:19:09 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[date difference in javascript]]></category>

		<guid isPermaLink="false">http://vinodkram.wordpress.com/2008/03/26/to-calculate-date-difference-between-two-given-dates/</guid>
		<description><![CDATA[function timeDifference(startDate,endDate) { date1 = startDate; date2 = endDate; laterdate = date1.split(&#8220;-&#8221;); laterY=laterdate[0]; laterM=laterdate[1]; laterD=laterdate[2]; earlierdate = date2.split(&#8220;-&#8221;); earlierY=earlierdate[0]; earlierM=earlierdate[1]; earlierD=earlierdate[2]; var laterdate = new Date(laterY,laterM,laterD); var earlierdate = new Date(earlierY,earlierM,earlierD); var difference = laterdate.getTime() &#8211; earlierdate.getTime(); var daysDifference = Math.floor(difference/1000/60/60/24); difference -= daysDifference*1000*60*60*24 var hoursDifference = Math.floor(difference/1000/60/60); difference -= hoursDifference*1000*60*60 var minutesDifference = Math.floor(difference/1000/60); [...]]]></description>
			<content:encoded><![CDATA[<p>function timeDifference(startDate,endDate)<br />
{</p>
<p>date1 = startDate;<br />
date2 = endDate;</p>
<p>laterdate = date1.split(&#8220;-&#8221;);<br />
laterY=laterdate[0];<br />
laterM=laterdate[1];<br />
laterD=laterdate[2];</p>
<p>earlierdate = date2.split(&#8220;-&#8221;);<br />
earlierY=earlierdate[0];<br />
earlierM=earlierdate[1];<br />
earlierD=earlierdate[2];</p>
<p>var laterdate = new Date(laterY,laterM,laterD);<br />
var earlierdate = new Date(earlierY,earlierM,earlierD);</p>
<p>var difference = laterdate.getTime() &#8211; earlierdate.getTime();</p>
<p>var daysDifference = Math.floor(difference/1000/60/60/24);<br />
difference -= daysDifference*1000*60*60*24<br />
var hoursDifference = Math.floor(difference/1000/60/60);<br />
difference -= hoursDifference*1000*60*60<br />
var minutesDifference = Math.floor(difference/1000/60);<br />
difference -= minutesDifference*1000*60<br />
var secondsDifference = Math.floor(difference/1000);</p>
<p>return daysDifference;</p>
<p>}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vinodkram.com/to-calculate-date-difference-between-two-given-dates/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello world!</title>
		<link>http://www.vinodkram.com/hello-world-2</link>
		<comments>http://www.vinodkram.com/hello-world-2#comments</comments>
		<pubDate>Wed, 02 Jan 2008 10:53:29 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.vinodkram.com/?p=17</guid>
		<description><![CDATA[Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!]]></description>
			<content:encoded><![CDATA[<p>Welcome to <a href="http://wordpress.com/">WordPress.com</a>. This is your first post. Edit or delete it and start blogging!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vinodkram.com/hello-world-2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

