Skip to content

Instantly share code, notes, and snippets.

@ay65535
ay65535 / git_downloadAllbranches.sh
Last active January 2, 2016 19:19 — forked from mnogu/git.sh
ブランチを全部落とすワンライナー from https://gist.github.com/mnogu/3844699
for i in `git branch -r | grep -Ev "HEAD|master" | sed 's:origin/::g'`; do; git checkout --track -b $i origin/$i; done; git checkout master
@ay65535
ay65535 / build-zsh.sh
Last active August 29, 2015 14:19 — forked from nicoulaj/build-zsh.sh
#!/bin/sh
# Build Zsh from sources on Ubuntu.
# From http://zsh.sourceforge.net/Arc/git.html and sources INSTALL file.
PREFIX=/home/2012/ats/local
MANDIR=/home/2012/ats/local/share/man
BINDIR=/home/2012/ats/local/bin
INFODIR=/home/2012/ats/local/share/info
# Some packages may be missing
@ay65535
ay65535 / Vagrantfile
Created September 8, 2018 10:28 — forked from tmatilai/Vagrantfile
My global Vagrant configuration (~/.vagrant.d/Vagrantfile)
# URI of the local (caching) HTTP proxy
LOCAL_HTTP_PROXY = 'http://192.168.33.200:8123'
# Configures vagrant-cachier and vagrant-proxyconf.
# Should be called only on "local machine" providers.
def configure_caching(config)
if Vagrant.has_plugin?('vagrant-cachier')
config.cache.enable_nfs = true
config.cache.enable :gem
config.cache.enable :npm