Instantly share code, notes, and snippets.

View gist:8cab9ce04db8084c5a5d55a1001c7ddc
### Keybase proof
I hereby claim:
* I am brcooley on github.
* I am brcooley (https://keybase.io/brcooley) on keybase.
* I have a public key ASCYxqvGZ3KdNelEla4wnadee5e-x5Sxeo6LNAm1MjJu8Ao
To claim this, I am signing this object:
View api-lolesports-com_docs.md

Unofficial documentation

This is an unofficial documentation for the internal lolesports.com api.

This documentation is uncomplete and currently only show all information I got so far. Please help me complete and correct this documentation.

Top level domain

The domain for the intern lolesports.com api is http://api.lolesports.com/api/.

View web_spotify_play.sh
#!/bin/sh
#
# A script to play/pause songs from the spotify web player
# You should pin the spotify tab, and modify the TAB_POS below
# (e.g. if Spotify is the 3rd tab, replace TAB_POS with ctrl+3)
#
# Requires xdotool, generally available from your package manager
# You'll probably want to bind this to a key
chr=`xdotool search --name chrome | tail -1`
View gunicorn
#!/bin/bash
### BEGIN INIT INFO
# Provides: gunicorn
# Required-Start: $all
# Required-Stop: $all
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: starts the gunicorn server
# Description: starts gunicorn using start-stop-daemon
View stylebot_hn
* {
color: inherit;
font-family: inherit;
font-size: inherit;
}
.comhead {
color: #aaa;
}
View gist:4571129
airport_data = [...]
min(calc_min(my_lat, my_long, airport_lat, airport_long) for airport_lat, airport_long in airport_data)
View large_token.txt
eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJrZXlzIjogW3siZGF0ZSI6ICIyMDExLTA3LTI1In0sIHsiZGF0ZSI6ICIyMDExLTA3LTI2In0sIHsiZGF0ZSI6ICIyMDExLTA3LTI3In0sIHsiZGF0ZSI6ICIyMDExLTA3LTI4In0sIHsiZGF0ZSI6ICIyMDExLTA3LTI5In0sIHsiZGF0ZSI6ICIyMDExLTA3LTMwIn0sIHsiZGF0ZSI6ICIyMDExLTA3LTMxIn0sIHsiZGF0ZSI6ICIyMDExLTA4LTAxIn0sIHsiZGF0ZSI6ICIyMDExLTA4LT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