I hereby claim:
- I am evgeny-goldin on github.
- I am evgenyg (https://keybase.io/evgenyg) on keybase.
- I have a public key whose fingerprint is EB77 3E24 AD94 7DC4 51DF 0425 78AD 67B1 8052 C748
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| myip=$(curl http://www.wheremyipaddress.com/ 2>/dev/null | grep 'IP Location' | cut -d'>' -f4 | cut -d'<' -f1 | cut -d',' -f3) | |
| echo $myip | |
| /usr/bin/osascript <<-EOF | |
| tell application "System Events" | |
| activate | |
| display dialog "$myip" | |
| end tell |
| # Displays size diff between two commits | |
| # http://stackoverflow.com/a/10847242/472153 | |
| function gitsize() | |
| { | |
| args=$(git rev-parse --sq "$@") | |
| eval "git diff-tree -r $args" | { | |
| total=0 | |
| while read A B C D M P | |
| do | |
| case $M in |
| + sudo docker images | |
| REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE | |
| evgenyg-docker-docker.bintray.io/evgenyg/echo 89d2504 4349ea3bc834 1 seconds ago 702.3 MB | |
| evgenyg-docker-docker.bintray.io/evgenyg/echo latest 4349ea3bc834 1 seconds ago 702.3 MB | |
| <none> <none> a7b5e33bc208 38 seconds ago 702.3 MB | |
| <none> <none> 09ebb7ff2ac5 10 minutes ago 702.3 MB | |
| evgenyg/java jre-1.8 5571b16609af 2 days ago 685.5 MB | |
| evgenyg/ansible 1.8.4 ed29ede047bf 7 days ago 373.5 MB | |
| evgenyg/ansible latest ed29ede047bf 7 days ago 373.5 MB | |
| ubuntu 14.04.2 |
| class A | |
| { | |
| } |
| class A | |
| { | |
| } |
| <properties> | |
| <groovy-version>1.8.0</groovy-version> | |
| <gmaven-version>1.3</gmaven-version> | |
| </properties> | |
| ... | |
| <plugin> | |
| <groupId>org.codehaus.gmaven</groupId> | |
| <artifactId>gmaven-plugin</artifactId> |
| C:\Users\evgeny>java -version | |
| java version "1.6.0_27" | |
| Java(TM) SE Runtime Environment (build 1.6.0_27-b07) | |
| Java HotSpot(TM) Client VM (build 20.2-b06, mixed mode, sharing) | |
| C:\Users\evgeny>groovy -version | |
| Groovy Version: 1.8.3 JVM: 1.6.0_27 | |
| C:\Users\evgeny>groovy -e "print new File( 'c:' ).canonicalPath" | |
| C:\Users\evgeny |
| :duplicates FAILED | |
| FAILURE: Build failed with an exception. | |
| * What went wrong: | |
| Execution failed for task ':duplicates'. | |
| > java.lang.NullPointerException (no error message) | |
| * Try: | |
| Run with --info or --debug option to get more log output. |
| alias grw='clear && ./gradlew -S $*' | |
| alias pack='tar -czf' | |
| alias gc='git checkout $*' | |
| alias gs='git status' | |
| alias gw='git whatchanged $*' | |
| alias gl='git log --format=format:[%h]-[%cn]-[%cr]-[%s] -10 $*' | |
| # Git backup | |
| alias gitb='gitgc && rm -f ~/Dropbox/Backup/projects/${PWD##*/}.tar.gz && pack ~/Dropbox/Backup/projects/${PWD##*/}.tar.gz -X ~/git-backup-exclude.txt .' |