Skip to content

Instantly share code, notes, and snippets.

Tyler and robin oversee marketing -> project leads
phillip is director of operations - CRM and advancement, pointperson for salesforce
earth share has a number of legacy systems. never invested (8 years) in an IT/data department
it's been distributed across multiple teams
(thanks for assisting!)
robin (perk) and tyler launched the wordpress site in fall of 2018

simon sinek

@akellehe
akellehe / disassembly_of_frames.log
Last active September 18, 2017 21:46
Example of for(;;) entered multiple times, nested code blocks, and nested frames.
Line # Opcode Oparg
-----------------------------------------------------------------
1 0 LOAD_CONST 0 (<code object foo>)
2 LOAD_CONST 1 ('foo')
4 MAKE_FUNCTION 0
6 STORE_NAME 0 (foo)
7 8 LOAD_CONST 2 (<code object a_minus_b>)
10 LOAD_CONST 3 ('a_minus_b')
12 MAKE_FUNCTION 0
@akellehe
akellehe / cycles.py
Created April 25, 2017 23:23
Problems to look for memory leaks in
import gc
from guppy import hpy
class Node(object):
def __init__(self, name):
self.name = name
self.children = []
@akellehe
akellehe / queuereader.py
Last active April 25, 2017 22:42
A queuereader with a little problem.
import logging
import time
import random
import json
from nsq import Reader, run
from tornado.autoreload import start as autoreload
settings = {
'nsq_channel': 'andrew-kelleher',
* Why does a split dict get resized multiple times when there are only one reference (instance of a class) and once when there are many reference
* When does it go from a combined dict back to a split dict?
BUILD INTERFACE TO ASK ANONYMOUS QUESTIONS
def mod(X, Y):
return X - Y * (X / Y)
@akellehe
akellehe / 0_reuse_code.js
Created July 29, 2016 20:36
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console

Keybase proof

I hereby claim:

  • I am akellehe on github.
  • I am eggrollinabox (https://keybase.io/eggrollinabox) on keybase.
  • I have a public key whose fingerprint is C60E 4730 5FAF 8873 EB5D 7B8D 1ECC C4D0 7D83 2E78

To claim this, I am signing this object: