Skip to content

Instantly share code, notes, and snippets.

@kebre001
kebre001 / cachet-monitor.py
Created August 6, 2016 21:22
Python script to replace cachet-monitor
import os
import subprocess
import httplib, urllib
import json
proc = subprocess.Popen(['curl -w %{time_total}\\n -o /dev/null -s "http://WEBSITE_TO_MONITOR/"'],
stdout=subprocess.PIPE, shell=True)
(out, err) = proc.communicate()
out = out.rstrip('n')
@kebre001
kebre001 / keybase.md
Last active October 20, 2017 23:15
keybase.md

Keybase proof

I hereby claim:

  • I am kebre001 on github.
  • I am kebre001 (https://keybase.io/kebre001) on keybase.
  • I have a public key whose fingerprint is CBA9 0BE1 90CE 18E8 475E FFAA D4D2 6AAD 2F35 C701

To claim this, I am signing this object: