Skip to content

Instantly share code, notes, and snippets.

View chubas's full-sized avatar

Rubén Medellín chubas

View GitHub Profile
@chubas
chubas / tmux-cheatsheet.markdown
Created November 30, 2015 16:46 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@chubas
chubas / .gitignore
Last active August 31, 2015 19:40 — forked from kleber-swf/.gitignore
# =============== #
# Unity generated #
# =============== #
[Tt]emp/
[Oo]bj/
[Bb]uild
[Ll]ibrary/
sysinfo.txt
# ===================================== #

The following document attempts to define a legend for easy specification of APIs for components. Any suggestions to improve are welcome.

Class Members
   + class property
   - instance property
  ~> listened events (socket)
  +> listened events (class/module)
  -> listened events (instance)
  <~ dispatched events (socket)
# Configure colors, if available.
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
c_reset='\[\e[0m\]'
c_user='\[\e[0;32m\]'
c_path='\[\e[1;34m\]'
c_git_clean='\[\e[0;37m\]'
c_git_staged='\[\e[0;32m\]'
c_git_unstaged='\[\e[0;31m\]'
else
c_reset=
@chubas
chubas / Gemfile
Created September 28, 2012 15:27 — forked from ivanacostarubio/Gemfile
ICANHAZTYPOS
source :rubygems
gem 'levenshtein-ffi', :require => 'levenshtein'
gem "rspec"
@chubas
chubas / about.md
Created March 19, 2012 18:31 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer
ul.menu a {color: #fff !important;}
pre, .section .gist .gist-file .gist-data pre {
font-family: 'Consolas',sans-serif !important;
letter-spacing: -1px !important;
color: #eee !important;
background-color: #000 !important;
}
div.gist-file, .gist-syntax, .gist-data{
line-height: 1.5 !important;
font-family: 'Consolas',sans-serif !important;
@chubas
chubas / uncompress function
Created September 20, 2010 20:50 — forked from codingpains/bash extract function
GunTarUntarRarBunZipWaitWhat
extract () {
if [ -f $1 ] ; then
case $1 in
*.tar.bz2) tar xvjf $1 ;;
*.tar.gz) tar xvzf $1 ;;
*.bz2) bunzip2 $1 ;;
*.rar) rar x $1 ;;
*.gz) gunzip $1 ;;
*.tar) tar xvf $1 ;;
*.tbz2) tar xvjf $1 ;;