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