Book Safe to Keep and Hide Valuables (Cash, Jewelry, etc)

I remember when I was much younger, and I happened to watch this movie where one of the characters stowed some secret item in a book safe. The much-younger-me was very much the impressionable and easily astonished kid, and if I don’t recall wrongly, I was extremely surprised when I first discovered the book safe. I thought it was an absolutely ingenious idea. Books were meant for reading and I never did explore the possibilities of actually having a fake

Continue Reading

Does Ireland Have Postal / Zip Codes?

I was packing a parcel to be sent to Ireland when I realised that there was something missing. There wasn’t any postal code! So I thought that I had the address wrong, so I double-checked it again. But the strange thing was that it was correct! So I went online, and did a bit of research on zip codes in Ireland. Well it turns out that there are no postal codes for most of Ireland! That’s right, Ireland has no

Continue Reading

Using Google For Calculations and Conversions (Metric, Distance, ANYTHING!)

Heh. Other than performing searches, Google’s actually great for calculations and conversions. For instance, try typing: 23oz to ml to convert ounces to millilitres. I haven’t found anything that Google couldn’t convert — I’ve tried converting distances (km, m, cm, inches), volume (l, ml, oz, gm, m, kg) and even currency, like so: USD10 to SGD10 Google also works as a math calculator, so you can even type our calculations like: 2 * 6 and Google with give you the

Continue Reading

How do I create and remove a symbolic link?

I was fiddling around with symbolic links in my unix box and realised how cool they were. Basically symbolic links (or symlinks) create a virtual copy of the master file. This virtual copy has almost 100% of the master’s functionalities and characteristics (you’ll need to play around with the owner and file permissions sometimes though), and the really good thing about symlinks is that if you update the master files, your symlinks automatically get updated too! Here’s the Code for

Continue Reading

Tim Ferris 4 Hour Work Week Book Review

When I first heard this joke some time ago, I thought it was just like any other joke. But I saw it again recently (in Tim Ferris’ book, The 4-Hour Workweek), it suddenly dawned upon me about how strong the underlying message is. An American investment banker was at the pier of a small coastal Mexican village when a small boat with just one fisherman docked. Inside the small boat were several large yellow-finned tuna. The banker complimented the Mexican

Continue Reading

How To Resolve 500 Internal Server Error

The part about developing applications that I hate most is the troubleshooting part because it is the most tedious and the largest timesink. Unhelpful error messages and a lack of logs make it worse. If you develop applications then one of the first things you’d want to do is to have a proper logging system because only then will you be really able to track down what went wrong and fix it. The worst kind of errors are those generic

Continue Reading

Recursively Delete Files and Retain Folders in Windows

I was trying to delete all files in the current directory and all subdirectories, while keeping the directory structure intact. I found that I could use the following DOS command to recursively delete files, and NOT touch the directories: ending in .doc del /s *.doc Do note though, that ALL files with the extension doc will be deleted. You can change .doc to something else, .mp3 .pdf .wav .am .rm .txt, it’s all up to you. If you require confirmation

Continue Reading

Site Footer

Sliding Sidebar

Disclaimer

The contents on this blog are not intended as professional advice. The author disclaims any liability, loss, or risk taken by individuals who directly or indirectly act on the information contained on this blog.