Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
#!/bin/bash | |
# Add Vagrant's NFS setup commands to sudoers, for `vagrant up` without a password | |
# Updated to work with Vagrant 1.3.x | |
# Stage updated sudoers in a temporary file for syntax checking | |
TMP=$(mktemp -t vagrant_sudoers) | |
cat /etc/sudoers > $TMP | |
cat >> $TMP <<EOF | |
# Allow passwordless startup of Vagrant when using NFS. |
watch ('.*\.php$') {|phpFile| run_php_unit(phpFile)} | |
def run_php_unit(modified_file) | |
system('clear') | |
if (system("phpunit -c phpunit.xml")) | |
system("notify-send 'All test passed'") | |
else | |
system("notify-send 'Test failed'") | |
end | |
end |
--- | |
- name: ensure required packages are installed for Java 7 | |
apt: name=$item state=latest update_cache=yes | |
with_items: | |
- python-software-properties | |
- name: Add Java repository to sources | |
action: apt_repository repo='ppa:webupd8team/java' |
#!/bin/bash | |
# Put this file at: .git/hooks/post-checkout | |
# and make it executable | |
# You can install it system wide too, see http://stackoverflow.com/a/2293578/685587 | |
PREV_COMMIT=$1 | |
POST_COMMIT=$2 | |
NOCOLOR='\e[0m' |
VBoxManage clonehd "source.vmdk" "cloned.vdi" --format vdi | |
VBoxManage modifyhd "cloned.vdi" --resize 51200 | |
VBoxManage clonehd "cloned.vdi" "resized.vmdk" --format vmdk |
https://github.com/eddiejaoude/phpunit-selenium-parallel