This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
proxy-on () { | |
proxy="${1:? server:port}" | |
export http_proxy="${proxy}" | |
export https_proxy="${proxy}" | |
export ftp_proxy="${proxy}" | |
export rsync_proxy="${proxy}" | |
export all_proxy="${proxy}" | |
export HTTP_PROXY="${proxy}" | |
export HTTPS_PROXY="${proxy}" | |
export FTP_PROXY="${proxy}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" set debug=throw | |
" git ls-files | grep -Ev 'init.vim|.gitignore' | xargs rm | |
language message C | |
scriptencoding utf-8 | |
set shell=/bin/sh | |
let g:netrw_nogx = 1 | |
let g:loaded_node_provider = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setup_my_tmp() { | |
TMPDIR=/private/my_tmp | |
sudo mkdir -p "${TMPDIR}" | |
sudo mount_tmpfs "${TMPDIR}" | |
sudo chmod 1777 "${TMPDIR}" | |
export TMPDIR | |
} | |
if [[ $(stat -c '%a' '/private/my_tmp') = 1777 ]]; then | |
export TMPDIR='/private/my_tmp' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git rev-list HEAD...master --left-only | git diff-tree --no-commit-id --name-only --stdin | uniq |
OlderNewer