Skip to content

Instantly share code, notes, and snippets.

View arethsu's full-sized avatar

Emilia arethsu

View GitHub Profile

Keybase proof

I hereby claim:

  • I am arethsu on github.
  • I am arethsu (https://keybase.io/arethsu) on keybase.
  • I have a public key whose fingerprint is 44B7 F072 7823 B846 FF5B 0EF8 D5ED 48AE 917E AD99

To claim this, I am signing this object:

require 'net/http'
require 'net/https'
require 'json'
def current_time
"[#{Time.now.strftime('%Y-%m-%d %H:%M:%S')}]"
end
def send_push(url, title)
begin