<?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>Webkoof</title> <link>http://webkoof.com</link> <description>Relax, its only ONES and ZEROS !</description> <lastBuildDate>Thu, 05 Jan 2012 05:55:21 +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/Webkoof" /><feedburner:info uri="webkoof" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>Webkoof</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item><title>Highlight terms while tailing a log</title><link>http://feedproxy.google.com/~r/Webkoof/~3/hxmE9Hsq73E/</link> <comments>http://webkoof.com/2012/01/05/highlight-terms-while-tailing-a-log/#comments</comments> <pubDate>Thu, 05 Jan 2012 05:54:14 +0000</pubDate> <dc:creator>Vikash</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[highlight]]></category> <category><![CDATA[log]]></category> <category><![CDATA[perl]]></category> <category><![CDATA[shell script]]></category> <category><![CDATA[tail]]></category> <guid isPermaLink="false">http://webkoof.com/?p=291</guid> <description>Sometimes I want to keep tailing a log and look for a term &amp;#8211; for example if you are an e-commerce platform then you may like to keep a running tail somewhere while keeping en eye on &amp;#8220;checkout&amp;#8221; page. Following code snippet will highlight the term: tail -f /var/log/apache2/access.log &amp;#124; perl -p -e 's/(checkout)/\033[46;1m$1\033[0m/g;' You [...]&lt;img src="http://feeds.feedburner.com/~r/Webkoof/~4/hxmE9Hsq73E" height="1" width="1"/&gt;</description> <wfw:commentRss>http://webkoof.com/2012/01/05/highlight-terms-while-tailing-a-log/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://webkoof.com/2012/01/05/highlight-terms-while-tailing-a-log/</feedburner:origLink></item> <item><title>Setup IP to city/country detection using geoIP in php</title><link>http://feedproxy.google.com/~r/Webkoof/~3/kvh0No63BEo/</link> <comments>http://webkoof.com/2011/11/07/setup-ip-to-citycountry-detection-using-geoip-in-php/#comments</comments> <pubDate>Mon, 07 Nov 2011 11:58:11 +0000</pubDate> <dc:creator>Vikash</dc:creator> <category><![CDATA[PHP]]></category> <category><![CDATA[apache]]></category> <category><![CDATA[geoip]]></category> <category><![CDATA[ip to location]]></category> <category><![CDATA[location detection]]></category> <category><![CDATA[maxmind]]></category> <category><![CDATA[ubuntu]]></category> <guid isPermaLink="false">http://webkoof.com/?p=283</guid> <description>Following instructions are for apache on ubuntu. # Install GeoIP module for php5 sudo apt-get install php5-geoip &amp;#160; # Restart Apache sudo /etc/init.d/apache2 restart &amp;#160; # Now, the country wide data is automatically installed with geoIP module. # But, if we want to have it at city level - we need to download the data. [...]&lt;img src="http://feeds.feedburner.com/~r/Webkoof/~4/kvh0No63BEo" height="1" width="1"/&gt;</description> <wfw:commentRss>http://webkoof.com/2011/11/07/setup-ip-to-citycountry-detection-using-geoip-in-php/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://webkoof.com/2011/11/07/setup-ip-to-citycountry-detection-using-geoip-in-php/</feedburner:origLink></item> <item><title>My Experiments with AWS – 3 : lamp server, Elastic IP, DNS for ec2</title><link>http://feedproxy.google.com/~r/Webkoof/~3/YqQ1XQPetPI/</link> <comments>http://webkoof.com/2011/08/01/my-experiments-with-aws-%e2%80%93-3-lamp-server-elastic-ip-dns-for-ec2/#comments</comments> <pubDate>Mon, 01 Aug 2011 18:04:14 +0000</pubDate> <dc:creator>Vikash</dc:creator> <category><![CDATA[Web Hosting]]></category> <category><![CDATA[apache]]></category> <category><![CDATA[aws]]></category> <category><![CDATA[DNS]]></category> <category><![CDATA[ec2]]></category> <category><![CDATA[elastic IP]]></category> <category><![CDATA[lamp]]></category> <category><![CDATA[ubuntu]]></category> <category><![CDATA[virtual hosts]]></category> <guid isPermaLink="false">http://webkoof.com/?p=268</guid> <description>Now that we can connect to the ec2 instance &amp;#8211; we want to setup a basic website. I use ubuntu AMI &amp;#8211; so, following instructions are for ubuntu. Similar instructions for other platforms can be ported as well. Installing LAMP Server # install Apache , PHP and MySql as a package sudo tasksel install lamp-server [...]&lt;img src="http://feeds.feedburner.com/~r/Webkoof/~4/YqQ1XQPetPI" height="1" width="1"/&gt;</description> <wfw:commentRss>http://webkoof.com/2011/08/01/my-experiments-with-aws-%e2%80%93-3-lamp-server-elastic-ip-dns-for-ec2/feed/</wfw:commentRss> <slash:comments>1</slash:comments> <feedburner:origLink>http://webkoof.com/2011/08/01/my-experiments-with-aws-%e2%80%93-3-lamp-server-elastic-ip-dns-for-ec2/</feedburner:origLink></item> <item><title>My Experiments with AWS – 2 : Connect to EC2 instance</title><link>http://feedproxy.google.com/~r/Webkoof/~3/vfxwMFQiv-o/</link> <comments>http://webkoof.com/2011/08/01/my-experiments-with-aws-%e2%80%93-2-connect-to-ec2-instance/#comments</comments> <pubDate>Mon, 01 Aug 2011 10:42:49 +0000</pubDate> <dc:creator>Vikash</dc:creator> <category><![CDATA[Web Hosting]]></category> <category><![CDATA[.pem file]]></category> <category><![CDATA[amazon]]></category> <category><![CDATA[amazon web service]]></category> <category><![CDATA[aws]]></category> <category><![CDATA[hosting]]></category> <category><![CDATA[private DNS]]></category> <category><![CDATA[public DNS]]></category> <category><![CDATA[security groups]]></category> <category><![CDATA[ssh]]></category> <guid isPermaLink="false">http://webkoof.com/?p=231</guid> <description>In order to connect with an ec2 instance there are three prime prerequisites: The key file (.pem extension) created while launching an EC2 instance in AWS. Port 22 of the instance is open while launching the instance. Know the public DNS of your EC2 instance. Key File: Read Basics of AWS and how to launch [...]&lt;img src="http://feeds.feedburner.com/~r/Webkoof/~4/vfxwMFQiv-o" height="1" width="1"/&gt;</description> <wfw:commentRss>http://webkoof.com/2011/08/01/my-experiments-with-aws-%e2%80%93-2-connect-to-ec2-instance/feed/</wfw:commentRss> <slash:comments>1</slash:comments> <feedburner:origLink>http://webkoof.com/2011/08/01/my-experiments-with-aws-%e2%80%93-2-connect-to-ec2-instance/</feedburner:origLink></item> <item><title>My Experiments with AWS – 1 : Basics of Amazon Web Services</title><link>http://feedproxy.google.com/~r/Webkoof/~3/SBvmwUgI3Hk/</link> <comments>http://webkoof.com/2011/07/31/my-experiments-with-aws-1-basics-of-amazon-web-services/#comments</comments> <pubDate>Sun, 31 Jul 2011 18:21:01 +0000</pubDate> <dc:creator>Vikash</dc:creator> <category><![CDATA[Web Hosting]]></category> <category><![CDATA[amazon]]></category> <category><![CDATA[amazon web services]]></category> <category><![CDATA[ami]]></category> <category><![CDATA[aws]]></category> <category><![CDATA[ebs]]></category> <category><![CDATA[ec2]]></category> <category><![CDATA[hosting]]></category> <category><![CDATA[ubuntu]]></category> <guid isPermaLink="false">http://webkoof.com/?p=193</guid> <description>I have been with dreamhost for 1400 days before I opted to move everything to AWS. I did not had any particular problem with dreamhost. They are good and their support is even better but I wanted to explore AWS, move away from my comfort zone of hosted services, get my hands dirty and learn [...]&lt;img src="http://feeds.feedburner.com/~r/Webkoof/~4/SBvmwUgI3Hk" height="1" width="1"/&gt;</description> <wfw:commentRss>http://webkoof.com/2011/07/31/my-experiments-with-aws-1-basics-of-amazon-web-services/feed/</wfw:commentRss> <slash:comments>2</slash:comments> <feedburner:origLink>http://webkoof.com/2011/07/31/my-experiments-with-aws-1-basics-of-amazon-web-services/</feedburner:origLink></item> <item><title>Basic regex reference</title><link>http://feedproxy.google.com/~r/Webkoof/~3/8BHsMTd37Xo/</link> <comments>http://webkoof.com/2011/07/21/basic-regex-reference/#comments</comments> <pubDate>Thu, 21 Jul 2011 15:47:16 +0000</pubDate> <dc:creator>Vikash</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[regex]]></category> <guid isPermaLink="false">http://webkoof.com/?p=46</guid> <description>Operator Purpose . (period) Match any single character ^ (caret) Match the empty string that occurs at the beginning of a line or string $ (dollar sign) Match the empty string that occurs at the end of a line A Match an uppercase letter A a Match a lowercase letter a \d Match any single [...]&lt;img src="http://feeds.feedburner.com/~r/Webkoof/~4/8BHsMTd37Xo" height="1" width="1"/&gt;</description> <wfw:commentRss>http://webkoof.com/2011/07/21/basic-regex-reference/feed/</wfw:commentRss> <slash:comments>1</slash:comments> <feedburner:origLink>http://webkoof.com/2011/07/21/basic-regex-reference/</feedburner:origLink></item> <item><title>To be a good web developer</title><link>http://feedproxy.google.com/~r/Webkoof/~3/s-N8nzlk-VU/</link> <comments>http://webkoof.com/2011/07/20/to-be-a-good-web-developer/#comments</comments> <pubDate>Wed, 20 Jul 2011 13:14:49 +0000</pubDate> <dc:creator>Vikash</dc:creator> <category><![CDATA[Web Design]]></category> <category><![CDATA[best practices]]></category> <category><![CDATA[programming]]></category> <category><![CDATA[web developer]]></category> <guid isPermaLink="false">http://webkoof.com/?p=182</guid> <description>Be a good programmer first. (Point 2 to 14) Understand the pointers, memory allocation and all those low level &amp;#8216;outdated&amp;#8217; things. (Yes, even when you program in Java) Learn the sorting alogrithms &amp;#8211; You probably never going to write one, as your language has a built-in function for the job. But, Do it and understand [...]&lt;img src="http://feeds.feedburner.com/~r/Webkoof/~4/s-N8nzlk-VU" height="1" width="1"/&gt;</description> <wfw:commentRss>http://webkoof.com/2011/07/20/to-be-a-good-web-developer/feed/</wfw:commentRss> <slash:comments>5</slash:comments> <feedburner:origLink>http://webkoof.com/2011/07/20/to-be-a-good-web-developer/</feedburner:origLink></item> <item><title>How to write a tiny URL service using Redis, PHP and Apache</title><link>http://feedproxy.google.com/~r/Webkoof/~3/HRF7zbmbVJI/</link> <comments>http://webkoof.com/2010/12/22/tiny-url-service-using-redis-php-and-apache/#comments</comments> <pubDate>Wed, 22 Dec 2010 18:25:00 +0000</pubDate> <dc:creator>Vikash</dc:creator> <category><![CDATA[PHP]]></category> <category><![CDATA[apache]]></category> <category><![CDATA[redis]]></category> <category><![CDATA[tiny URL]]></category> <guid isPermaLink="false">http://webkoof.com/?p=176</guid> <description>There are so many tiny URL services out there. But, sometimes using those may not be suitable for your particular purpose for some reason. I faced a similar situation and came out with a decent solution using Redis (Thanks to @antirez for this brilliant key-value store), PHP and Apache. I used Predis, PHP client library [...]&lt;img src="http://feeds.feedburner.com/~r/Webkoof/~4/HRF7zbmbVJI" height="1" width="1"/&gt;</description> <wfw:commentRss>http://webkoof.com/2010/12/22/tiny-url-service-using-redis-php-and-apache/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://webkoof.com/2010/12/22/tiny-url-service-using-redis-php-and-apache/</feedburner:origLink></item> <item><title>Deny directory listing using .htaccess</title><link>http://feedproxy.google.com/~r/Webkoof/~3/K0ImV3le5Bw/</link> <comments>http://webkoof.com/2009/12/16/deny-directory-listing-using-htaccess/#comments</comments> <pubDate>Wed, 16 Dec 2009 07:45:08 +0000</pubDate> <dc:creator>Vikash</dc:creator> <category><![CDATA[Web Hosting]]></category> <category><![CDATA[apache]]></category> <category><![CDATA[htaccess]]></category> <guid isPermaLink="false">http://webkoof.com/?p=154</guid> <description>When you do not have an index.html (or index.php) in your folder, then people can see the listing of all the files by typing the URL of that folder. So, if the server does not deny it by default, an user can see the content of the folder. We can use htaccess file to prevent [...]&lt;img src="http://feeds.feedburner.com/~r/Webkoof/~4/K0ImV3le5Bw" height="1" width="1"/&gt;</description> <wfw:commentRss>http://webkoof.com/2009/12/16/deny-directory-listing-using-htaccess/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://webkoof.com/2009/12/16/deny-directory-listing-using-htaccess/</feedburner:origLink></item> <item><title>Color image on mouseover of a gray one</title><link>http://feedproxy.google.com/~r/Webkoof/~3/yirHHeXmg5E/</link> <comments>http://webkoof.com/2009/10/05/color-image-on-mouseover-of-a-gray-one/#comments</comments> <pubDate>Mon, 05 Oct 2009 07:55:57 +0000</pubDate> <dc:creator>Vikash</dc:creator> <category><![CDATA[javascript]]></category> <category><![CDATA[Web Design]]></category> <category><![CDATA[css]]></category> <category><![CDATA[Image Change]]></category> <category><![CDATA[jQuery]]></category> <category><![CDATA[Mouseover]]></category> <guid isPermaLink="false">http://webkoof.com/?p=143</guid> <description>The idea of this approach is following 1. Take two identical images: one colored and one grayscale. 2. Position them on exact same position. Grayscale image on top using CSS positioning and z-index. &amp;#60;img src=&amp;#34;gray.png&amp;#34; id=&amp;#34;gray&amp;#34; style=&amp;#34; position: absolute; top: 20px; left: 20px; z-index: 100&amp;#34;&amp;#62; &amp;#60;img src=&amp;#34;color.png&amp;#34; id=&amp;#34;color&amp;#34; style=&amp;#34; position: absolute; top: 20px; left: 20px; [...]&lt;img src="http://feeds.feedburner.com/~r/Webkoof/~4/yirHHeXmg5E" height="1" width="1"/&gt;</description> <wfw:commentRss>http://webkoof.com/2009/10/05/color-image-on-mouseover-of-a-gray-one/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://webkoof.com/2009/10/05/color-image-on-mouseover-of-a-gray-one/</feedburner:origLink></item> </channel> </rss>

