Skip to content

Instantly share code, notes, and snippets.

@emad
emad / slackmoon.py
Last active October 24, 2018 23:20
keep my slack status in phase with the moon
import urllib
import json
import datetime
def emoji_phase(t):
emoji = [
":new_moon:", ":waxing_crescent_moon:",
":first_quarter_moon:",
":waxing_gibbous_moon:",":full_moon:",
":waning_gibbous_moon:", ":last_quarter_moon:",

Keybase proof

I hereby claim:

  • I am emad on github.
  • I am emad (https://keybase.io/emad) on keybase.
  • I have a public key whose fingerprint is 16FD DE47 0F8C 8D38 FB5E 536E 6B4C 47B7 4717 4743

To claim this, I am signing this object:

@emad
emad / gist:2637844
Created May 8, 2012 17:45
should i also open source our teehee script?
$ cat teehee
#!/bin/sh
tee hee
@emad
emad / gist:948886
Created April 29, 2011 19:39
great options!
options:
--help Print this help
-c Ignored
-C --context X Ignored
-u Ignored
-U --unified X Ignored
-L --label X Ignored
-q --brief Ignored
-y --side-by-side Ignored
-w --width X Ignored