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 | |
| set -euo pipefail | |
| # Verify we're in a git repo | |
| git rev-parse --git-dir > /dev/null 2>&1 || { echo "Not a git repository"; exit 1; } | |
| # Abort if there are uncommitted changes | |
| if ! git diff-index --quiet HEAD -- 2>/dev/null; then | |
| echo "You have uncommitted changes. Stash or commit them first." | |
| exit 1 |
| #!/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-) |