After Google unveiled its “plus” social network to combat Facebook, its whole product line got an interface update and my “Google Reader Unread Count in Gmail” Greasemonkey script no longer worked. So it’s time to update it again. Install latest version. Now it seems Google hides Reader link in the “more” drop down. Or at… Continue reading “Google Reader Unread Count in Gmail” Script Again
Google Reader and Readability, Kindle
Readability has browser extensions for reading current page or sending current web page to Kindle, but I read a lot in Google Reader where many articles are on the same page. It seems that Readability staff considered this feature and did investigate on that. But until now I didn’t find a mechanism for Reader’s native… Continue reading Google Reader and Readability, Kindle
Using ImageMagick for WordPress Thumbnail Generation
When you upload an image in WordPress, the blogging software tries to generate several scaled versions of the images uploaded. So after it’s done, WordPress provides 4 different sizes of the image for you to insert into the post – thumbnail, small, large, original. I noticed that for my WordPress install, only the original image… Continue reading Using ImageMagick for WordPress Thumbnail Generation
Switching to Chrome (from Firefox)
The other day I left my Linux desktop on for several hours and when I came back, it seemed everything hung there. I managed to open `top`, and found the cause being Firefox eating up all the memory. Long ago I complained that and somebody told me that it must be some extension. But anyway… Continue reading Switching to Chrome (from Firefox)
Crontab Command Substitution not Working – Solution
By default crontab sends the cron job output to /var/spool/mail/{username} but this time I wanted one of my daily cron job to write to a different log file each day. So I changed it to something like: 30 2 * * * myscript.sh &> /…/`date +%F`.log But the next day I found that the script… Continue reading Crontab Command Substitution not Working – Solution
Python Logging from Multiple Processes
We have a server running a Python application in Apache with mod_wsgi. In httpd.conf we configured 4 processes to run this application, each with multiple threads. This configuration caused us some troubles. We extensively used memory to cache some results from very complicated and time-consuming computation and also some key-value pairs for efficient reading, and… Continue reading Python Logging from Multiple Processes