Often installing a package would pull a bunch of other dependencies into the system. But they won’t get removed by default when you remove the original package you installed. In Debian world there is “apt-get autoremove” Actually Yum has a config option to turn on auto removal! Just add […]
Blog
Take WayGenerator (https://github.com/JeffreyWay/Laravel-4-Generators) for example the installation instruction teaches us to install by adding "require-dev": { "way/generators": "~2.0" } into composer.json. and add 'Way\Generators\GeneratorsServiceProvider' into app/config/app.php ‘providers’ array However, if you do composer install –no-dev (install without require-dev packages) or when you deploy to PaaS platform like heroku. […]
composer require-dev and laravel provider registration problem
bash: for i in `gem list –no-versions`; do gem uninstall -aIx $i; done
Uninstall all ruby gems
After running Windows 7 in qemu/kvm with spice for a while i discovered there is horrible delay / sluggish experience when holding the Arrow keys on keyboard. Especially when working in cmd and programming often we need to seek the cursor around using arrow keys. so this problem gets very […]
Solve Qemu/kvm Windows arrow key repeat lag problem
Everytime you start kvm virt-manager, it ask for password to authenticate as root. There may be situation you want to be able to allow user to run virt-manager without entering password virt-manager in fedora 20 implements PolicyKit, therefore we can use policy kit rules to achieve this. Note: you may […]
Allowing non-root user to use virt-manager on Fedora 20
set header: ‘X-Requested-With: XMLHttpRequest’ curl -H 'X-Requested-With: XMLHttpRequest' http://localhost/api/blah
Using cURL to create AJAX request
Background: Mac OS X 10.9.1 macports 2.2.1 While I was setting up my PHP dev setup, i encountered a problem with phpunit I was installing PHP 5.4 (php54) $ port install php54 +pear $ port install php54-unit After installation I ran php -v and shows php 5.4.17 running “whereis php” […]
Getting phpunit to work on Mac OS X macport installation

After Chromium forking WebKit as Blink, here it comes another fork of WebKit layout engine – Qt WebEngine WebKit is the most popular layout engine used by web browsers or embedded web view component such as on Android. Chromium (or Google Chrome), Safari and newer versions of Opera browser, […]
Qt WebEngine – yet another fork of WebKit
Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!