Step-by-step installtion of cGit on nginx without funky rewrite rules.
This is for
#!/bin/bash | |
if [ "$1" = "-h" -o "$1" = "--help" -o -z "$1" ]; then cat <<EOF | |
appify v3.0.1 for Mac OS X - http://mths.be/appify | |
Creates the simplest possible Mac app from a shell script. | |
Appify takes a shell script as its first argument: | |
`basename "$0"` my-script.sh |
This is a plain-text version of Bret Victor’s reading list. It was requested by hf on Hacker News.
Highly recommended things!
This is my five-star list. These are my favorite things in all the world.
A few of these works have had an extraordinary effect on my life or way of thinking. They get a sixth star. ★
function getRandomCoordinates(radius, uniform) { | |
// Generate two random numbers | |
var a = Math.random(), | |
b = Math.random(); | |
// Flip for more uniformity. | |
if (uniform) { | |
if (b < a) { | |
var c = b; | |
b = a; |
#! /bin/bash | |
# Please run as root user! | |
set -eu | |
output_dir="container-logs" | |
timestamp=$(date +%s) | |
generate_logs() { |