Change author info for old commits in Git

While using hit, it is really usual to have regrets on the commits done, especially the name used. In order to change those information in your repository, open terminal (or cmd in windows), go to the folder of your git repositoy, and run the following commands. Remember, replace “old_name”, “new_name” and “new@email.address” with your own…

Read more...

Mbox Mail for Mac works on Lion with Thurderbird

Fix Mbox Mail for Mac with Apple Mail 5, please see this post: Fix Mbox Mail for Mac on Lion, works Apple Mail 5 After the new Mac OSX Lion released, there has been a number of people finding out the Mbox Mail for Mac doesn’t work at all. But the fact is, it actually…

Read more...

Home-made “Recent Comments” for Blogger

I suddenly want to write a “Recent Comment” for this Blogspot as I am not satisfied with the default one. It is not difficult as I made use of jQuery to dual with the comment feed in Json format. All the data is avaliable and ready, what I do is just adjusting the location into…

Read more...

Reading configuration file in Java

In order to make a program more flexible, it is normal to create an external file to store all the setting. For example, resolution setting of a game is saved in “config.ini” or “settings.prop” so that we can easily modify a program without recompile it. Here I would show you how to do it. First, we…

Read more...

My First Chrome Extension – Zoom Lock

Zoom Lock: Nicholas Workshop Hi, these day I dug into the Google Chrome extension programming as I want to do something which can be used by public. I take a problem which may related to most of the people – Having a big monitor with low resolution. An alternative way to ease the problem would be zoom out the…

Read more...

Compact and repair database in Access through VBA

Normally, we need to go through bunch of clicks to do one action in MS Access. For example, “Compact and Repair Database”. This function can compact your database and make the file smaller. If you never used this, it may take some time to find it. Try it. LOL. But here I would like to show you how…

Read more...