I hereby claim:
- I am chaifeng on github.
- I am chaifeng (https://keybase.io/chaifeng) on keybase.
- I have a public key ASAZ6nDh_A9Wq_2C14rT8rSekONNNtguhyyuDHRRFkcVpQo
To claim this, I am signing this object:
| #!/bin/sh | |
| # Tomcat Control Script | |
| # | |
| # Usage: | |
| # ln -s /path/to/tomcatctl $HOME/apache-tomcat-6.0.37/ | |
| # sudo ln -s $HOME/apache-tom-6.0.37/tomcatctl /etc/init.d/tomcatctl | |
| # sudo /etc/init.d/tomcatctl status | |
| # | |
| # In crontab | |
| # */1 * * * * $HOME/apache-tomcat-6.0.37/tomcatctl monitor http://localhost:8080/ > /dev/null || $HOME/apache-tomcat-6.0.37/tomcatctl condrestart > /dev/null |
I hereby claim:
To claim this, I am signing this object:
| transfer() { | |
| if [ $# -eq 0 ]; then | |
| echo "No arguments specified. Usage:\necho transfer /tmp/test.md\ncat /tmp/test.md | transfer test.md"; | |
| return 1; | |
| fi | |
| tmpfile="$( mktemp -t transferXXX )"; | |
| query="$1"; | |
| [[ -z "$query" ]] && exit 1; | |
| if ! tty -s; then |
| 1.255.48.0/20 | |
| 2.59.128.0/22 | |
| 3.0.0.0/15 | |
| 3.5.0.0/16 | |
| 3.6.0.0/15 | |
| 3.8.0.0/13 | |
| 3.16.0.0/13 | |
| 3.24.0.0/14 | |
| 3.34.0.0/15 | |
| 3.80.0.0/12 |
| #!/bin/bash | |
| set -euo pipefail | |
| TITLE="$1" | |
| URL="$2" | |
| DB_PATH="./places.sqlite" | |
| PREFIX="${URL%%://*}://" | |
| HOST="${URL#$PREFIX}" | |
| HOST="${HOST%%/*}" |