lila/bin/lilarc

13 lines
193 B
Plaintext
Raw Normal View History

2012-08-01 03:38:07 -06:00
#!/bin/sh
2017-05-27 03:09:40 -06:00
PROD_URL="https://lichess.org"
2012-08-01 03:38:07 -06:00
lilalog () {
2012-08-01 03:38:07 -06:00
echo -e "\x1b[7m[lila]\x1b[0m $1"
}
curl_prod () {
2012-08-01 03:38:07 -06:00
lilalog "Test $PROD_URL"
curl -sL -w "%{http_code}" -o /dev/null "$PROD_URL"
}