Recently in anticipation of upgrading to Small Business Server 2011 I installed all the service packs and patches to make my SBS2003 Server upgrade ready. I must have installed an Exchange Service pack because the external out of office replys stopped working. Either...
James McDonald
Use kid3 to edit WMA tags
If you have a bunch of WMA files that don't have the correct meta-data associated with them and therefore don't show up correctly in Rhthymbox. To edit the tags kid3 does the job well. In Fedora just: yum install kid3 done.
A WORKING MYSQL QUERY SELF TABLE JOIN
I have a table holding the names of `items` to be loaned out mysql> select * from items; +----+-------+ | id | name | +----+-------+ | 1 | item1 | | 2 | item2 | | 3 | item3 | | 4 | item4 | | 5 | item5 | +----+-------+ 5 rows in set (0.00 sec) I have another...
Vietnam
Just some links I have posted for later reading http://www.haivenu-vietnam.com/traveltips-how.htm http://www.sapaadventure.com/traveller_reviews/Do_not_miss_it.html
MySQL Cannot find OUTFILE in /tmp due to systemd PrivateTmp setting
Update: Apparently systemd controlled services perform some sort of /tmp redirection. See below Weird problem Can't find mysql OUTFILE when writing it to /tmp I was using this mysql client command: SELECT A, B INTO OUTFILE '/tmp/result.txt' FIELDS TERMINATED BY ','...
PHP is Sometimes Insensitive
I have been trying to learn CakePHP which is a Model View Controller PHP development framework. But in the process I'm having to learn PHP and have discovered some interesting stuff. My first ow wow that's interesting moment was that class and function names are...
CakePHP 2.2.2 ./Console/cake: line 31: exec: php: not found
Problem: When trying to run the Cake 2.x Console you get the following error ./Console/cake: line 31: exec: php: not found Cause: PHP installed in non-standard path Solution: Add the the path to your php binary to the the path to the top of your cake ./Console/cake...
Google Mail Numeric Code: 7 when “User Agent Switcher for Chrome” is Installed
Problem: Just got an error returned when trying to access GMail from Google Chrome: "Temporary Error (404m)", "your Gmail account is temporarily unavailable" , "Numeric Code: 7" Cause: Using the "User-Agent Switcher for Chrome" for to test a mobile website I'm...
Configure CakePHP 2.x to Detect and Serve Mobile Browser Pages
Put here for later: http://madething.org/post/661607317/mobile-browser-detection-and-optimization-in-cakephp http://doctorfox.wordpress.com/2012/05/28/mobile-browser-detection-and-optimization-in-cakephp-made-simple/ Only thing needing to be added would be a cookie...
Convert XCF to PNG using xcftools and PHP ImageMagick Binding
An sample image (originally in GIMP xcf format): Becomes: Using: <?php $xcf2png = '/usr/bin/xcf2png'; $xcf_file = 'gimp_sample.xcf'; $jpg_file = 'gimp_sample.jpg'; $png_file = 'gimp_sample.png'; $tiled_file = 'gimp_tiled.png'; $cmd = $xcf2png . ' ' . $xcf_file . '...
