Skip to content

Instantly share code, notes, and snippets.

View z-zawhtet-a's full-sized avatar

Zaw Htet Aung z-zawhtet-a

View GitHub Profile

youtube-dl add-on

This add-on is to:

  • bypass certification checking for youtude-dl (2015.04.26) on OSX (10.10.3)
  • pass through proxy (MU proxy)
  • download the best quality of audio or video
  • save to ~/Music/youtube-dl

note Since the latest update of youtube-dl (2015.08.23) and OSX (10.10.4), there is no need to bypass certificate anymore. The proxy also seems to be fixed (by importing system proxy.. maybe). However, the options will remain until I'm sure to take them out later.

requirements

@bluenex
bluenex / bash_envi.md
Last active May 16, 2018 06:18
My bash environment settings on Mac OSX including .bash_profile, .tmux.conf and .vimrc

Installation

brew install tmux
brew install reattach-to-user-namespace  # to make tmux's copy to clipboard possible
brew install vim  # upgrade vim to 7.4 to make copy to clipboard available

# git_hipster
curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh -o ~/.git-prompt.sh
curl -OL http://github.com/git/git/raw/master/contrib/completion/git-completion.bash
mv ~/git-completion.bash ~/.git-completion.bash