Commands to get commit statistics for a Git repository from the command line -
using git log, git shortlog and friends.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (defn create-function-call [param expr] | |
| "Create an sexp for calling expr with a first argument provided by a promise. | |
| If expr is a list (already in form suitable for a function call), insert the first argument at second position, | |
| otherwise turn expr into a function call expression, unless the function is an fn, which is simply returned. | |
| println -> (fn [param] (println param)) | |
| (* 2) -> (fn [param] (* param 2)) | |
A checklist for designing and developing internet scale services, inspired by James Hamilton's 2007 paper "On Desgining and Deploying Internet-Scale Services."
- Does the design expect failures to happen regularly and handle them gracefully?
- Have we kept things as simple as possible?
As configured in my dotfiles.
start new:
tmux
start new with session name:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # bash 4.1.5(1) Linux Ubuntu 10.04 Date : 2011-10-04 | |
| # | |
| # _______________| noise : ambient Brown noise generator (cf. white noise). | |
| # | |
| # Usage: noise [minutes=59] [band-pass freq center=1786] [wave] | |
| # ^minutes can be any positive integer. | |
| # Command "noise 1" will display peak-level meter. | |
| # | |
| # Dependencies: play (from sox package) |