I hereby claim:
- I am jedberg on github.
- I am jedberg (https://keybase.io/jedberg) on keybase.
- I have a public key whose fingerprint is EC1E 7C90 FEA6 613B B7FC B131 3522 6FA6 1622 9E7B
To claim this, I am signing this object:
# Configure the AWS provider | |
provider "aws" { | |
region = "us-east-1" | |
} | |
# Create the IAM admin user | |
resource "aws_iam_user" "admin" { | |
name = "admin" | |
} |
# Convert fahrenheit to celcius | |
def f2c(temp): | |
c = ((temp-32)/9)*5 | |
return round(c, 2) | |
# Check if a file is older than some number of seconds. | |
import time, os, stat | |
def file_too_old(pathname, seconds=600): | |
try: | |
os.stat(pathname) |
#!/usr/bin/env python | |
import random | |
import sys | |
base_url="https://music-grid.surge.sh/#" | |
def make_notes(rows=10): | |
notes_string = "" | |
# for each row... | |
for i in range(rows): |
Corn Soup | |
4 ears corn (or 1.5 cans or 3 cups frozen corn) | |
One can creamed corn | |
One can whole corn. | |
1 Tbsp extra virgin olive oil | |
2 tbsp kosher/sea salt (use half for table salt) | |
¼ tsp paprika | |
½ onion diced | |
2 Tbsp unsalted butter |
#!/usr/bin/env python | |
from datetime import datetime as dt | |
from datetime import timedelta as td | |
from calendar import monthrange | |
import calendar | |
def make_bar(r): | |
return (int(round(r/10))*"*").ljust(10,'O') |
I hereby claim:
To claim this, I am signing this object:
hardstatus alwayslastline "%{= kr}%?%-Lw%?%{= rw}%n*%f %t%?(%u)%?%{= kr}%?%+Lw%?%{= kr} %=%H %l | %c %m/%d/%Y" | |
escape `a | |
term xterm-color | |
vbell off | |
startup_message off | |
screen -t mail | |
screen -t root | |
screen -t local |
regions = boto.ec2.regions() | |
for reg in regions: | |
conn = reg.connect() | |
instances = conn.get_all_instance_status() | |
for inst in instances: | |
if inst.events: | |
print "%s: %s\t%s" % (inst.id, | |
inst.events[0].description, | |
inst.events[0].not_after) |