From the category archives:

Programming

News : Memepress (Yahoo! Meme) Wordpress Plugin Version 0.3 is available

November 6, 2009
Memepress (Yahoo! Meme) Wordpress Plugin

Memepress is a wordpress plugin which provides wordpress widgets for displaying public posts from Yahoo! Meme. Memepress is SEO ready and provides options to noindex/nofollow your Meme posts. New version fixes a few bugs and provides enhanced style control for the widget.
You can download memepress version 0.3 from wordpress plugin page.
For details on usage/installation instructions, [...]

Read the full article →

Memepress Ready to be Translated (Supports Turkish now)

September 18, 2009
Yahoo Meme Memepress Wordpress Plugin

Thanks for an awesome response to the Memepress (Yahoo! Meme) Wordpress plugin. A lot of people have blogged about it and contacted me via email for enhancements. New version also fixes the bug regarding image size in posts. I have also updated the plugin to support internationalization(i18n). Now you can translate about 20 strings in [...]

Read the full article →

How To: Install and Use Twython (Python Wrapper for Twitter API)

September 5, 2009
Twython (Twitter API in Python)

As promised in my previous post, here is a brief howto on getting started with twython. The main advantage of Twython over several other python (or any other language) wrappers for Twitter API is that it works even when you are behind your organizations proxy.
Download Twython
You can download latest version of twython from twython page [...]

Read the full article →

I Love Twitter, I Love Python = I Love Twython

September 3, 2009
Twython (Twitter Python)

I was really late to join Twitter. As soon as I joined Twitter, I started exploring various aspects of Twitter and hence the Twitter API. While searching for a wrapper for Twitter API in python, I came across python-twitter which was good and tweepy which was ok and I finally found twython. Twython is awesome [...]

Read the full article →

TIP: Simple Regular Expression for Email Validation

August 18, 2009
Email Validation (Regular Expression)

I was playing around with Ruby on Rails and needed an email field for some application. I thought of validating the email address before actually saving it. Googled for same and got tons of results, but none of them was perfect. Few were somewhat exhaustive but horribly difficult to understand and those which were simple [...]

Read the full article →

How To: Boot Fedora Faster

December 9, 2008
Fedora Boot Process

Note: These tricks apply to any Linux based OS. But I have tested them only on Fedora, so can’t say whether they’ll work on other Linux(s).
My current Fedora installation is now almost one and a half years old. Yes. I am still using Fedora 7 I have Fedora 10 on my other machine. [...]

Read the full article →

Hack: A Fast Network Scanning Program

November 8, 2008

I was searching for a simple tool which can do a port scanning in a huge network quickly without making me wait for ages. I first thought of using nmap, but it was a bit too complex and it takes a lot of time to discover the machines even after optimizing the parameters. After searching [...]

Read the full article →

How To: Write Custom Redirector or Rewritor Plugin For Squid in Python

April 30, 2008

Mission
To write a custom Python program which can act as a plugin for Squid to redirect a given URL to another URL. This is useful when already existing redirector plugins for Squid doesn’t suit your needs or you want everything of your own.
Use Cases

When you want to redirect URLs using a database like mysql or [...]

Read the full article →

How To: Write Custom Basic Authentication Plugin for Squid in Python

April 24, 2008

Mission
To write a Python program which can be used to authenticate for Squid proxy server. This is useful when you don’t want to configure complex systems like LDAP, ntlm etc.
Use Cases

When you want to authenticate clients using mysql database.
When you want to authenticate clients using flat files or /etc/passwd file or some custom service on [...]

Read the full article →

How To: Install PHP-Ming

November 29, 2007

Yesterday, I came across a library called ming for php which can do wonders while converting videos to .swf (flash), images to .swf and much more. The best thing is that ming provides wrappers in C/C++/PHP/Python/Perl/Tcl etc. So, can be used within any one of these languages. But, the damn thing drove me crazy while [...]

Read the full article →