Skip to content

Instantly share code, notes, and snippets.

View gtrabanco's full-sized avatar
:octocat:

Gabriel Trabanco gtrabanco

:octocat:
  • Spain
View GitHub Profile
@foonicorn
foonicorn / gist:e6696fb8697668427ee0
Created July 20, 2014 07:05
Install Homebrew without sudo and wget/curl
#!/bin/bash
HOMEBREW_URL="https://github.com/Homebrew/homebrew/archive/master.zip"
HOMEBREW_DOWNLOAD=homebrew-master.zip
HOMWBREW_UNZIPED=homebrew-master
HOMEBREW_DIR="$HOME/Homebrew"
# Use Python to download homebrew because wget and curl may not be installed.
python -c "import urllib2; r=urllib2.urlopen('$HOMEBREW_URL'); f=open('$HOMEBREW_DOWNLOAD','w'); f.write(r.read()); f.close()"
@v-yarotsky
v-yarotsky / .tmux.conf
Created March 22, 2012 11:57
Mac OS X tmux config
### INSTALLATION NOTES ###
# 1. Install Homebrew (https://github.com/mxcl/homebrew)
# 2. brew install zsh
# 3. Install OhMyZsh (https://github.com/robbyrussell/oh-my-zsh)
# 4. brew install reattach-to-user-namespace --wrap-pbcopy-pbpaste && brew link reattach-to-user-namespace
# 5. Install iTerm2
# 6. In iTerm2 preferences for your profile set:
# Character Encoding: Unicode (UTF-8)
# Report Terminal Type: xterm-256color
# 7. Put itunesartist and itunestrack into PATH
@simme
simme / Install_tmux
Created October 19, 2011 07:55
Install and configure tmux on Mac OS X
# First install tmux
brew install tmux
# For mouse support (for switching panes and windows)
# Only needed if you are using Terminal.app (iTerm has mouse support)
Install http://www.culater.net/software/SIMBL/SIMBL.php
Then install https://bitheap.org/mouseterm/
# More on mouse support http://floriancrouzat.net/2010/07/run-tmux-with-mouse-support-in-mac-os-x-terminal-app/