https://news.ycombinator.com/item?id=9051220
[remote "upstream"]
url = https://github.com/neovim/neovim.git
fetch = +refs/heads/*:refs/remotes/upstream/*
fetch = +refs/pull/*/head:refs/pull/upstream/*
ּ_בּ | |
בּ_בּ | |
טּ_טּ | |
כּ‗כּ | |
לּ_לּ | |
מּ_מּ | |
סּ_סּ | |
תּ_תּ | |
٩(×̯×)۶ | |
٩(̾●̮̮̃̾•̃̾)۶ |
[user] | |
name = Joshua Timberman | |
email = joshua@housepub.org | |
[color] | |
ui = true | |
diff = true | |
status = true | |
branch = true | |
interactive = true | |
[core] |
# Gist for archival purposes, via the wayback machine, | |
# https://web.archive.org/web/20131222092914/http://brainspl.at/nginx.conf.txt | |
# - brainspl.at seems to be offline :( | |
# | |
# View other versions at https://web.archive.org/web/*/http://brainspl.at/nginx.conf.txt | |
# | |
# user and group to run as | |
user ez ez; | |
# number of nginx workers |
save-last-command() { | |
last_command=$(fc -nl 0) | |
command_name="$1" | |
read -r -d '' new_fun <<EOF | |
${command_name}() { | |
$last_command | |
} | |
EOF | |
eval "$new_fun" | |
} |
https://news.ycombinator.com/item?id=9051220
[remote "upstream"]
url = https://github.com/neovim/neovim.git
fetch = +refs/heads/*:refs/remotes/upstream/*
fetch = +refs/pull/*/head:refs/pull/upstream/*
include Chef::Mixin::Command | |
action :create do | |
size = new_resource.size | |
volumes = new_resource.volumes.times.map{|i| (i == 0 ? "/dev/sdf" : "/dev/sdf#{i}") } | |
setra = new_resource.blockdev_setra | |
volume_group = new_resource.volume_group | |
logical_volume = new_resource.name | |
mdadm_device = new_resource.mdadm_device | |
mount_point = new_resource.mount_point |
#!/bin/bash | |
for cookbook in $(find * -type d -maxdepth 0); do | |
git clone ./ ../${cookbook} | |
cd ../${cookbook} | |
git remote rm origin | |
git filter-branch --subdirectory-filter ${cookbook} -- --all | |
git gc --aggressive | |
done |
bash -c ' | |
cd ~/Desktop | |
curl -O http://joncowie.local/xcode.tar.gz | |
tar -zxf xcode.tar.gz | |
installer -pkg ~/Desktop/Install\ Xcode.app/Contents/Resources/Xcode.mpkg -target "/" |
## Knife plugin to set node environment | |
# See http://wiki.opscode.com/display/chef/Environments | |
# | |
## Install | |
# Place in .chef/plugins/knife/set_environment.rb | |
# | |
## Usage | |
# Nick-Stielaus-MacBook-Pro:chef-repo nstielau$ knife node set_environment mynode.net my_env | |
# Looking for mynode.net | |
# Setting environment to my_env |