Yearly Archives: 2013

8 posts

Windows search cannot find files in Google Drive folder or Microsoft OneDrive folder

If you have installed Google Drive or Microsoft OneDrive on your Windows PC, you will notice that Windows search does not find any documents in your Google Drive (or Microsoft OneDrive) folder. The cause of the problem is Windows indexing service didn’t index Google Drive (or Microsoft OneDrive) folder, even though these folders are listed in the index options. So why Windows indexing service failed to index those folders? It is because the permission is […]

Small things make big difference in user experience

I enjoy using my new HTC One phone, but also notice there are some small things that are missing but can otherwise make big difference in user experience. Here is the list: 1. Quick unlocks a PIN-protected phone. If a correct PIN is entered, then the phone should be unlocked automatically without having user to poke the Enter key. 2. Displays battery percentage in notification bar. Although there are many Android apps can display the […]

Google, find my phone please

UPDATE: Android Device Manager now added a remote lock feature which enables user to remotely lock the lost/stolen device with a new password. (09/24/2013) NOTE: if your Android device has power saver feature turned on, you need to make sure it does not disable data connection while in sleep mode, otherwise, Android Device Manager might not be able to locate your device. Switched from iPhone to Android phone and found out there is no app […]

NOOK Tablet power charger needs better design

If you have a NOOK Color or Tablet, you probably know what I am talking about. The charger consists of a wall adapter and a micro USB cable. However, if you look at the USB cable more carefully, you will find it is not a regular micro USB cable, though a regular micro USB cable can be plugged in perfectly and can charge NOOK as well. The metal connector is longer than the regular one, […]

Add days, months and years in JavaScript

This JavaScript function has been updated to better handle various scenarios, please check the new version here: https://learningpenguin.net/2017/07/20/add-days-months-years-date-javascript/ In ASP.NET, you can easily use DateTime.AddDays(), DateTime.AddMonths(), or DateTime.AddyYears() function to get a new DateTime object, but in JavaScript, there is no such built-in function. Since it is very common you have to do some date calculation or validation in JavaScript, I decided to write my own JavaScript function to add days, months, and years to a […]

How to add Google plus button to your WordPress blog

In this post, I will show you how to add Google +1 button to your WordPress blog, but my tutorial involves modifying some theme files, so it depends on the theme you use. If you use a different theme, this tutorial still should give you some ideas which theme function to modify. My current theme is Admired Theme, so I will show you how to add Google +1 button to this theme after the blog […]

Switch to HostGator, again and permanent

Yeah, you read it right. I switched my hosting company from Arvixe back to HostGator after two years away from HostGator. Here is the history of my hosting company experience: First hosting company: IXWebHosting Reasons of leaving: All Windows web servers were running IIS 6 while other hosting companies were offering IIS 7 when I left. PHP mail() function was disabled so my blog didn't notify me of new comments Second hosting company: HostGator Reason […]