How to setup Google feedburner email subscription newsletter
If you are using Google feedburner for rss feeds, you can setup feedburner email subscription newsletter within few minutes. I have been using it for quite read more
how to use netcat (nc) to test HTTP url redirection
Netcat (nc) is pretty powerful command line tool on Linux & Mac and can be used to send data on network. It can be quickly read more
How to redirect wordpress feed to feedburner feed url
If you have been using wordpress for directly serving rss feed and have recently migrated to feedburner, then some of your users are still being read more
How to view flash debug log using Firefox on Mac
Adobe has a debug version of flash player which lets you view the flash log messages when you run a flash file in your browser read more
How to use your own domain name for feedburner feed urls
When you create a feed your your wordpress blog you get a url of the form http://feeds.feedburner.com/feedid. You can change feeds.feedburner.com to your own domain. It read more
How to create rss feed for wordpress blog on Google feedburner
When you install wordpress you automatically get feed or rss setup at url /feed/ (or /rss/). It seems to be a good option to continue read more
How to change default system voice for text-to-speech on Mac
Mac lets you convert text to speech and play it. It can be done in many applications (Chrome, Firefox and other browsers, textedit, etc.) by read more
How to convert text to speech on Mac using command line utility say
Mac lets you convert text to speech using command line utility “say”. It also lets to generate an audio file in various formats and voices. read more
AWS EBS and reliability/durability
EBS stands for Elastic Block Store and it provides block level storage volumes for use with Amazon EC2 instances. Amazon EBS volumes are designed to be highly read more
How to upload closed captions for your youtube video
YouTube automatically generates caption for the video a publisher has uploaded on YouTube. But these captions may not be very good depending upon the accent read more
How to create youtube video link from a specific start time
Youtube video link looks something like this: http://www.youtube.com/watch?v=gdXN0DXMd6Y and when you open it in any browser, it starts from the beginning. Youtube also lets you create a read more
How to become Google verified author of your wordpress blog using Google+ profile
[Update: Authorship is no longer supported by google. You may also want to visit Google rich snippet documentation.] Google displays author information in search results read more
Ssh automation on Amazon EC2 Ubuntu Linux
When you create Amazon EC2 instance, you are given a RSA private key to access the instance. On Ubuntu Linux the key is for default read more
How to locally override website domain (or hostname) to IP mapping
When we browse a web site, the browser first do a DNS lookup to find the IP address of the domain name. We can override read more
How to find recursion stack growth direction using C code
In a Linux (or other Operating System) process when a subroutine is called, the memory for local variables comes from stack area of the process. read more
How to set different HTTP Expire Header for multiple images of same type
HTTP expire header can be used to set a expiry time for an image, css or any other content type. The browser does not fetch read more
How to install ViewVC for svn repository on Ubuntu Linux
ViewVC is a browser interface for cvs and subversion version control repositories. If you are using svn then its a great tool to browse your read more
How to migrate your site from one domain to another
Migrating a site from one domain to another can be a daunting task. But if we create a clear plan then it is a manageable task. read more
How to setup ssl (https) for your site on Ubuntu Linux
You may need ssl for your site for multiple reasons. I needed it for facebook apps. So my requirements are not so strict. For building read more
How to create facebook page username for vanity url
Facebook username for vanity url is the name you get for your page which appears after “https://www.facebook.com/”. Having a username for your page makes it easier read more
How to setup svn repository on AWS Ubuntu Linux with apache simple auth
Svn (Subversion) is one of the popular options for maintaining source code versions and revisions on Linux. Here are the steps to install and setup read more
How to use ssh port forwarding to surf a site from different location
Sometimes we want to access a web site from a different location or ip to see how various things appear on the site. There can read more
How to monitor 404 pages on your site
One of the main activity a webmaster has to perform is to monitor and fix 404 pages (not found pages) on the web sites. When read more
how to prevent a facebook app from posting on your wall
Often we install many facebook apps and later find out that these apps start posting to our wall without asking us. At the time of read more
ApacheBench (ab) – how to load test a web site
ApacheBench (ab) is a very handy webserver benchmarking tool which can be run from command line. It is extremely simple to use. A quick outcome read more
How to create and use color palettes in Inkscape
It is a quick tutorial on using color palettes (or swatches) and later creating our own custom palettes in Inkscape. Inkscape is a vector graphics read more
How to use wordpress facebook plugin comments box with lazy loading
WordPress facebook plugin lets you embed facebook comment box in your posts and pages along with many other features. One biggest benefit of facebook comment box read more
How to use Google custom search with lazy loading approach
If you have Google adsense account then you can use Google custom site search for your website. I’m using it on a wordpress site but read more
How to use w3 total cache for wordpress
W3 total cache by Frederick Townes is probably the best wordpress cache plugin. Setting it up for best outcome can take sometime. But once you get read more
How to and why disable wordpress cron
WordPress crons are different from traditional Linux or Windows crons. Traditional cron runs as independent processes at regular interval. WordPress crons are php hooks which read more
How to make best use of Alexa
Alexa is a powerful tool for getting high level insight into any website. It can be used to research websites related to a specific topic read more
How to use dropbox as mini webserver
Dropbox can serve files in the Public Folder (and other folders as well) over http. To view the file over http users don’t need to read more
How to select a domain name for your site
Almost all of us spend a great deal of time deciding what domain to use for our site or venture. Moreover once you pick a read more
How to remove urls from Google index using webmaster tools
Many times you want to remove urls from google index. There can be many reasons for doing that. Some of the reasons are: A page read more
Verify a web site in google search console (webmaster tools)
Google provides extremely useful Search console (webmaster tools) to perform various activities and view stats of your web site. Here are some reasons why you read more
Traceroute outcome from Bangalore to AWS Virginia and California
I recently noticed that my site (https://infoheap.com/) which was hosted on AWS North Virginia data center was very slow. I was accessing it from Airtel read more
How to display text on image using css
Css position can be used to place a text over an image. This can used to place some text like alpha or beta over a read more
Edit and debug css in Chrome
Google Chrome Browser has powerful developer tools to debug css on any web page. It can also be used to quickly make minor changes in read more
How to use fitvids.js for automatically resizing videos
Fitvids (github link) is an open source javascript library built by Chris Coyier and Paravel which makes the width of videos in a web page fluid. To be read more
Javascript xss (cross site scripting) – How to prevent
Cross site scripting (XSS) happens when some input on a page (through GET or POST request) is not properly escaped before displaying. If that happens read more
How to switch back to old inline gmail compose window
Update: Google seems to have removed the option for old gmail inline compose interface. So you cannot switch to old gmail compose window. Gmail recently read more
How to use rsync for production release automation
Rsync can be used to automate the production releases for wordpress or any other site. I maintain two wordpress sites – one for development purpose and one read more
How to log page latency and url host in apache log
Apache log can give you lot of insight into the performance of your site. The default configuration of apache does not log the page serving read more
How to create simple animation using Inkscape and Jquery
A quick tutorial to show how to use layers in Inkscape to generate image frame and use Jquery to create a simple animation. Inkscape layers read more
How to create a logo using Inkscape
It is a quick tutorial on creating a very simple svg (scalable vector graphics) logo using Inkscape and then later export it to png format. read more
How to handle permanent redirects in wordpress
There are multiple options available to handle redirects in wordpress. A redirect is a way to tell the users and search engines that a page read more
WordPress – how to display code from a file in textarea
Using textarea in wordpress can cause lot of issues as wordpress automatically converts newlines to line-break (<br>) and paragraph (<p>) tags. Often switching from text to read more
How to use google custom search for wordpress site
WordPress comes with a default search which searches posts and pages from your site. It works pretty decent. Here is why you should consider switching read more
Online tools to create comic strips
Comic strips are fun way to add humour and communicate an idea faster to the readers. There are many tools to generate comic strips with read more
Should I block Googlebot from crawling javascript and css?
I noticed that google bot is crawling javascript and css regularly from by wordpress blog site. Here are some entries from my apache log: 66.249.75.66 read more
Screenflow 4 export options
Screenflow 4 (I’m using 4.0.2 version to be precise) lets you export your screencast to mp4 format which you can upload to youtube and may read more
No frills social share links for WordPress sites
There are many plugins available for WordPress which lets visitors share the post or current page on various social networking sites like Google Plus, Facebook, read more
WordPress multisite network vs normal installation
When it is required to have more than one wordpress installations it can get little tricky. There are multiple way to do that. Do multiple read more
How to automate wordpress sandbox setup on Linux
Maintaining a wordpress site can be pretty involving task specially when you have so many plugins with regular updates. Many time you have to experiment new plugins, read more
SVG – beginner tutorial
Scalable Vector graphics is getting more popularity in online world as more and more browsers support svg now. Most images we see on web (.png, read more
Tips on improving the performance of your WordPress blog or site
WordPress is a great blogging platform and there are plugins for pretty much everything you need. But with too many plugins it affects the performance read more
How to install wordpress on Amazon AWS-EC2 Classic Ubuntu Linux micro instance
[Update: This post is applicable for Amazon classic infrastructure. Now you should use Amazon VPC infrastructure and steps may be slightly different. We’ll soon write read more
How to set up google analytics profiles for domain and sub-domain tracking
[Update Feb, 2016: This article is based on old version of Google analytics and is now deprecated. Please visit Google cross domain tracking page for read more
www vs non-www domain which is better for your site?
I have been doing some research on whether to use www or not in domain of the urls of the site. If you setup wordpress read more
Using python to analyze bots from apache logs
Apache logs contains pretty useful information about various visitors and bots coming to your site. Here is how a typical apache log entry looks like: read more
How to prevent your test blog from google crawling but show adsense ads
I guess most of us maintain a test or sandbox blog to try out new plugins and do experiments which we can’t afford on main read more
Github tutorial for beginners
Using git/github may look like a daunting task but once you set it up, it is not that difficult. Here are quick steps to get read more
How to change twitter handle and its impact on traffic
Twitter allows you to change the twitter handle (or username) anytime. This option comes on account page (https://twitter.com/settings/account) as shown below.The new user has to read more
How to delete facebook page
A facebook page can be deleted by the manager of the page. You can also unpublish a page which is a better option if you read more
Some gmail advanced search tips
Some gmail advanced search tips which can be useful if you are heavy gmail user. File all unread messages in inbox is:unread in:inbox Find a read more
How to fix mysql service stopping intermittently on AWS micro instance
I was having this problem since last few days. My mysql server was getting killed on its own on aws/ec2 micro instance. So far I read more
How to check the performance of a plugin using mysql query log
Installing too many plugins can hurt wordpress blog performance as plugins may lead to more queries. One quick way to check the impact of a read more
WordPress themes for beginners worth considering
I have been looking at many free and paid wordpress themes since I started blogging. There are some pretty good themes out there for you read more
How to enable youtube monetization and link to adsense account
YouTube has a partner program where video creators can monetize their videos using google monetization program. Your videos must adhere to Google guidelines and should read more
How to write custom css in wordpress
Sometimes we need to override some existing css or write some new custom css for the wordpress blog site. This can be pretty handy for read more
Using ssh sftp updater support for updating wordpress plugins and themes
The plugin (SSH SFTP updater support) is pretty handy to update wordpress plugins and themes using ssh specially if you use private ssh key to read more
How to use nc (netcat) to print headers sent by a browser
Unix utility nc (netcat) is a pretty handy utility for many network tasks. One such use is to see what headers are being sent by read more
How to connect to mysql server using ssh port forwarding
When mysql server is hosted on a cloud environment like amazon aws/ec2 or rackspace, connecting to it using mysql GUI tools may not be possible without read more
How to migrate wordpress from root to sub directory
Migrating wordpress from root to subdirectory is not a difficult task but should be done carefully. Here are the steps which can be followed. Terminology read more
Using Google analytics SDK v2 for android app real time tracking
When I used Google analytics SDK v2 for mobile android app, I was pretty impressed with it. With very little code I was able to read more
Using robotexclusionrulesparser python module to parse robots.txt and crawl a site
Here is a small code snippet to demonstrate how to parse robots.txt and crawl a web page in python using robotexclusionrulesparser module url = “http://www.foo.com/bar” read more
How to allow mysql access on AWS/EC2 from a specific IP
If you have mysql server on AWS EC2 instances, you may need remote access to mysql server form a specific IP. Note that if you read more
How to create facebook app for using fbconnect for your website login
Using facebook login (fbconnect) on your website or blog requires you to create a facebook app and configure it with few details. The advantage of read more
How to remove a contact from browser gtalk frequent friend list
Often when you get an email from someone online Google gtalk (on mail.google.com) starts showing that contact in your frequent friends list. That increases the read more
How to fix ipad2 home button unresponsiveness issue
My ipad2 home button was intermittently becoming unresponsive. Here are various things I tried after talking to Apple support and reading up various support threads. read more
Filing bug for facebook by app developer
Facebook has an interface to search existing open issues and file a new one if you can’t find the issue/bug which describe the problem faced read more
Getting started with wordpress and some useful plugins
There are multiple ways to install wordpress. I won’t go into that here. You can get some installation information here. Once you set it up read more
Using camtasia to generate screencast video on your computer
I found camtasia to be pretty powerful tool to generate screencast videos. I needed it to generate gameplay video of one of the app I read more
How to create vanity url for your channel in youtube
[Update: March 2016] This article is based on old YouTube UI/policies. For latest documentation, please visit Get a custom channel for your channel. These are read more
Python – How to sort dictionary by values
Sometimes we want to iterate over a dictionary in sorted order of values. We can do it by using key argument to python sorted() method read more
Python/Perl/Unix one liners
Here are some cool python one liners. Parse apache log using python: print 5th field python -c “import csv,sys;f=csv.reader(sys.stdin, delimiter=’ ‘); print ‘\n’.join([r[5] for r read more
Benefits of using Amazon AWS – EC2
If you want to try out stuff as root which can potentially break you site, you are always scared of trying that on your main read more