HaiPai i9389 MTK6589 Android Phone

Android Home Screen WARNING: I AM NOT RECOMMENDING THIS PHONE, THE SELLER OR ALIEXPRESS I am adding an update to this original post as there have been some developments. I bought two of these phones (one for me and one for my sister-in-law) and we have had nothing but... » More

Manipulating Image Metadata for Stock Photos

exiftool On a Linux desktop one thing I miss is the ability to easily add metadata (exif / iptc) to the images I upload to stock photo websites. Adding this metadata makes it much easier to submit the same photo to multiple websites. The 'File Info' command in... » More

Shell Script Example Squid Logs

I was trying to explain to a colleague a few days ago how a few shell commands can be really useful, when today I came across an example to try to illustrate. My problem was that I had 245 log files each about 70-80MB in size - roughly 4 million lines in... » More

Postfix with Amavisd-new on Plesk & Centos

For future reference: I installed Amavisd on CentOS and configured it to be used within Postfix following instructions here and here. I had also configured ClamAV and Spamassassin but those instructions are for another day. yum install... » More

Windows 2008 Disk Space and CBS.log

CBS.log Disk Usage Analyzer I noticed one of our Windows 2008 servers running low on space on the C: drive and used Disk Usage Analyzer to scan the disk. I had been suspecting the winsxs directory as this has been a culprit in the past: However, this time it turned out to be... » More

Delaying Dropbox Start in Ubuntu

Edit Startup Program Dropbox The length of time it was taking after logging in to get Dropbox started was beginning to get on my nerves. The following worked for me: Open the Dropbox Preferences dialog and disable the option for "Start Dropbox on system startup" Next... » More

PHP Accessing an IMAP Mailbox

This week I started playing around with PHP and a honeypot mailbox I had created some time ago. The following PHP is what I have been using thus far - plenty more work to do:   $hostname = '{imap.domain.uk:143/notls}INBOX'; $username =... » More

Testing Proxy.pac Files

I decided to do a bit of checking on the proxy.pac file we were using. I grepped through our Apache access log files to pull out all of the IP addresses accessing the file over the year: zgrep "proxy.pac" ./2013-??-??.access_log.gz | awk '{print $1}'... » More