Category: Uncategorized

  • X10 Toys

    Some notes when I try to play with a bunch of X10 devices, XX20A (XC22A camera) is B/W, advertised to see 3x more than XCam2 color cameras but subjectively I don’t think it’s that good, also, it does not see as wide as the XC19A (Wide-Eye, which now turns out to be pretty good). Another…

  • Wholesale domain registration prices increased

    It’s been over a month to report but the wholesale prices of domain name for major extensions (.COM, .NET, .ORG, .INFO, .BIZ) increased by about 50 cents/year. For the majority of people with several names, it would not make a different, for those with hundreds or thousands, it’s a more significant impact. The trend for…

  • MySQL – Join changes starting 5.0.12

    If a SQL suddenly die after an upgrade, check your query and the changes to the JOIN, especially this could cause “Unknown column ‘X.XX’ in ‘on clause’ “. The reason being before 5.0.12, the comma operator and JOIN both had the same precedence, so the join expression t1, t2 JOIN t3 was interpreted as ((t1,…

  • Yahoo Search Marketing $100 Promo Coupon

    For new self-service accounts with minimum $30 deposit (meaning you get $130 for $30). Coupon: US2245 Link: http://searchmarketing.yahoo.com/arp/choose.php?o=US2245

  • MySQL slaves catch up with master

    Even if running “show slave status” will show there is no delay but it could still receiving data from the master. Check it by running “show processlist” on the master. If the status is “Writing to net”, it’s still sending data to that slave. If it’s “Has sent all binlog to slave; waiting for binlog…

  • Simple local backup with rsync on Windows

    If you already have rsync setup as a client on your Windows PC, you can also let it send files to any local folder/drive. In my case, I want to backup data on my PC to a USB drive. ECHO Backing up the hard drive (eg: C:\DATA) to a USB drive (G:) c: cd c:\…

  • CrimeReports.com

    I saw the news broadcast on TV the other day and they mentioned CrimeReports.com and I have to say it’s a very nice public service, don’t know what’s their business model just yet. It provides useful information about the police calls for all residents. Just put in a zipcode and you find a visual listing…

  • Solar lighting

    We bought a few boxes of Brinkmann Endura Coach solar light, they have a good classic look and the light are good when it’s on. The photocells are kinda unreliable, within 2-3 weeks and already at times they would not turn on at night. Guess you get what you pay for.

  • Shell script to check basic info

    root@xx [/scripts]# more check.sh #!/bin/sh echo “Uptime:” uptime echo “Disk free:” df -kh echo “Apache Processes:” ps -C ‘httpd’ | wc -l echo “MySQL Processes:” ps -C ‘mysqld’ | wc -l host=`host YOURDOMAIN.COM | awk ‘{print $4}’` one=`netstat -n –tcp | grep $host | wc -l` total=`netstat -n –tcp | wc -l` wait=`netstat -n –tcp…

  • iftop – bandwidth usage

    If you have never used iftop, you should, it’s beautiful, interactive, full of info. It showed us the bottle neck for a worker and boy, how easy that was comparing to having to monitoring the bandwidth through rrdtool (not real-time) or ifconfig. It’s really easy for a load balancer to saturate a much bigger pipe…