Monthly Archives: May 2011

PlayList format and translation

Sandisk Sansa mp3 player may have playlists of mp3 files.  These files are stored in \PLAYLIST.The format of playlist is actullay in UTF-16LE.  In order to translate it to an ASCII (UTF-8) format, we can use a command line tool … Continue reading

Posted in Uncategorized | Leave a comment

Script to find latitude and longitude

The following script utilize Yahoo geocode API to find longitude and langitude of any location. #!/bin/shconverter=”http://api.maps.yahoo.com/ajax/geocode?appid=onestep&qt=1&id=m&qs=”addr=”$(echo $1 | sed ‘s/ /+/g’)”values=”$(curl -s $converter$addr | cut -d\” -f13,15 |sed ‘s/[^0-9\.\,\-]//g; s/,$//’)”lat1=$(echo $values | cut -d, -f1)long1=$(echo $values | cut -d, -f2)echo … Continue reading

Posted in Uncategorized | Leave a comment

iMac v.s. AsusTek All-in-One PC

AsusTek All-in-One PC: Price: $1,719.26 at 2020pc.com (free shipping + no tax) General Type Personal computer Product Form Factor All-in-one Built-in Devices Touch screen Width 22.9 in Depth 2 in Height 19.5 in Weight 28.7 lbs Color Black Bundled with 3D … Continue reading

Posted in Uncategorized | Leave a comment