Ansible module “apt” always return “changed: true” in Debian

Ansible module “apt” always return “changed: true” in Debian, when you try to install: php5-json because: $ sudo apt-get install php5-json Reading package lists… Done Building dependency tree Reading state information… Done Note, selecting ‘php5-common’ instead of ‘php5-json’ php5-common is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not ...

Problem during MySql update from 5.5 to 5.6 version

When you encountered the error message: mysql-server-5.6 : Depends: mysql-client-5.6 (>= 5.6.19-1~dotdeb.1) but it is not going to be installed during MySql update from 5.5 to 5.6 version, you should do: sudo apt-get install mysql-common=5.6.19-1~dotdeb.1 You can also check all available version with: sudo apt-cache showpkg mysql-common

Leaphly – Shopping cart built around REST specs. Shopping cart for developers. Shopping cart as a service

The Leaphly project makes it easier for developers to add cart functionality to the Symfony2 applications or to those applications that could consume REST API. http://leaphly.org/

Fixing sudo for NFS export with Vagrant

When you see this request for password: ==> default: Exporting NFS shared folders… ==> default: Preparing to edit /etc/exports. Administrator privileges will be required… Password: you can try this scrips: https://github.com/mitchellh/vagrant/tree/master/contrib/sudoers Description is here: https://github.com/mitchellh/vagrant/pull/3638

Testing Ansible Roles with Travis CI on GitHub

https://servercheck.in/blog/testing-ansible-roles-travis-ci-github

Ansible debug: Keep remote files and execute them manually

Set the environment variable ANSIBLE_KEEP_REMOTE_FILES=1 on local machine to keep files that Ansible copied to the remote host, so that you can execute them directly on the remote host yourself and thus troubleshoot them better: on local machine /Control Machine/: $ export ANSIBLE_KEEP_REMOTE_FILES=1 $ ansible-playbook ... on remote host /Managed Node/: $ cd ~/.ansible/tmp/ $ ...

Unit Testing Private Methods and Properties with PHPUnit

http://www.webtipblog.com/unit-testing-private-methods-and-properties-with-phpunit/

HTTPie is a command line HTTP client, a user-friendly cURL replacement

http://httpie.org

Homebrew: brew search reports Error: GitHub API Rate Limit Exceeded

export HOMEBREW_GITHUB_API_TOKEN=YOURAPITOKENWITHFUNKYNUMBERSHERE https://gist.github.com/christopheranderton/8644743

Homebrew: Unable to load dynamic library ‘/usr/local/Cellar/php55-imagick/3.1.0RC2/imagick.so

PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/local/Cellar/php55-imagick/3.1.0RC2/imagick.so’ – dlopen(/usr/local/Cellar/php55-imagick/3.1.0RC2/imagick.so, 9): Library not loaded: /usr/local/lib/libMagickWand-6.Q16.1.dylib Referenced from: /usr/local/Cellar/php55-imagick/3.1.0RC2/imagick.so Reason: image not found in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library ‘/usr/local/Cellar/php55-imagick/3.1.0RC2/imagick.so’ – dlopen(/usr/local/Cellar/php55-imagick/3.1.0RC2/imagick.so, 9): Library not loaded: /usr/local/lib/libMagickWand-6.Q16.1.dylib Referenced from: /usr/local/Cellar/php55-imagick/3.1.0RC2/imagick.so Reason: image not found in Unknown on ...