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
def str = "Double quoted string" | |
assert !(str instanceof GString) | |
assert str instanceof String | |
def str2 = "Double ${str} string" | |
assert str2 instanceof GString | |
assert !(str2 instanceof String) |
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
#!/bin/sh | |
git fetch upstream | |
git checkout master | |
git merge upstream/master |
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
#!/bin/sh | |
alias dps='docker ps' | |
alias dpsa='docker ps -a' | |
alias di='docker images' | |
alias drm='docker rm' | |
alias drmi='docker rmi' | |
alias dstats='docker stats' | |
alias dc='docker-compose' |
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
#!/bin/sh | |
# Blindly updates all the applications previously installed using brew cask | |
brew update | |
brew cask list | xargs brew cask info | grep -A 1 "Not installed" | grep "github" | sed 's|https://github.com/caskroom/homebrew-cask/blob/master/Casks/\(.*\)\.rb|\1|' | xargs brew cask install | |
brew cask cleanup |