start new:
tmux
start new with session name:
tmux new -s myname
export const CACHE_STALE_AT_HEADER = 'x-edge-cache-stale-at'; | |
export const CACHE_STATUS_HEADER = 'x-edge-cache-status'; | |
export const CACHE_CONTROL_HEADER = 'Cache-Control'; | |
export const CLIENT_CACHE_CONTROL_HEADER = 'x-client-cache-control'; | |
export const ORIGIN_CACHE_CONTROL_HEADER = 'x-edge-origin-cache-control'; | |
enum CacheStatus { | |
HIT = 'HIT', | |
MISS = 'MISS', | |
REVALIDATING = 'REVALIDATING', |
{ | |
"name": "webpack-sass", | |
"version": "1.0.0", | |
"scripts": { | |
"start": "webpack-dev-server --open --mode development", | |
"build": "webpack -p" | |
}, | |
"devDependencies": { | |
"babel-core": "^6.26.0", | |
"babel-loader": "^7.1.4", |
#!/bin/sh | |
# Install Node.js on a Mac | |
# Requires xCode tools to be installed | |
# Install Homebrew | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" | |
# Install node | |
brew install node |
# This should be run on a new Linode Ubuntu 32-bit image to prepare it for hosting GTG | |
# To start, something like this works: | |
# scp prepare_server.sh [email protected]:/root | |
# First, install basic linux utilities (compilers, git, libssl) | |
cd /root | |
apt-get update |
#!/bin/bash | |
function yesno { | |
local yesno_response="yes" | |
echo -n "$1 ($yesno_response): " | |
read yesno_response_in | |
if test -n "${yesno_response_in}" ; then let yesno_response=yesno_response_in ; fi | |
YESNO_RESPONSE="N" | |
case $yesno_response in | |
[Yy]*) YESNO_RESPONSE="Y";; |