<?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>Dipin Krishna</title>
	
	<link>http://dipinkrishna.com</link>
	<description>I love to code</description>
	<lastBuildDate>Fri, 04 Nov 2011 22:10:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Dipin" /><feedburner:info uri="dipin" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>Dipin</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>RubyOnRails: Create a Controller and Views for it using a single command</title>
		<link>http://feedproxy.google.com/~r/Dipin/~3/zWOS1qNZBfw/</link>
		<comments>http://dipinkrishna.com/blog/2011/02/rubyonrails-create-controller-views-single-command/#comments</comments>
		<pubDate>Sat, 05 Feb 2011 20:14:15 +0000</pubDate>
		<dc:creator>Dipin Krishna</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[controller]]></category>
		<category><![CDATA[create]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[views]]></category>

		<guid isPermaLink="false">http://dipinkrishna.com/?p=146</guid>
		<description>Lets create a controller named &amp;#8216;home&amp;#8216; with  views &amp;#8216;index&amp;#8216;, &amp;#8216;view2&amp;#8242; view3&amp;#8242;. Fortunately, you can do that in a single command. Enter this command in your terminal: $ rails generate controller home index view2 view3 Rails will create several files for you, including app/views/home/index.html.erb. This is the template that will be used to display the results [...]&lt;img src="http://feeds.feedburner.com/~r/Dipin/~4/zWOS1qNZBfw" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://dipinkrishna.com/blog/2011/02/rubyonrails-create-controller-views-single-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://dipinkrishna.com/blog/2011/02/rubyonrails-create-controller-views-single-command/</feedburner:origLink></item>
		<item>
		<title>Magento: Check if an admin is logged in or not</title>
		<link>http://feedproxy.google.com/~r/Dipin/~3/vDTKT_-hX0E/</link>
		<comments>http://dipinkrishna.com/blog/2011/01/magento-check-admin-logged/#comments</comments>
		<pubDate>Mon, 17 Jan 2011 06:50:22 +0000</pubDate>
		<dc:creator>Dipin Krishna</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[check]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://dipinkrishna.com/?p=138</guid>
		<description>If you are writing a custom module, and you want it to be accessed only by admins, then you possibly need the following code in your controller. //get the admin session Mage::getSingleton&amp;#40;'core/session', array&amp;#40;'name'=&amp;#62;'adminhtml'&amp;#41;&amp;#41;; //verify if the user is logged in to the backend if&amp;#40;Mage::getSingleton&amp;#40;'admin/session'&amp;#41;-&amp;#62;isLoggedIn&amp;#40;&amp;#41;&amp;#41;&amp;#123; echo &amp;#34;Admin Logged in&amp;#34;; &amp;#125; else &amp;#123; echo &amp;#34;You need to [...]&lt;img src="http://feeds.feedburner.com/~r/Dipin/~4/vDTKT_-hX0E" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://dipinkrishna.com/blog/2011/01/magento-check-admin-logged/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://dipinkrishna.com/blog/2011/01/magento-check-admin-logged/</feedburner:origLink></item>
		<item>
		<title>Perl: Send a chat message to your gmail buddy using Jabber</title>
		<link>http://feedproxy.google.com/~r/Dipin/~3/1hh_IgkbNlU/</link>
		<comments>http://dipinkrishna.com/blog/2010/12/perl-send-chat-message-gmail-buddy-jabber/#comments</comments>
		<pubDate>Thu, 23 Dec 2010 10:06:49 +0000</pubDate>
		<dc:creator>Dipin Krishna</dc:creator>
				<category><![CDATA[PERL]]></category>
		<category><![CDATA[buddy]]></category>
		<category><![CDATA[chat]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[jabber]]></category>
		<category><![CDATA[message]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[send]]></category>

		<guid isPermaLink="false">http://dipinkrishna.com/?p=132</guid>
		<description>Net::Jabber provides a Perl user with access to the Jabber Instant Messaging protocol. Net::Jabber is a convenient tool to use for any perl script that would like to utilize the Jabber Instant Messaging protocol. While not a client in and of itself, it provides all of the necessary back-end functions to make a CGI client [...]&lt;img src="http://feeds.feedburner.com/~r/Dipin/~4/1hh_IgkbNlU" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://dipinkrishna.com/blog/2010/12/perl-send-chat-message-gmail-buddy-jabber/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://dipinkrishna.com/blog/2010/12/perl-send-chat-message-gmail-buddy-jabber/</feedburner:origLink></item>
		<item>
		<title>Perl: Send a message to a queue or topic using Stomp</title>
		<link>http://feedproxy.google.com/~r/Dipin/~3/sWrspQITP3g/</link>
		<comments>http://dipinkrishna.com/blog/2010/12/perl-send-message-queue-topic-stomp/#comments</comments>
		<pubDate>Tue, 21 Dec 2010 14:32:17 +0000</pubDate>
		<dc:creator>Dipin Krishna</dc:creator>
				<category><![CDATA[PERL]]></category>
		<category><![CDATA[message]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[queue]]></category>
		<category><![CDATA[send]]></category>
		<category><![CDATA[stomp]]></category>

		<guid isPermaLink="false">http://dipinkrishna.com/?p=123</guid>
		<description>﻿ Net::Stomp ﻿module allows you to write a Stomp client. Stomp is the Streaming Text Orientated Messaging Protocol (or the Protocol Briefly Known as TTMP and Represented by the symbol :ttmp). It&amp;#8217;s a simple and easy to implement protocol for working with Message Orientated Middleware from any language. Net::Stomp is useful for talking to Apache ActiveMQ, an [...]&lt;img src="http://feeds.feedburner.com/~r/Dipin/~4/sWrspQITP3g" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://dipinkrishna.com/blog/2010/12/perl-send-message-queue-topic-stomp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://dipinkrishna.com/blog/2010/12/perl-send-message-queue-topic-stomp/</feedburner:origLink></item>
		<item>
		<title>Perl: Function to print a HASH completely</title>
		<link>http://feedproxy.google.com/~r/Dipin/~3/grtJfzyc9HA/</link>
		<comments>http://dipinkrishna.com/blog/2010/12/perl-function-print-hash-completely/#comments</comments>
		<pubDate>Wed, 15 Dec 2010 12:25:44 +0000</pubDate>
		<dc:creator>Dipin Krishna</dc:creator>
				<category><![CDATA[PERL]]></category>
		<category><![CDATA[completely]]></category>
		<category><![CDATA[hash]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[print]]></category>

		<guid isPermaLink="false">http://dipinkrishna.com/?p=99</guid>
		<description>Below is a perl function that i wrote to print a HASH completely. What i mean by &amp;#8216;completely&amp;#8217; is that it will expand all hashes and arrays found within the given HASH. sub print_hash &amp;#123; my &amp;#40;$hash,$str&amp;#41; = @_; while&amp;#40; my &amp;#40;$k, $v&amp;#41; = each %&amp;#123;$hash&amp;#125;&amp;#41; &amp;#123; print $str.&amp;#34;$k =&amp;#62; $v\n&amp;#34;; if&amp;#40; $v =~ /hash/i [...]&lt;img src="http://feeds.feedburner.com/~r/Dipin/~4/grtJfzyc9HA" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://dipinkrishna.com/blog/2010/12/perl-function-print-hash-completely/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://dipinkrishna.com/blog/2010/12/perl-function-print-hash-completely/</feedburner:origLink></item>
		<item>
		<title>Perl: Send bulk mail via SMTP with authentication</title>
		<link>http://feedproxy.google.com/~r/Dipin/~3/NyEBkrAtKko/</link>
		<comments>http://dipinkrishna.com/blog/2010/12/perl-send-bulk-mail-smtp-authentication/#comments</comments>
		<pubDate>Wed, 15 Dec 2010 11:08:13 +0000</pubDate>
		<dc:creator>Dipin Krishna</dc:creator>
				<category><![CDATA[PERL]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[bulk]]></category>
		<category><![CDATA[mails]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[send]]></category>
		<category><![CDATA[smtp]]></category>

		<guid isPermaLink="false">http://dipinkrishna.com/?p=102</guid>
		<description>This is a tutorial on how to send mails to multiple recipients using Perl Net::SMTP module with authentication. The smtp module implements a client interface to the SMTP and ESMTP protocol, enabling a perl5 application to talk to SMTP servers. The first step is to create a SMTP connection to the server. A new Net::SMTP [...]&lt;img src="http://feeds.feedburner.com/~r/Dipin/~4/NyEBkrAtKko" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://dipinkrishna.com/blog/2010/12/perl-send-bulk-mail-smtp-authentication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://dipinkrishna.com/blog/2010/12/perl-send-bulk-mail-smtp-authentication/</feedburner:origLink></item>
		<item>
		<title>Perl: Simple way to read Command line arguments</title>
		<link>http://feedproxy.google.com/~r/Dipin/~3/JHAEgWZ6tgM/</link>
		<comments>http://dipinkrishna.com/blog/2010/12/perl-simple-read-command-file-arguments/#comments</comments>
		<pubDate>Tue, 14 Dec 2010 06:06:44 +0000</pubDate>
		<dc:creator>Dipin Krishna</dc:creator>
				<category><![CDATA[PERL]]></category>
		<category><![CDATA[arguments]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[parameters]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[read]]></category>

		<guid isPermaLink="false">http://dipinkrishna.com/?p=91</guid>
		<description>Parsing command-line arguments in Perl is very easy. All the command-line arguments are present in the array $ARGV. You can get the number of arguments passed as ( $#ARGV + 1 ). Below is a sample Perl script to read the command-line parameters. #!/usr/bin/perl #-------------------------------------------------# #  File:    argv.pl             [...]&lt;img src="http://feeds.feedburner.com/~r/Dipin/~4/JHAEgWZ6tgM" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://dipinkrishna.com/blog/2010/12/perl-simple-read-command-file-arguments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://dipinkrishna.com/blog/2010/12/perl-simple-read-command-file-arguments/</feedburner:origLink></item>
		<item>
		<title>Sending Emails Via Gmail SMTP With Perl</title>
		<link>http://feedproxy.google.com/~r/Dipin/~3/WZo5nLX9CXg/</link>
		<comments>http://dipinkrishna.com/blog/2010/12/sending-emails-gmail-smtp-perl/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 08:24:48 +0000</pubDate>
		<dc:creator>Dipin Krishna</dc:creator>
				<category><![CDATA[PERL]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[send]]></category>
		<category><![CDATA[smtp]]></category>

		<guid isPermaLink="false">http://dipinkrishna.com/?p=54</guid>
		<description>This is a tutorial on how to send mails using Perl Net::SMTP module through Gmail SMTP. The smtp module implements a client interface to the SMTP and ESMTP protocol, enabling a perl5 application to talk to SMTP servers. The first step is to create a SMTP connection to the server. A new Net::SMTP object must [...]&lt;img src="http://feeds.feedburner.com/~r/Dipin/~4/WZo5nLX9CXg" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://dipinkrishna.com/blog/2010/12/sending-emails-gmail-smtp-perl/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://dipinkrishna.com/blog/2010/12/sending-emails-gmail-smtp-perl/</feedburner:origLink></item>
		<item>
		<title>Git: Create and delete remote branches</title>
		<link>http://feedproxy.google.com/~r/Dipin/~3/CJnOSCydl1o/</link>
		<comments>http://dipinkrishna.com/blog/2010/11/git-create-delete-remote-branches/#comments</comments>
		<pubDate>Tue, 30 Nov 2010 07:47:50 +0000</pubDate>
		<dc:creator>Dipin Krishna</dc:creator>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[branch]]></category>
		<category><![CDATA[create]]></category>
		<category><![CDATA[delete]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[remote]]></category>

		<guid isPermaLink="false">http://dipinkrishna.com/?p=51</guid>
		<description>Many git users frequently do create and delete branches. I often forget the command. So i am now writing it down here. May be, it will be useful to some guys out there too. Create a remote branch git push origin new_branch Where origin is your remote name and new_branch is the name of the branch [...]&lt;img src="http://feeds.feedburner.com/~r/Dipin/~4/CJnOSCydl1o" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://dipinkrishna.com/blog/2010/11/git-create-delete-remote-branches/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://dipinkrishna.com/blog/2010/11/git-create-delete-remote-branches/</feedburner:origLink></item>
		<item>
		<title>C++/CPP: Search and Replace in String</title>
		<link>http://feedproxy.google.com/~r/Dipin/~3/qX6vnvLl25U/</link>
		<comments>http://dipinkrishna.com/blog/2010/10/cpp_search_and_replace_in_string/#comments</comments>
		<pubDate>Sat, 16 Oct 2010 09:38:01 +0000</pubDate>
		<dc:creator>Dipin Krishna</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[CPP]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[search and replace]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://dipinkrishna.com/?p=26</guid>
		<description>My CPP function for search and replace in string is given below: string search_replace&amp;#40; string String, string searchString, string replaceString, string::size_type pos = 0&amp;#41; &amp;#123; &amp;#160; while &amp;#40; &amp;#40;pos = String.find&amp;#40;searchString, pos&amp;#41;&amp;#41; != string::npos &amp;#41; &amp;#123; String.replace&amp;#40; pos, searchString.size&amp;#40;&amp;#41;, replaceString &amp;#41;; pos += replaceString.size&amp;#40;&amp;#41;; &amp;#125; return String; &amp;#125; Sample program using it. /* * searchreplace.cpp [...]&lt;img src="http://feeds.feedburner.com/~r/Dipin/~4/qX6vnvLl25U" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://dipinkrishna.com/blog/2010/10/cpp_search_and_replace_in_string/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://dipinkrishna.com/blog/2010/10/cpp_search_and_replace_in_string/</feedburner:origLink></item>
	</channel>
</rss>

