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 ...

ferm – for Easy Rule Making

ferm is a tool to maintain complex firewalls, without having the trouble to rewrite the complex rules over and over again. ferm allows the entire firewall rule set to be stored in a separate file, and to be loaded with one command. The firewall configuration resembles structured programming-like language, which can contain levels and lists. ...

Ansible Coding Conventions

https://github.com/edx/configuration/wiki/Ansible-Coding-Conventions

Adding Remote Repositories

http://git-scm.com/book/en/Git-Basics-Working-with-Remotes $ git remote add pb git://github.com/paulboone/ticgit.git $ git remote -v origin git://github.com/schacon/ticgit.git pb git://github.com/paulboone/ticgit.git $ git fetch pb

How to fix stale git branch -r (delete phantom git branches)?

When git remote branch is deleted, but still appears in ‘branch -a’, you should: git remote show origin git branch -d branch-name git remote prune origin git gc --prune=now