I have the habit of keeping the collation for my databases utf8_general_ci, but recently I had a table containing swedish cities and had to order them by name. The problem was that the swedish accents “åäöÅÄÖ” which normally go at the end of the alphabet were all over the place. mysql> SELECT * FROM cities […]

For years, I’ve found the fact that the integrated in WordPress WYSIWYG editor(TinyMCE) has so much buttons cut out by default, with no native way for the user to enable them(Font select, Font size select, Charmap, Cut, Copy, Paste, Format select, Style select, Forecolor, Backcolorpicker etc.). Here I showed you how you can enable Fontsize […]

There are tons of tutorials like this online, so I’ll keep it as short as possible. DON’T USE UNETBOOTIN TO CREATE BOOTABLE FLASH DRIVES!NO…REALLY DON’T. I made a bootable Debian Wheezy 7.4 drive yesterday using UNETBOOTIN and started the installation, everything seemed normal except for the missing option to choose from GUI or Console installation, […]

A lot of bloggers made the move to WordPress in the last few years, so I decided to write this article to explain to the beginner users what is WordPress really and help those of you wondering if they should give it a try. WordPress is a free web-based CMS(one of the most popular ones […]

While writing WordPress plugins you`ll occasionally need a way of creating a database table with your plugin, to store data for your features, oprtions etc.. This approach is not the best but it does the work. Important: Always do house-keeping on plugin uninstall. <?php /* * Create database for SERP History */ global $wpdb; if (!$wpdb->get_results("SELECT […]