3 ms·
Ah, I like yours better for GitHub specifically, but for any website, my .bashrc got this as its latest addition tonight: # watch for a website to come back
by oxguy3 11y ago
Ah, I like yours better for GitHub specifically, but for any website, my .bashrc got this as its latest addition tonight:
# watch for a website to come back online
# example: github down? do `mashf5 github.com`
function mashf5() {
watch -d -n 5 "curl --head --silent --location $1 | grep '^HTTP/'"
}