Age of Empire II color issue on Windows 7
There’s a color issue with Age of Empires 2 on Windows 7. You will get a corrupted color in game. Its not a driver issue or some directx compatibility. I think its just because of the Aero theme’s poor...
View ArticleFinally The Hardy Heron has arrived!
Yay, its arrived..! Linux Ubuntu 8.04 (Hardy Heron) free CDs. Requested it from https://shipit.ubuntu.com/ Kinda late, because i already downloaded and installed it since the first time released. And...
View ArticleCreate ISO Images from CD/DVD and Folder Files
With Ubuntu, you can create ISO disk Images directly from CD/DVD and folder files. Then create MD5 Checksum files. Assumed that the CD/DVD device is located at /dev/cdrom/ Turn a CD/DVD into an .iso $...
View ArticleMysql String Functions
Name Description ASCII() Return numeric value of left-most character BIN() Return a string representation of the argument BIT_LENGTH() Return length of argument in bits CHAR_LENGTH() Return number of...
View ArticleGoogle has change the Google Search Favicon
Baru sadar, waktu lagi nyari sesuatu di Google, ada yang beda pada tampilan halaman Google. Favicon Google berubah. favicon itu yang ada disebelah alamat URL pada address bar, dan juga biasanya ada di...
View ArticlePHP-GD: Resize Transparent Image PNG & GIF
By default, you will get black background if you resize a transparent image. To fix it, you need set alpha channel imagecolorallocatealpha to 127. With imagecolorallocatealpha, it will allocate a color...
View ArticlePHP-MySql: Select previous row and next row from current ID
During the dark age, the simplest way to get previous row from current ID was using this query: SELECT field1 FROM tablename WHERE id = ($currentId – 1) and to get next row: SELECT field1 FROM...
View ArticleOffline Mode on Spotify Linux
Unlike other desktop version, Spotify Linux version doesn’t have Menu to toggle to offline mode (at least until this post written). But if you use 1.0.47 or later, you should be able to toggle offline...
View ArticlePHP: Procedural vs. Object Oriented Coding Style
PHP allows you to write code in two flavours, one is procedural and the other is object oriented. You can even write procedural code in PHP5 and it will run without any problems. If you are not clear...
View ArticleWordPress Error: The plugin generated 1 characters of unexpected output...
This problem gave me a headache for a couple hours, just to found out that there was a white space before <?php. Next time you have this error too, check if there’s a white space before or after the...
View ArticleConvert PHP object to an array recursively
PHP: How to convert multi-dimensional / nested objects into an associative array recursively
View Article