I hereby claim:
- I am iScrE4m on github.
- I am djetelina (https://keybase.io/djetelina) on keybase.
- I have a public key whose fingerprint is 5746 01EB D7E4 F6A3 EA44 9F5D 0BB8 30A4 CB61 7A4A
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
let fetchRses = (apiUrl, method) => { | |
return fetch('/rses/api' + apiUrl, {credentials: "include", method: method}) | |
.then(res => { | |
switch (res.status) { | |
case 403: | |
throw 'Unauthorized request'; | |
case 404: | |
throw 'Not found'; | |
case 200: | |
return res.json() |
DROP TABLE IF EXISTS shopping_list; | |
DROP TABLE IF EXISTS recipe_made; | |
DROP TABLE IF EXISTS recipe_ingredients; | |
DROP TABLE IF EXISTS categorized_recipes; | |
DROP TABLE IF EXISTS recipe_category; | |
DROP TABLE IF EXISTS recipe; | |
DROP TABLE IF EXISTS stock; | |
DROP TABLE IF EXISTS ingredient; | |
DROP TABLE IF EXISTS ingredient_type; | |
DROP TABLE IF EXISTS unit; |
lsusb -d 1532:0a02 -v | |
Bus 001 Device 002: ID 1532:0a02 Razer USA, Ltd | |
Couldn't open device, some information will be missing | |
Device Descriptor: | |
bLength 18 | |
bDescriptorType 1 | |
bcdUSB 1.10 | |
bDeviceClass 0 (Defined at Interface level) | |
bDeviceSubClass 0 |
DEFAULT_USER='david' | |
export PATH=$PATH:~/.local/bin | |
export ZSH=/home/david/.oh-my-zsh | |
ZSH_THEME="powerlevel9k/powerlevel9k" | |
# POWERLEVEL stuff | |
POWERLEVEL9K_MODE='awesome-fontconfig' | |
POWERLEVEL9K_SHORTEN_DIR_LENGTH=3 |
from twisted.words.protocols import irc | |
from twisted.internet import reactor, protocol, defer | |
from twisted.python import log | |
class BetBot(irc.IRCClient): | |
nickname = "INSERT YOUR TWITCH USERNAME" | |
password = "oauth: GENERATE YOUR OAUTH TWITCH TOKEN SOMEWHERE" | |
def connectionMade(self): |