git format-patch -1 HEAD
OR
git format-patch -1 <SHA>
Edit: This list is now maintained in the rust-anthology repo.
| # ssh key generator data source expects the below 3 inputs, and produces 3 outputs for use: | |
| # "${data.external.ssh_key_generator.result.public_key}" (contents) | |
| # "${data.external.ssh_key_generator.result.private_key}" (contents) | |
| # "${data.external.ssh_key_generator.result.private_key_file}" (path) | |
| data "external" "ssh_key_generator" { | |
| program = ["bash", "${path.root}/../ssh_key_generator.sh"] | |
| query = { | |
| customer_name = "${var.customer_name}" | |
| customer_group = "${var.customer_group}" |
| #!/bin/sh | |
| echo Install all AppStore Apps at first! | |
| # no solution to automate AppStore installs | |
| read -p "Press any key to continue... " -n1 -s | |
| echo '\n' | |
| echo Install and Set San Francisco as System Font | |
| ruby -e "$(curl -fsSL https://raw.github.com/wellsriley/YosemiteSanFranciscoFont/master/install)" | |
| echo Install Homebrew, Postgres, wget and cask | |
| ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" |
| import java.lang.annotation.ElementType; | |
| import java.lang.annotation.Retention; | |
| import java.lang.annotation.RetentionPolicy; | |
| import java.lang.annotation.Target; | |
| import java.util.logging.Logger; | |
| import javax.inject.Inject; | |
| import javax.inject.Named; | |
| import javax.inject.Singleton; | |
| import javax.ws.rs.GET; | |
| import javax.ws.rs.POST; |
Principles of Adult Behavior
| { | |
| "product": { | |
| "title": "Between Battles", | |
| "id": 27540, | |
| "created_at": "2015-06-12T00:59:52Z", | |
| "updated_at": "2015-06-12T01:08:11Z", | |
| "type": "variable", | |
| "status": "publish", | |
| "downloadable": false, | |
| "virtual": false, |
| { | |
| "product": { | |
| "title": "Between Battles", | |
| "id": 27540, | |
| "created_at": "2015-06-12T00:59:52Z", | |
| "updated_at": "2015-06-12T01:08:11Z", | |
| "type": "variable", | |
| "status": "publish", | |
| "downloadable": false, | |
| "virtual": false, |
| # Usage: | |
| # source iterm2.zsh | |
| # iTerm2 window/tab color commands | |
| # Requires iTerm2 >= Build 1.0.0.20110804 | |
| # http://code.google.com/p/iterm2/wiki/ProprietaryEscapeCodes | |
| tab-color() { | |
| echo -ne "\033]6;1;bg;red;brightness;$1\a" | |
| echo -ne "\033]6;1;bg;green;brightness;$2\a" | |
| echo -ne "\033]6;1;bg;blue;brightness;$3\a" |
| # see https://www.topbug.net/blog/2013/04/14/install-and-use-gnu-command-line-tools-in-mac-os-x/ | |
| # core | |
| brew install coreutils | |
| # key commands | |
| brew install binutils | |
| brew install diffutils | |
| brew install ed --default-names | |
| brew install findutils --with-default-names |