This file contains 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
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew install android-sdk | |
brew install sshpass | |
brew install autojump | |
brew install sqlite | |
brew install subversion | |
brew install brew-cask | |
brew install node | |
brew install ssh-copy-id |
This file contains 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
grunt.registerTask('mysql', 'Run MYSQL Server', | |
function() { | |
var done = this.async(); | |
var mysql = spawn('mysql.server', ['restart']); | |
done(); | |
} | |
); |
This file contains 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
# usage: ./snapdesk.sh user@localhost | |
TARGET=$1 | |
echo $TARGET; | |
ssh $TARGET << 'ENDSSH' | |
mkdir -p ~/snapdesk; | |
screencapture ~/snapdesk/1.png ~/snapdesk/2.png ~/snapdesk/3.png ~/snapdesk/4.png ~/snapdesk/5.png; | |
osascript -e 'tell application "System Events" to set picture of desktop 1 to "~/snapdesk/1.png"' | |
osascript -e 'tell application "System Events" to set picture of desktop 2 to "~/snapdesk/2.png"' |