Category Archives: wow

A very good Dell deal – 500GB hard drive, 4GB RAM, 256MB ATI Mobility Radeon for under RM3,000 !!

This is a very good Dell deal – 500GB hard drive, 4GB RAM, 256MB ATI Mobility Radeon for under RM 3,000 !! This is the deal advertised on The Star today (29-Jun-09). Click on picture on the left to view larger version. It might be too good to be true. When I looked the [...]

Also posted in guide to buying a dell | Leave a comment

Yoast's Google Analytics for Wordpress plugin and Thematic theme

If you are using Yoast’s Google Analytics for Wordpress plugin and a Thematic theme with a child theme, Yoast’s plugin might warn that the plugin might not work. Yoast advises to include wp_footer() in footer.php. Actually that is not necessary as the Thematic theme files already include it. It is a false warning [...]

Also posted in wordpress | 1 Comment

Sharing/transferring files – a brief history of how we did it before My Wifi

I have been using PCs/notebook for a pretty long time. When I was in school (in the 1980s), to transfer files between two PCs, I had to copy the file onto a floppy drive, then use the other PC to read the floppy drive. That was obviously a major pain if there [...]

Also posted in guide to buying a dell, work | Leave a comment

Upgrading from Python 2.5 to Python 2.5.4

I was hesitant to upgrade from Python 2.5 to 2.5.4 on because upgrades usually break something. I tested it first on a desktop. The default upgrade installed to a C:\Python25 directory and a lot of things broke. Python scripts that worked before stopped working. easy_install would not work because it could not find Python.exe. This [...]

Also posted in python, work | Leave a comment

A better manual for Pentax Photo Browser, Pentax Photo Laboratory

There’s a series of articles beginning from Izumi Taniguchi on how to use the Pentax Photo Browser and Pentax Photo Laboratory. The manual that ships with the camera is rather skimpy and does not explain a lot of things like: 1. random noise reduction 2. spurious color signal noise reduction 3. tone curve etc   [...]

Posted in wow | Leave a comment

Comparing dictionaries in doctest

Here’s a nifty way to compare dictionaries in doctest in Python.   >>> d = function_that_returns_a_dict() >>> expected_d = {… some expected result } >>> d = True if d == expected_d else d>>> dTrue Technorati tags: python, doctestRead more
work, wow articles

Also posted in work | Leave a comment

Date formatting in Python – use strftime, like Oracle's to_char

time — Time access and conversions — Python v2.6.1 documentation
time.strftime(format[, t])¶

Convert a tuple or struct_time representing a time as returned by gmtime() or localtime() to a string as specified by the format argument. If t is not provided, the current time as returned by localtime() is used. format must be a string. ValueError is raised [...]

Also posted in work | Tagged , , | Leave a comment

Autorun citrix .ica file

I work with citrix a lot in my office and then one day, I started to have to save the .ICA file and then click on .ica file to run citrix. What I wanted was for it to automatically run the .ica file without first asking me to save the file first. I [...]

Also posted in work | Leave a comment

Close all other windows in Vim

Vim documentation: usr_08CLOSING ALL OTHER WINDOWS If you have opened a whole bunch of windows, but now want to concentrate on one of them, this command will be useful: :o nly This closes all windows, except for the current one. If any of the other windows has changes, you will get an error message and that [...]

Also posted in work | Tagged | Leave a comment

Chrome Firefox

Firefox: Chrome Package Makes Firefox Look Even More Like ChromeThe Chome Package Firefox extension makes Firefox look almost exactly like Google Chrome for those of you who prefer Chrome’s tabs-on-top style. (Chromifox wasn’t quite there.) You’ve enabled the rest of Chrome’s best features in Firefox.I put off downloading Google Chrome because I already had Flock, [...]

Posted in wow | Leave a comment