This file contains 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
scheme: "Ocean" | |
author: "Chris Kempson (http://chriskempson.com)" | |
base00: "20242d" | |
base01: "272e36" | |
base02: "3e4954" | |
base03: "52606b" | |
base04: "969dac" | |
base05: "b3b8c3" | |
base06: "d7dae3" | |
base07: "ebedf3" |
This file contains 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
const gulp = require('gulp') | |
const gutil = require('gulp-util') | |
const path = require('path') | |
const spawn = require('child_process').spawn | |
const split = require('split') | |
const prettyHrtime = require('pretty-hrtime') | |
const TSC_LINE = /\d{1,2}:\d{1,2}:\d{1,2} [AP]M - (.+)/ | |
const TSC_ERROR = /(.+?: )(.+)/ | |
gulp.task('watch:typescript', function(cb) { |
This file contains 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 | |
set -euo pipefail | |
sudo sh -c 'echo "deb https://apt.dockerproject.org/repo ubuntu-$(lsb_release -cs) main" > /etc/apt/sources.list.d/docker.list' | |
curl -fsSL https://apt.dockerproject.org/gpg | sudo apt-key add - | |
sudo apt-key fingerprint 58118E89F3A912897C070ADBF76221572C52609D | |
sudo apt-get update | |
sudo apt-get -y install "docker-engine=1.13.1-0~ubuntu-$(lsb_release -cs)" |
This file contains 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
import tomlkit | |
import tomlkit.items | |
from pathlib import Path | |
def canonicalize_extras(entry): | |
canonicalized = {} | |
for key in sorted(entry.keys()): | |
canonicalized[key] = sorted(entry[key]) | |
return canonicalized |