Skip to content

Instantly share code, notes, and snippets.

View summerville's full-sized avatar

Tony Summerville summerville

View GitHub Profile
@jbenet
jbenet / simple-git-branching-model.md
Last active May 3, 2025 18:07
a simple git branching model

a simple git branching model (written in 2013)

This is a very simple git workflow. It (and variants) is in use by many people. I settled on it after using it very effectively at Athena. GitHub does something similar; Zach Holman mentioned it in this talk.

Update: Woah, thanks for all the attention. Didn't expect this simple rant to get popular.

@nathany
nathany / config.ru
Last active May 3, 2019 17:10
Magical Unicorn Configuration for Heroku
# add something like this to config.ru
# see https://github.com/kzk/unicorn-worker-killer
if Integer(ENV['UNICORN_KILLER'] || 0) != 0
require 'unicorn/worker_killer'
# Max memory size (RSS) per worker
use Unicorn::WorkerKiller::Oom, (350*(1024**2)), (400*(1024**2)), 30, true
end
@tonybrady
tonybrady / hs_to_pt.js
Created September 18, 2012 15:26
Create Pivotal Tracker ticket from Help Scout conversation (bookmarklet)
// Install:
// Add your own Pivotal Tracker API token and project ID into the code below
// Optionally (if you've added Help Scout as an external integration) fill in the integration ID - you can see this in the URL
// when you edit the Help Scout integration in Pivotal.
// Then copy the code into a new bookmark
// To use:
// When you are viewing a Help Scout conversation select the text you want to appear as the Pivotal Tracker story (optional - if you
// don't do this the story will be "See https://secure.helpscout.net/conversation/1234/1"). Then click the bookmarklet and a new
// story will be created in Pivotal. The response from Pivotal will be shown in a small window in the top right of the Help Scout page.