Skip to content

Instantly share code, notes, and snippets.

View jasonamyers's full-sized avatar

Jason Myers jasonamyers

View GitHub Profile
@acolyer
acolyer / service-checklist.md
Last active January 30, 2024 17:39
Internet Scale Services Checklist

Internet Scale Services Checklist

A checklist for designing and developing internet scale services, inspired by James Hamilton's 2007 paper "On Desgining and Deploying Internet-Scale Services."

Basic tenets

  • Does the design expect failures to happen regularly and handle them gracefully?
  • Have we kept things as simple as possible?
@JoshMock
JoshMock / moveshit
Created July 11, 2013 01:17
Move windows around in AppleScript
try
tell application "Google Chrome"
set the bounds of the second window to {-1400, 0, -100, 900}
set the bounds of the first window to {100, 0, 1500, 2000}
end tell
end try
try
tell application "Mail"
set the bounds of the first window to {-1400, 0, -100, 900}
@egdelwonk
egdelwonk / gist:5052319
Created February 27, 2013 22:15
Setup post-receive hooks to checkout code to a webroot folder when pushing to a remote repo
STAGE_PATH=$1
REPO_PATH=$2
clear
echo 'Git Setup'
echo ''
echo '+--------------------------------------------------------+'
echo '| Setting up deployment repo |'
echo '|--------------------------------------------------------|'
printf "| Repo Dir: "
@jimbojsb
jimbojsb / gist:1630790
Created January 18, 2012 03:52
Code highlighting for Keynote presentations

Step 0:

Get Homebrew installed on your mac if you don't already have it

Step 1:

Install highlight. "brew install highlight". (This brings down Lua and Boost as well)

Step 2: