Skip to content

Instantly share code, notes, and snippets.

View 91bananas's full-sized avatar

David Cushman 91bananas

View GitHub Profile
@91bananas
91bananas / course-to-come.txt
Created November 24, 2020 23:11
Courses I should play
------ Palm Springs ------
La Quinta Mountain
Jack Tournament PGA
Classic Club
Desert Willow
Indian Wells resort
Tahquitz 2
------ IE/LA/OC ------
@91bananas
91bananas / .D5_Store
Created September 21, 2017 16:02
The Penguin Virus
import os, sys
from threading import Timer
from random import randrange
def say():
os.system('say -v Princess penguin')
looper()
def looper():
t = Timer(randrange(15), say) # random number between 0 and 14 seconds
@91bananas
91bananas / courses.txt
Last active August 13, 2023 13:28
Golf courses that I have played
Highland Falls GC, Las Vegas NV
Florissant Golf Club, Florissant MO
Forest Park Dogwood, STL MO
Cresta Verde
Jurupa Hills
Indian Hills
Paradise Knolls **
Eagle Glen
Dos Lagos
Glen Ivy
@91bananas
91bananas / google.css
Last active December 6, 2016 18:08
css since google made their own damn site hideous
body.vasq #hdtbSum {
height: 40px;
}
body.vasq #hdtb-msb .hdtb-mitem.hdtb-msel, body.vasq #hdtb-msb .hdtb-mitem.hdtb-msel-pre {
height: 36px;
line-height: 40px;
}
#cnt.big {
expand region
git blame support
nicer git diffs
click to definition
open file by name
navigate to in tree view
linting
snippets
git history per file
clipboard history
CSS=`git rev-parse --git-dir`'/../static/frontend/css/bundles'
JS=`git rev-parse --git-dir`'/../static/frontend/js/bundles'
MESSAGE=''
ZERO=0
if [ -d "$CSS" ]; then
rm -r $CSS
MESSAGE+='Deleted frontend ccs\n'
fi
if [ -d "$JS" ]; then
body, .markdown-body {
font-family: sans-serif;
}
time-ago {
font-family: Comic Sans MS;
}
table.files td.icon .octicon-file-directory {
color: rgba(3, 102, 214, 0.46);
@91bananas
91bananas / trello.css
Last active August 17, 2017 16:29
Trello CSS to make card label text appear and still look good
.js-card-detail-labels-list .card-label {
min-width: 0;
}
.js-card-labels {
margin-top: -5px;
}
.js-card-labels .card-label {
border-radius: 2px;