Setting Up Xdebug in XAMPP with PhpStorm

PhpStorm Xdebug installation

Xdebug is a PHP extension which provides debugging, profiling, code coverage, stack traces and many other capabilities.In this succinct tutorial, I will show us how to set up Xdebug that ships with XAMPP in PhpStorm. See the steps below.Open up php.ini (located at C:\path-to-xampp\php) for editing. Search for [XDebug] and un-comment all its entries. [php] zend_extension = "C:\xampp\php\ext\php_xdebug.dll" xdebug.profiler_append = … [Continue reading]

Review of Codelobster PHP IDE

Codelobster PHP IDE

Codelobster primarily is a free, portable integrated development environment (IDE) for PHP. It also has support for HTML, CSS and JavaScript.Some of the awesome features that make Codelobster tick includes:All code highlights depends on the code type, mixed code are also supported, thus the area of HTML will be highlighted as HTML, PHP as PHP, and JavaScript as JavaScript in a the same file. There is possibility of choice from … [Continue reading]

How to Disable Ads in uTorrent

Disable uTorrent ads

µTorrent (or uTorrent) is a free, ad-supported, closed source BitTorrent client. It is arguably the most widely used BitTorrent client.A lot of torrent freaks and indeed internet users hate it when their favorites applications are laden with obtrusive ads.I know the ads are necessary to keep free applications such as uTorrent free; the ads often displayed are about games. since I'm not a gaming freak and i won't even click on the ads, why … [Continue reading]

How to Add Categories and Post Tags to WordPress Custom Post Type

Custom post type for WordPress

If you created a custom post type in WordPress and couldn't find the categories and post tags taxonomies, do not fret because the solution is easy.To add categories and post tags to a custom post type, include the taxonomies argument to register_post_type().[php] function post_type_init() { $args = array( 'public' => true, 'label' => 'Demos', 'taxonomies' => array('category', 'post_tag') // The real deal … [Continue reading]

Detect Visual and Text Mode in WordPress TinyMCE Editor

WordPress TinyMCE Editor

For reason(s) best known to you, you might want to check if WordPress TinyMCE Editor is in visual (rich text) or text mode.The variable is_tinymce_active returns true if TinyMCE is in visual mode and false otherwise.[javascript] var is_tinymce_active = (typeof tinyMCE != "undefined") && tinyMCE.activeEditor && !tinyMCE.activeEditor.isHidden(); [/javascript]Alternatively, simply check if tinymce is … [Continue reading]

How to Enable the Disabled Delete Warning Dialog Box in Windows 8

Recycle Bin - select Properties

A little bit of info as to why am late to the Window 8 picture.I got for myself an Asus X551CA Windows 8 laptop (shameless affiliate link) earlier this year to replace my pretty old Lenovo laptop at home.I didn't immediately started using it; instead I kept it in a safe location pending when I would have the time to transfer my files and installed programs from the old PC to the new one.It dawn on me I won't ever have a free time; not … [Continue reading]

How to Force Firefox to Instantly Sync Your Browser

Firefox sync now

Firefox ships with a Sync service that synchronizes and save the following to its server - bookmarks, browser history, saved passwords, tabs, add-ons and preferences.The importance of a sync services such as Firefox sync cannot be over-emphasize in that they provide a central location for you to access your browser data from any device.I recently changed my windows laptop at home to Asus X551CA Windows 8 (affiliate link) laptop thus the … [Continue reading]

How to Write into a Read-Only File in Windows

Windows file properties

I downloaded a text (.txt) file some time ago. Each time I write into it and then try to save it, I am greeted with the following error.The file is set to read-only.Try again with a different file nameObviously (maybe not so obvious), the cause of the problem is - the file has a read-only property i.e. it can only be read but can't be written into.To make a "read-only" file writable, follow the short steps below.Navigate to … [Continue reading]