Clone
rtfeldman/elm-spa-example.
Download all deps: elm-package install --yes
.
Then time the builds running these commands:
rm -rf elm-stuff/build-artifacts
#!/bin/sh | |
# | |
# Look up the public IP address of an Amazon EC2 instance via | |
# the Amazon API, and connect to it using ssh. | |
# Defaults | |
region=eu-west-1 | |
identity_file=~/amazon/identity.pem | |
username=ubuntu |
# The SMTP server runs in a separate thread and stores sent messages in a list | |
# | |
# Usage: | |
# | |
# def test_fn(smtpd): | |
# host = smtpd.host | |
# port = smtpd.port | |
# | |
# # Run code that send email using an smtp server at host:port | |
# |
#!/bin/sh | |
# | |
# Use this script as your EDITOR to allow editing remote files with emacsclient. | |
# Works by connecting to the Emacs machine with SSH and using a suitable tramp prefix. | |
# How to reach this machine from the one that's running Emacs | |
ME=user@remote-host | |
# How to reach the machine that's running Emacs from this machine | |
THEY=user@host-running-emacs |
// -*- js2 -*- | |
// | |
// Works at least in Chrome. To setup the SOCKS proxy, use the -D option: | |
// | |
// ssh -D 5001 user@tunnel_endpoint_host | |
// | |
function FindProxyForURL(url, host) { | |
if(dnsDomainIs(host, "192.168.1.5")) { | |
return "SOCKS localhost:5001;"; |
[alias] | |
st = status --short --branch | |
dc = diff --cached -M -B -C | |
typo = commit --amend | |
fixup = commit --amend --no-edit | |
logk = log --graph --pretty=\"format:%C(yellow)%h%C(red)%d%Creset %s %C(green)%an, %ar%Creset\" | |
ffpull = pull --ff-only | |
ffmerge = merge --ff-only | |
ri = "!f() { rev=$(git rev-parse $1 2>/dev/null) || rev=HEAD~$1; git rebase -i $rev; }; f" | |
rc = rebase --continue |
exports.getSQLState = function (error) { | |
return error.code || '' | |
} | |
exports.getError = function (errorType) { | |
return function (error) { | |
return { | |
errorType: errorType, | |
severity: error.severity || '', | |
code: error.code || '', |
# Create the repository with "git init --bare", then edit config to match this: | |
[core] | |
repositoryformatversion = 0 | |
filemode = true | |
bare = false | |
worktree = /path/to/worktree | |
[receive] | |
denycurrentbranch = ignore |
Clone
rtfeldman/elm-spa-example.
Download all deps: elm-package install --yes
.
Then time the builds running these commands:
rm -rf elm-stuff/build-artifacts
#!/bin/sh | |
usage() { | |
echo "usage: get-workspaces.sh OUTPUT" | |
echo "" | |
echo "Print the names of workspaces on the given output" | |
echo "" | |
exit 2 | |
} |
from datetime import datetime | |
# See https://gist.github.com/672279/ | |
from inoi.util.random import sequential_id, monotonic_id | |
import httplib2 | |
import json | |
import random | |
import time | |
import sys |