Developer Wallpaper

I like to keep my desktop clean and icons categorized. I had been using Fences but it seems it doesn’t work well with Windows 8.1 and is no more a free product. This made me create custom wallpaper that would help me with categorization of desktop icons thereby allowing me to coin the term Developer Wallpaper or Programmer Wallpaper. I create two categories; one for development related softwares while other for general programs. Here is how my office desktop looks:


You can download above wallpaper or psd of it below.



Download PSD

So simply download wallpaper and use it by setting appropriate stretch settings.

Happy New Year & 2012 in Review

I wish you all a very happy new year that brings a lot of happiness to you, your family and friends,

No much blogging this years but here is the summary of my blog :)

Here’s an excerpt:

19,000 people fit into the new Barclays Center to see Jay-Z perform. This blog was viewed about 77,000 times in 2012. If it were a concert at the Barclays Center, it would take about 4 sold-out performances for that many people to see it.

Click here to see the complete report.

Facebookifying Pages

I became really sick of Google Chrome because of its crashing every now and then. Somebody informed me about SRWare Iron which is basically Chrome-like browser and I really like it for personal use, it has never crashed for the last few months I have been using it.

Though this browser works fine, I noticed that on some sites where there is facebook connect, you get “FB is not defined”, this seemed to happen only with this browser. I figured out that  for some reason, it does not fetch the FB’s JS API file eg Now I love this browser for personal use but I was unable to use on some sites such as

This made me inject FB object manually in the page which produced above error. For that I created bookmarklet which injected FB script in current page and told about that status. Here is the code for that bookmarklet you can add to your bookmarks toolbar:

javascript: function loadScript(src, callback) {
 var s,
 root_node = document.createElement('div');
 s = document.createElement('script');
 s.src = src;
 s.onload = s.onreadystatechange = function() {
 if (!r && (!this.readyState || this.readyState === 'complete')) {
 r = true;
 }; = 'fb-root';
loadScript('', function() {
 var el = document.createElement('div'); = 'fixed'; = 'center'; = 'bold'; = '5px'; = '5px'; = '5px'; = '0 auto 0 auto'; = '0'; = '40%'; = '#fff'; = '5px 10px 5px 10px'; = (typeof window.FB === 'object') ? 'green': 'red';
 el.innerHTML = (typeof window.FB == 'object') ? 'Page Facebookified :)': 'Unable to Facebookfiy :(';
 window.setTimeout(function() {
 }, 2500)

However, with this one would have to press Facebookify bookmarklet button manually. I then thought of auto-inserting FB object in each page I visited, so I went on developing a Greasemonkey addon for this which  automatically inserts FB object into visited page as soon as DOM is available. You can download it here if you want:

Greasemonkey Facebookify Userscript

This way, the FB problem is no more there and I continue to use this nice browser.
This post can be helpful for anyone who is also using SRWare Iron browser or anyone who wants to play around with FB JS API by injecting it on any page.

Free Admin Template

While working on a website or your custom CMS, you need to have an admin template and if you are already provided with one by designer or anyone, that’s good but sometimes you don’t have that option or you want to work on your personal project for which you need the admin template but designer isn’t available or you don’t want to buy an admin template or hire a designer. I often come across this requirement where I need an admin template which should have these features:

  • Easy to customize
  • Slick and nice looking interface
  • Can be modified to as many links as needed, suitable for small to big websites
  • Nice button and form styles
  • Nice looking info messages
  • Can be used as admin for any kind of website

Today I share with you guys an admin template that I created for my personal use. That’s free, you can use it for personal or commercial use.


This slideshow requires JavaScript.


I am an author on other famous sites !

I am pretty excited today because my very first post Create Simple Dropdown Menu Using jQuery has been approved on famous In a matter of few hours, my post was tweeted and socialized/bookmarked on social/bookmarking networks with good numbers and still increasing, good feedback coming from all around !

In fact, I really like this idea of writing articles for various famous sites. It boosts and markets you or your company tremendously. Other than that, they also pay you for your articles, the payment varies on popularity and quality of the article and content. My first article was approved with fairly good amount I believe. I am all set to writing articles for those famous sites related to my expertise that is PHP, ASP 3.0, jQuery, CSS, HTML, Ajax, Javascript and more.

If you have expertise in web design or web development field and possess good writing skills, give yourself a go ! It is really worth of it, there are a lot of benefits in writing articles for such famous sites.

Happy Blogging !


Magic Dialer – My First J2ME Application

Today, I introduce my very first JavaME (old name J2ME) application made of course using Java. I have named it Magic Dialer and the actual screenshot of the application can be seen on the left which was run through Java wireless toolkit. This is actually an application I always wanted to create for mobile but I never managed time for that. However, I am happy that I managed some time for it and went on to developing that at last.

What It Does?

It provides you with free pre-paid card balance !! Yes, you got it right, it tries to get you free balance.  For the moment, it works only for Pakistani cellular services as I have not included other world-wide cellular services because of the fact that I have created this application for my personal use and I am not interested in any service which is not supported where I live.

I know what this application does is not lawful and that’s exactly why I am not going to share this application or its source code with anyone but rather use it personally. I just wanted to share what I have created recently.

How It Works?

I don’t know about rest of the countries but here in Pakistan, you can load a pre-paid card using format something like this:


where x represents a number and first three numbers (in between asterisk signs) are the identifier codes for a particular cellular service and always remain the same. The other numbers (14 x) are what you get when you scratch a pre-paid card, so they are random numbers but of course cellular services do use some algorithm/sequence scheme behind it which is not disclosed to anyone at any cost. I don’t know about that scheme either :(

What software does is that it creates 14 random numbers when you press the Generate button. Once number is generated, I simply press the Call button on the application to request the card load from the target cellular services and that’s it.

Success Ratio And Probability

If you have been good at math, you know there is a huge probability when number is as long as 14 digits. So basically, this software tries to generate different random 14 digits each time you press the Generate button and if one is lucky enough, there is balance for free.

Creating Advanced Calculator With 4 Lines of Code

Here I share with you how to create a full-blown advanced calculator with just 4 lines of code in simple editor like  notepad. Interesting han? Sure it is.

This is actually part of many scripts I had created way back in 2002/2003 using VBScript to automate various Windows tasks (I wasn’t in the web development field by the time ;- ) . Today, I came across this piece of script on my computer and though of sharing with you.

Well, there is nothing really fancy, I have put the MSScript.ocx active-x control to use. It’s eval function can evaluate most complex math expressions easily. So here is how to create the calculator:

1.  Open Notepad and jot down the following 4 lines of code in it:

Set SC = CreateObject("ScriptControl")
SC.Language = "VBScript"

Val = InputBox("Enter simple or advanced expression to evaluate." & vbCrLf & vbCrLf & "Example:" & vbCrLf & vbCrLf & "(5+5)/2" & vbCrLf & vbCrLf & "or" & vbCrLf & vbCrLf & "Log(99)/2*25+3-(10^2 Mod 5)-Sin(60)+Tan(90)+2")

If Trim (Val) <> "" Then MsgBox "Answer =  " & SC.Eval(Val),,"Result"

2. Now save the file as calculator.vbs by selecting All Files from Save as type combo box. Note that vbs extension in the file name to denote that this file is vbscript and is to be run by Windows Scripting Host (wscript.exe).

3. Double click the saved file and there you are.

Have fun ;-)