Skip to content

Instantly share code, notes, and snippets.

View arowla's full-sized avatar

Alison Rowland arowla

  • Stitch Fix
  • Chicagoland, USA
View GitHub Profile
@arowla
arowla / phone_screen.md
Last active September 14, 2023 19:19
Phone Screen Template

Phone Screen Template

30-minute phone call

For longer interviews, just increase 5 minute segments to 10, etc.

Agenda:

  1. 2 minutes introduction, confirmation time is still convenient (any hard stop?), and sharing of agenda.
  2. If remote candidate, are they willing to relocate?
@arowla
arowla / Dockerfile.testing
Created April 20, 2017 17:56
Docker-Goconvey
FROM golang:1.7.5-alpine
USER root
ARG port
ARG app_path
ENV PORT=$port
ENV APP_NAME=github.com/smartystreets/goconvey
ENV APP_SRC_PATH=${GOPATH}/src/$app_path
@arowla
arowla / create_underoneroof.py
Created November 30, 2016 06:20
A script to bring multiple repos into a single container repo, as subtrees/subdirectories, and preserving all commit history
#!/usr/bin/python
'''
Description
===========
This is a script to knit several repositories into one using a git subtree
strategy.
This script creates a directory `underoneroof` in the same location as this script,
which then contains each repository in a subdirectory of that, e.g.
@arowla
arowla / convert_multi.py
Created December 11, 2015 16:47
api.data.gov Elasticsearch JSON -> CSV multithreaded converter
import csv, json, sys, codecs, cStringIO, multiprocessing
class UnicodeWriter:
def __init__(self, f, dialect=csv.excel, encoding="utf-8-sig", **kwds):
self.queue = cStringIO.StringIO()
self.writer = csv.writer(self.queue, dialect=dialect, **kwds)
self.stream = f
self.encoder = codecs.getincrementalencoder(encoding)()
def writerow(self, row):
@arowla
arowla / .about.template.yml
Created November 18, 2015 20:31
.about.yml Template
---
# .about.yml project metadata
#
# Short name that acts as the project identifier (required)
name:
# Full proper name of the project (required)
full_name:
# The type of content in the repo
@arowla
arowla / manifest_base.yml
Created April 10, 2015 21:17
Broken CF Manifest Inheritance (with Dual Apps)
---
# all environments use these settings
applications:
- name: api
memory: 512M
path: .
- name: web
path: ../openFEC-web-app
buildpack: python_buildpack
- [ ] Extend and write new unit tests
- [ ] Extend and write new Selenium tests
- [ ] Document changes by adding/updating docstrings
- [ ] Document changes in the README
- [ ] Document changes in the environment setup Google doc
@arowla
arowla / gist:28ff63ba27c03f48b182
Created March 31, 2015 19:18
OpenFEC Commit Message Format: Bulleted list example
@arowla
arowla / build_fec_field_lists
Created March 3, 2015 16:41
Building FEC field lists (using Python to write Python)
common_fields = set(house_senate_fields.keys()) & set(pac_party_fields.keys()) & set(presidential_fields.keys()))
print "house_senate_fields"
house_senate_uniques = set(house_senate_fields.keys()) - set(common_fields.keys())
print "pac_party_fields"
pac_party_uniques = set(pac_party_fields.keys()) - set(common_fields.keys())
print "presidential_fields"
presidential_uniques = set(presidential_fields.keys()) - set(common_fields.keys())
for myset in [house_senate_uniques, pac_party_uniques, presidential_uniques]:
print "\n"
@arowla
arowla / health_recap_2014.md
Last active August 29, 2015 14:12
Health Recap Questions 2014

Health Recap 2014

  1. What was your biggest health triumph in 2014?
  2. What was the smartest health decision you made in 2014?
  3. What one word best sums up and describes your 2014 health experience?
  4. What was the greatest lesson about health you learned in 2014?
  5. What was the most loving service that you performed in 2014?
  6. What is your biggest piece of “unfinished (health) business” in 2014?
  7. What (about your health) are you most happy about completing in 2014?
  8. Who were the three people with the greatest impact on your health life in 2014?