Skip to content

Instantly share code, notes, and snippets.

View jawsthegame's full-sized avatar

Tom Fleischer jawsthegame

View GitHub Profile
### Keybase proof
I hereby claim:
* I am jawsthegame on github.
* I am jawsthegame (https://keybase.io/jawsthegame) on keybase.
* I have a public key whose fingerprint is 7E50 8C49 039A 4E0C 679B D2F6 35EC DA31 9DB7 938C
To claim this, I am signing this object:
@jawsthegame
jawsthegame / bucket_tags.py
Created June 28, 2018 18:36
Add Bucket Tags to all S3 Buckets
import boto3
s3 = boto3.resource('s3')
for bucket in s3.buckets.all():
tags = s3.BucketTagging(bucket.name)
try:
bucket_tags = [t for t in tags.tag_set if t['Key'] == 'bucket']
if len(bucket_tags) == 0:
tags.put(Tagging={'TagSet':tags.tag_set.append({'Key': 'bucket', 'Value': bucket.name})})
2:00 - 2:09 3338
2:10 - 2:19 9501
2:20 - 2:29 16656
2:30 - 2:39 34031
2:40 - 2:49 28239
2:50 - 2:59 21286
The computer is 2 feet west of the dog.
The barrel is 3 feet behind the computer.
"JSX" is 1 foot in front of the dog.
"JSX" is 1 foot high.
"good boy" is 1 foot west of the barrel.
"good boy" is 2 feet wide.
It is noon.
The drums are 5 feet behind the dog.
@jawsthegame
jawsthegame / gist:76d4ee5bbb656f479626
Created July 7, 2015 14:29
Balloon Boy (No Hoax) Lyrics
"BALLOON BOY NO HOAX" LYRICS
Ever had one of those days
Where everything went wrong
The shift hits the fan
Who the hell is Wolfe
(VERSE 1)
My life had changed
After that day
LIST:
- Doesn't have the flexibility of being able to fire a SELECT or DESELECT event from anywhere
- Will always deselect when the campaign collection changes, eliminating the possibility of running
multiple bulk ops without re-checking the same rows.
STORE:
- Introduces an initially confusing dependency between the CampaignListStore and the CampaignStore
Energy Source Mortality Rates; Deaths/yr/TWh
Coal - world average, 161
Coal - China, 278
Coal - USA, 15
Oil - 36
Natural Gas - 4
Biofuel/Biomass - 12
Peat - 12
Solar/rooftop - 0.44-0.83
[0x7ff0f4001a98] smf demux: Track name: untitled
[0x7ff0f4001a98] smf demux: Track name: Will
[0x7ff0f4001a98] smf demux: Track name: Beep
[0x7ff0f4001a98] smf demux: Track name: Bell1
[0x7ff0f4001a98] smf demux: Track name: Bell2
[0x7ff0f4001a98] smf demux: Track name: Sax
[0x7ff0f4001a98] smf demux: Track name: Fretless
[0x7ff0f4001a98] smf demux: Track name: Bass
[0x7ff0f4001a98] smf demux: Track name: Drumz
[0x7ff0f4001a98] smf demux: Track name: Original - Mello-D
var printMap = function(map) {
map.setOptions({
mapTypeControl: false,
zoomControl: false,
streetViewControl: false,
panControl: false
});
var popUpAndPrint = function() {
dataUrl = [];
BOUNCE ~-~-~-~-~-~-~