Skip to content

Instantly share code, notes, and snippets.

@Luit
Last active December 19, 2015 01:29
Show Gist options
  • Save Luit/5876591 to your computer and use it in GitHub Desktop.
Save Luit/5876591 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
import datetime
import twitter
OAUTH_T = '' # You can't have my OAuth secrets
OAUTH_TS = ''
OAUTH_CK = ''
OAUTH_CS = ''
auth = twitter.OAuth(OAUTH_T, OAUTH_TS, OAUTH_CK, OAUTH_CS)
t = twitter.Twitter(auth=auth)
hour = datetime.datetime.now().hour % 12
if hour == 0:
hour = 12
herrie = ' '.join(['Deng' for x in range(hour)])
t.statuses.update(status=herrie)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment