Skip to content

Instantly share code, notes, and snippets.

View ckelner's full-sized avatar
🐕‍🦺
Datadog

Chris Kelner ckelner

🐕‍🦺
Datadog
View GitHub Profile
@ckelner
ckelner / gce-machine-types.json
Created September 6, 2013 14:28
google compute engine machine types
200 OK
- Show headers -
{
"kind": "compute#machineTypeList",
"selfLink": "https://content.googleapis.com/compute/v1beta15/projects/twcpoc/zones/us-central1-a/machineTypes",
"id": "projects/twcpoc/zones/us-central1-a/machineTypes",
"items": [
{
@ckelner
ckelner / aws-price-web-links.txt
Created September 10, 2013 13:33
links for lists of machine types for AWS from pricing
{
"name": "data",
"args": [
{
"created_at": "Wed Oct 09 21:06:22 +0000 2013",
"id": 3.8804781227902e+17,
"id_str": "388047812279017472",
"text": "RT @lexilove313: \u201c@SorryImFromCali: When the weather is rainy and cold Starbucks and In-N-Out should deliver.\u201d OMGGGGG YESSSSSSS\ud83d\ude4c",
"source": "<a href=\"http:\/\/twitter.com\/download\/iphone\" rel=\"nofollow\">Twitter for iPhone<\/a>",
"truncated": false,
@ckelner
ckelner / rx7_list.txt
Created October 17, 2013 14:38
rx7 list
To Buy:
-------
- Fuses (2x 30A 1x 40A)
- 3x large vacuum plugs
- Battery
- Diff fluid
- Trans fluid
- shifter bushings
- electric fan (or try to use the 240 ones somehow)
- Fuel pump connector plug (GM weatherpak, 4 prong)
@ckelner
ckelner / BCN_2013.md
Last active December 27, 2015 09:09
Spain Trip 2013

#BCN 2013

Flights

Going

ATLANTA to DALLAS FT WORTH
American Flight #314
Take-off at: 12:45 PM Sunday Dec 08 2013
Lands at: 2:10 PM Sunday Dec 08 2013
Seats: 13A/B
@ckelner
ckelner / phantomjs_jasmine.txt
Created November 26, 2013 18:43
phantomjs direct
phantomjs test/run-jasmine.js http://localhost:7357?testing=true
TypeError: 'undefined' is not an object (evaluating 'document.body.querySelectorAll('#TrivialReporter span.finished-at')[0].innerText')
phantomjs://webpage.evaluate():2
phantomjs://webpage.evaluate():3
phantomjs://webpage.evaluate():3
GET https://test.grid.weather.com/providers//regions/false/zones
GET https://test.grid.weather.com/?_providerId=&_regionId=false
GET https://test.grid.weather.com/providers//regions/false/zones
------------------START--------------------
@ckelner
ckelner / issue_list_kelner_2013_12_03.txt
Created December 3, 2013 20:50
git issue list by order of solution execution
https://github.com/TheWeatherCompany/grid-console/issues/174
https://github.com/TheWeatherCompany/grid-console/pull/180
https://github.com/TheWeatherCompany/grid-api/issues/405
https://github.com/TheWeatherCompany/grid-api/issues/408
https://github.com/TheWeatherCompany/grid-api/issues/410
@ckelner
ckelner / aws_csv_totaler.py
Created February 3, 2015 17:47
dinky little py script to total up aws consolidated billing csvs. Needed because I have csvs w/ roughly 17mil rows in the ~7Gb file size range.
import csv
import sys
from decimal import Decimal
csv_file = open( sys.argv[1] )
count = 0
total_line_item_cost = Decimal(0)
for row in csv.reader( csv_file ):
count += 1
# get record type (column 4)
The days are long but the decades are short
I turned 30 last week and a friend asked me if I'd figured out any life advice in the past decade worth passing on. I'm somewhat hesitant to publish this because I think these lists usually seem hollow, but here is a cleaned up version of my answer:
1) Never put your family, friends, or significant other low on your priority list. Prefer a handful of truly close friends to a hundred acquaintances. Don’t lose touch with old friends. Occasionally stay up until the sun rises talking to people. Have parties.
2) Life is not a dress rehearsal—this is probably it. Make it count. Time is extremely limited and goes by fast. Do what makes you happy and fulfilled—few people get remembered hundreds of years after they die anyway. Don’t do stuff that doesn’t make you happy (this happens most often when other people want you to do something). Don’t spend time trying to maintain relationships with people you don’t like, and cut negative people out of your life. Negat