Archive for April, 2011

Add “th” (“nd”, “st”) to a number … painlessly – Part 2

So in the previous post I posted my recipe for adding rank suffixes to numbers.Sometimes - a simple problem can be frustratingly goofy to solve. I took a lazy shortcut by passing the number through mktime - then to date to do it for me.After analyzing what I came up...
Read More

Add “th” (“nd”, “st”) to a number … painlessly.

There's not enough out there about this trick - but you don't need a convoluted solution to add rank indicators to a number, so to add more noise to google search, here my variant is:[crayon-5bca0810c0212444267242/]Make sure you visit part 2!Logical breakdown:First we get mod of $n against 10 - essentially...
Read More

libflashplayer.so – quickie for install.

Need a place to put it on debian/ubuntu?[crayon-5bca0810c03b5339011467/]Chromium:[crayon-5bca0810c03bb871155848/]Chrome: (You might have to create the 'plugins' dir - I did =\ )[crayon-5bca0810c03bd531831889/]Firefox:[crayon-5bca0810c03bf235948410/]Restart all instances of the browser/s and check it out.PS: Flash on 64-bit linux doesn't matter, you can put it in lib64/ if you -REALLY- want.. Subscribe in a reader...
Read More