Why I am dropping support for PHP 5.2 in my WordPress plugins

I have decided to drop support for PHP 5.2 in my WordPress plugins. I have thought about it for quite sometime and even hinted about it in the last couple of my posts.

I am writing this blog post to explain the reasons behind my decision. The following are the two main reasons why I decided to drop support.

Continue reading »

Posted in WordPress | Tagged , | 4 Comments

Looking back at 2014

2014 just ended and like the last 6 years here is my year-end review post and plans for 2015.

Personal Highlights

2014 was a milestone year for me from the career perspective. First, I completed my 10th year at work. It’s been exactly a decade since I started to work, fresh out of college. Then, I quit my job at Yahoo where I was working for more than half a decade, took a break, did a self-reflection, decided to steer my career towards WordPress and joined 10up. It’s been less a month since I joined 10up but I have already realized that I made the right decision.

Continue reading »

Posted in Random/Personal | Tagged , , | 6 Comments

Year End Stats Plugin v1.0 release

I just released v1.0 of my Year End Stats WordPress plugin just in time for you to write your year-end review posts.

This release adds a lot of new features and is a mandatory update.

Continue reading »

Posted in Plugin Releases | Tagged , , , | Leave a comment

Joined 10up

After being “officially unemployed” for about a month (and after taking a nice break 😉 ) I have joined 10up.

Continue reading »

Posted in Random/Personal | Tagged , , | 11 Comments

Goodbye Yahoo

Today was my last day at Yahoo and for the first time in my decade long career I am “officially unemployed” 😉

Continue reading »

Posted in Random/Personal | Tagged , | 16 Comments

Custom themes for PuTTY

This post has sat in my draft folder for more than 5 years. I was doing some cleaning and found that I didn’t publish this post and since it is still relevant I thought of pushing the publish button.

Being a web developer, most of the time I would be staring at PuTTY. I got sick of the default bright colours of PuTTY and was searching for ways to customize the display of my PuTTY window.

After some research, I found pre-packaged custom themes for PuTTY created by Ilya Grigorik. These themes are available as .reg files. You can directly download and use them or if you want, you can further customize them for your needs.

Below is the screenshot of the different themes that are available.

putty-terminals

Wow! now my eyes have something pleasant to stare at, most of the times 😉

Posted in Unix/Server Stuff, Web Programming | Tagged , , | Leave a comment

Automatically send unique errors (with count) from Apache error log as email

Sometime back I wrote about a simple awk script that I wrote which allowed me to find unique errors from Apache error log files.

After I wrote that script I found myself executing that script every day in the morning to figure out if there were any errors in my sites. After a couple of days I wrote another script to automatically parse the error log file and email me if there were any errors. As usual I thought of writing about it here so that it would be useful for someone else as well :)

Continue reading »

Posted in Python, Unix/Server Stuff | Tagged , , | 4 Comments

Read data from Google Sheet into a Python Pandas DataFrame

Recently I have done lot of data analysis in Python (more details about this in another post) and have started to like Pandas a lot. The other day I had to process some data from a Google Sheet and was wondering whether I could read the data as a Pandas DataFrame and after a quick search found the gspread package and within a few lines of code I was able to read data from Google Sheet into a Pandas DataFrame.

Continue reading »

Posted in Python | Tagged , , | Leave a comment

WP Github Gist plugin now supports the new Gist API

Like my Twitter Avatar plugin, even my WP Github Gist plugin was broken recently due to changes in the underlying API that my plugin was using. This time it was because of the changes in the Gist Embed API.

Continue reading »

Posted in Plugin Releases | Tagged , , , , , | Leave a comment

Twitter Avatar plugin now supports the new Twitter API

Because of the recent changes in Twitter API, my Twitter Avatar Reloaded WordPress plugin stopped working. I rewrote the way my plugin communicates with Twitter and updated the code to use the new API and now my plugin works again.

New Twitter Backend

Instead of rewriting the entire Twitter backend again, I am not using the excellent wp-twitter-api, provided by @timwhitlock which allows you to easily communicate with Twitter API from your WordPress plugin.

If you are a WordPress plugin developer and want to communicate to the Twitter API from your WordPress plugin, then I would highly recommend you to use wp-twitter-api, instead of creating your own.

Setting up Twitter App

The new version of the Twitter API needs you to make authenticated calls even to get some basic information about a twitter screen name. So after you installed the plugin you need to follow these steps so that the plugin could interact with the Twitter API.

  • Register a Twitter application at https://dev.twitter.com/apps
  • Note the Consumer key and Consumer secret under OAuth settings
  • Log into WordPress admin and go to Settings > Twitter API
  • Enter the consumer key and secret and click ‘Save settings’
  • Click the ‘Connect to Twitter’ button and follow the prompts.

Download

This is a mandatory update. You can download the latest version of the Plugin from the Plugin’s homepage or install it using the Plugin installer.

Feedback

Please keep the feedback coming and if you want me to add any new features or find a bug, please leave a comment or post about it in twitter.

Posted in Plugin Releases | Tagged , , , | Leave a comment