I hereby claim:
- I am raphaelbs on github.
- I am raphaelbs (https://keybase.io/raphaelbs) on keybase.
- I have a public key ASDTorEHhsVyUWwWCT7VzzTOvxpsrIjv7bozK4ii8ioYNQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| LOCAL=/usr/local/bin | |
| TEST_WATCH="tw" | |
| TEST_COVERAGE="tc" | |
| JEST="./node_modules/jest/bin/jest" | |
| echo "Add test watch script \"$TEST_WATCH\" at $LOCAL/$TEST_WATCH" | |
| echo "#!/bin/bash" > "$LOCAL/$TEST_WATCH" | |
| echo "echo \"Testing w/ watch with pattern: \$1\"" >> "$LOCAL/$TEST_WATCH" |
| #!/bin/bash | |
| BRANCH=$(git remote show origin | sed -n '/HEAD branch/s/.*: //p') | |
| echo "Update changes" | |
| git fetch -u origin $BRANCH:$BRANCH | |
| git pull --ff-only origin $BRANCH:$BRANCH | |
| echo "Changing branch to $BRANCH" | |
| git checkout $BRANCH | |
| echo "Prunning local branches that were removed in remote..." | |
| git remote update --prune |
| #!/bin/bash | |
| # http://bit.ly/2ines3u | |
| # Wallpaper's directory. | |
| dir="${HOME}/.cache/himawaripy/" | |
| # export DBUS_SESSION_BUS_ADDRESS environment variable | |
| PID=$(pgrep gnome-session) | |
| export DBUS_SESSION_BUS_ADDRESS=$(grep -z DBUS_SESSION_BUS_ADDRESS /proc/$PID/environ | cut -d= -f2-) |