This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Disable Chrom Swipe http://apple.stackexchange.com/questions/21236/how-do-i-disable-chromes-two-finger-back-forward-navigation | |
| defaults write com.google.Chrome AppleEnableSwipeNavigateWithScrolls -bool FALSE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| grep -rnw 'dir' -e 'string' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo killall AppleCameraAssistant |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ansible-playbook --private-key=/Users/mcallari/Projects/xx/xx/.vagrant/machines/portal/virtualbox/private_key --user=vagrant --connection=ssh --limit='portal' --inventory-file=/Users/xxx/.vagrant/provisioners/ansible/inventory --extra-vars={"ip_address":"172.22.22.99","project_name":"project","project_root":"/var/www/root/","project_docroot":"/var/www/docroot"} provisioning/site.yml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| http://unix.stackexchange.com/questions/22615/how-can-i-get-my-external-ip-address-in-bash | |
| dig +short myip.opendns.com @resolver1.opendns.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vagrant@guardian-portal:/var/www/guardian-portal/docroot/sites/all/themes/contrib$ yo aurora | |
| events.js:85 | |
| throw er; // Unhandled 'error' event | |
| ^ | |
| Error: Cannot find module './build/Release/shell' | |
| at Function.Module._resolveFilename (module.js:336:15) | |
| at Function.Module._load (module.js:278:25) | |
| at Module.require (module.js:365:17) | |
| at require (module.js:384:17) | |
| at Object.<anonymous> (/home/vagrant/.ndenv/versions/v0.12.0/lib/node_modules/generator-drupal-theme/node_modules/execSync/index.js:30:11) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git archive [branch] | gzip > [path/filename].tar.gz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -X PURGE -H "X-Acquia-Purge:[site.com]" -H "Accept-Encoding: gzip" http://url |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| If you need to restart VirtualBox. | |
| This fixes an issue such as: | |
| There was an error while executing `VBoxManage`, a CLI used by Vagrant | |
| for controlling VirtualBox. The command and stderr is shown below. | |
| Command: ["hostonlyif", "create"] | |
| sudo /Library/Application\ Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh restart |
NewerOlder