Need to setup gpg-agent first, on OSX I use keychain (it also does ssh-agent)
$ brew info keychain
keychain: stable 2.8.5
User-friendly front-end to ssh-agent(1)
https://www.funtoo.org/Keychain
/usr/local/Cellar/keychain/2.8.5 (7 files, 108.5KB) *
/* chacha20 - 256 bits */ | |
// Written in 2014 by Devi Mandiri. Public domain. | |
// | |
// Implementation derived from chacha-ref.c version 20080118 | |
// See for details: http://cr.yp.to/chacha/chacha-20080128.pdf | |
function U8TO32_LE(x, i) { | |
return x[i] | (x[i+1]<<8) | (x[i+2]<<16) | (x[i+3]<<24); | |
} |
Note This is a little out of date. Rust has made some progress on some points, however many points still apply.
Swift shares Rust's enthusiasm for zero-cost abstractions, but also emphasizes progressive disclosure. Progressive disclosure requires that language features should be added in a way that doesn't complicate the rest of the language. This means that Swift aims to be simple for simple tasks, and only as complex as needed for complex tasks.
[alias] | |
ci = commit -v | |
co = checkout | |
l = log --oneline --graph --decorate | |
la = log --oneline --graph --decorate --all | |
lp = log -p | |
lpr = log -p --reverse | |
ll = log -3 | |
lr = log --oneline --decorate --reverse | |
ls = log --stat |
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
body { | |
height: 100%; | |
margin: 0; | |
width: 100%; | |
overflow: hidden; | |
} |
source 'https://rubygems.org' | |
gem "graphql", github: "rmosolgo/graphql-ruby", branch: "subscriptions" | |
gem "sinatra" | |
gem "thin" |
# Set our default provider for this Vagrantfile to 'vmware_appcatalyst' | |
ENV['VAGRANT_DEFAULT_PROVIDER'] = 'vmware_appcatalyst' | |
nodes = [ | |
{ hostname: 'gantry-test-5', box: 'phusion/ubuntu-14.04-amd64' }, | |
{ hostname: 'gantry-test-6', box: 'phusion/ubuntu-14.04-amd64' }, | |
] | |
Vagrant.configure('2') do |config| |
# Set our default provider for this Vagrantfile to 'vmware_appcatalyst' | |
ENV['VAGRANT_DEFAULT_PROVIDER'] = 'vmware_appcatalyst' | |
nodes = [ | |
{ hostname: 'fullbox', box: 'phusion/ubuntu-14.04-amd64' } | |
] | |
Vagrant.configure('2') do |config| | |
# Configure our boxes with 1 CPU and 384MB of RAM |
#!/bin/bash | |
# A script to set up a new mac. Uses bash, homebrew, etc. | |
# Focused for ruby/rails development. Includes many utilities and apps: | |
# - homebrew, rvm, node | |
# - quicklook plugins, terminal fonts | |
# - browsers: chrome, firefox | |
# - dev: iterm2, sublime text, postgres, chrome devtools, etc. | |
# - team: slack, dropbox, google drive, skype, etc |
#!/usr/bin/env bash | |
size=1024 # MB | |
mount_point=$HOME/tmp | |
name=$(basename "$mount_point") | |
usage() { | |
echo "usage: $(basename "$0") [mount | umount | remount | check | orphan]" \ | |
"(default: mount)" >&2 | |
} |