View umbrella.py
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
# -*- coding: utf-8 -*- | |
from json import loads | |
from requests import get | |
import location | |
from datetime import date | |
import time | |
from console import alert | |
# Customization here | |
APItoken = 'Insert your API token here' |
View Bullseye.bookmarklet
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
javascript:(function(){var p=document.createElement("p");p.innerHTML="<strong>Loading…</strong>";p.id="loadingp";p.style.padding="20px";p.style.background="#fff";p.style.left="20px";p.style.top=0;p.style.position="fixed";p.style.zIndex="9999999";p.style.opacity=".85";document.body.appendChild(p);document.body.appendChild(document.createElement("script")).src="https://gist.github.com/ttscoff/6109434/raw/Bullseye.js?x="+(Math.random());})(); |
View glb2login.py
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 | |
from bs4 import BeautifulSoup as bs | |
login = { | |
'action': 'login', | |
'user_name':'your username', | |
'password':'your password' | |
} | |
with requests.Session() as c: |
View glb2_character_calculator.py
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
# encoding: utf-8 | |
from functools import reduce | |
from operator import mul | |
heights_help = {'56':66, '57':67, '58':68, '59':69, '510':70, '511':71, '60':72, '61':73, '62':74, '63':75, '64':76, '65':77, '66':78, '67':79, '68':80} | |
traits_help = {'Unpr-edic-table': 'unpredictable', 'Blocking Back': 'hb_blocking_back', 'Solid Frame': 'qb_solid_frame', 'Nerves of Steel': 'nerves_of_steel', 'Speedster': 'wr_speedster', 'Ball Hawk': 'ball_hawk', 'Blitzer': 'lb_blitzer', 'Tactician': 'tactician', 'Dominator': 'wr_control', 'Man Specialist': 'man_specialist', 'Consistent Blocker': 'ol_consistent_blocker', 'Early Bloomer': 'early_bloomer', 'Run Stuffer': 'dl_run_stuffer', 'Technical Blocker': 'ol_tech_blocker', 'Sure Tackler': 'sure_tackler', 'Precision Passer': 'qb_precision_passer', 'Fearsome': 'fearsome', 'Long Reach': 'long_reach', 'Thick Skin': 'thick_skin', 'Coverage LB': 'lb_coverage', 'Quick Feet': 'quick_feet', 'Slippery': 'slippery', 'Shifty': 'wr_shifty', 'Slot Receiver': 'wr_slot_receiver', 'Pass Rusher': 'd |
View glb2calc.py
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
# -*- coding: UTF-8 -*- | |
from functools import reduce | |
from operator import mul | |
class glb2calc: | |
def __init__(self, position, height, weight, trait1, trait2, trait3, strength=5, speed=5, agility=5, stamina=5, awareness=5, confidence=5): | |
if stamina + strength + confidence + awareness + agility + speed < 35: | |
print('You have {0} attribute points left.'.format(35 - (stamina + strength + confidence + awareness + agility + speed))) | |
elif stamina + strength + confidence + awareness + agility + speed > 35: |
View movieDiary.py
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
#coding: utf-8 | |
from urllib import quote | |
import json | |
import re | |
import sys | |
import webbrowser | |
import requests | |
import htmlentitydefs | |
movie = quote(sys.argv[1]) |
View cleanLinksRiposte.js
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
javascript:window.location='clean-links://x-callback-url/clean?url='+encodeURIComponent(location.href)+'&x-success='+encodeURIComponent('drafts4://x-callback-url/runAction?text='+encodeURIComponent('['+document.title+'](||clipboard||)')+'&action=Send%2520to%2520Riposte&afterSuccess=Delete') |
View superstar.json
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
"superstar_avg": { | |
"skill_modifiers": { | |
"punt_power": { | |
"cost": -0.2, | |
"max": 10 | |
}, | |
"tackle_awareness": { | |
"cost": -0.2, | |
"max": 10 | |
}, |
View Toggle Invisible Files.scpt
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
set stateMent to do shell script "defaults read com.apple.finder AppleShowAllFiles" | |
if stateMent = "TRUE" then | |
do shell script "defaults write com.apple.finder AppleShowAllFiles FALSE" | |
else | |
do shell script "defaults write com.apple.finder AppleShowAllFiles TRUE" | |
end if | |
tell application "Finder" to quit | |
delay 2 | |
launch application "Finder" |
View Groceries: Drafts, Ita and Fantastical
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
fantastical://x-callback-url/parse?title=Ir%20ao%20supermercado&start=[[date]]%2019:00&end=[[date]]%2019:30&url=ita://openList%3Flist%3DCompras&x-source=Ita&x-success={{ita://addItem?list=Compras&items=[[draft]]}} |
OlderNewer