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 […]
Uncategorized
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
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
Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!