openpgp4fpr:3d7c8d39e8c4df771583d3f0a8a091fd346001ca
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class BackAtOne(object): | |
@classmethod | |
def step_1(cls): | |
return "You're like a dream come true" | |
@classmethod | |
def step_2(cls): | |
return "Just want to be with you" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[email protected] /home/shane/git/signalk-server-node | |
├─┬ @serialport/[email protected] | |
│ ├─┬ @serialport/[email protected] | |
│ │ └── [email protected] deduped | |
│ ├─┬ @serialport/[email protected] | |
│ │ └── @serialport/[email protected] | |
│ ├─┬ [email protected] | |
│ │ └── [email protected] | |
│ ├── [email protected] deduped | |
│ ├── [email protected] |
I hereby claim:
- I am singlerider on github.
- I am singlerider (https://keybase.io/singlerider) on keybase.
- I have a public key ASDGFHR3Lwy18My2EgWpLJ7NbhjhSAYfM_DC1GZ1RoAy2go
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
websockets==4.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import time | |
import urllib | |
import urllib2 | |
from datetime import datetime, timedelta | |
URL = "https://api.gdax.com" | |
def candles(product): |
I hereby claim:
- I am singlerider on github.
- I am singlerider (https://keybase.io/singlerider) on keybase.
- I have a public key ASAWM1LE7BMLrdh73f4kW6c8Yp6uwjC5bXWdPXKqNK6nUgo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server = 'irc.twitch.tv' | |
port = 6667 | |
username = 'lorenzotherobot' | |
oauth_password = 'oauth:5fakeOuathud90jsdam' # get this from http://twitchapps.com/tmi/ | |
channel = "#singlerider" | |
from twisted.internet import reactor | |
from twisted.words.protocols import irc | |
from twisted.internet.protocol import ClientFactory | |
import time |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import requests # pip install requests | |
def report(args): | |
username = "github username" | |
bot_repo = "bot repository name (on username's account)" | |
github_token = "github token obtained from https://github.com/settings/tokens with scopes" | |
reporter = "user reporting issue" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import json | |
def urban(args): | |
word = args[0].replace(' ','%20') | |
word_url = 'http://api.urbandictionary.com/v0/define?term=' + word | |
word_resp = requests.get(url=word_url) | |
translated_word = json.loads(word_resp.content) | |
found_word = translated_word['list'][0]['word'] | |
definition = translated_word['list'][0]['definition'] |
NewerOlder