This file contains hidden or 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
# Agregar al final del archivo: ~/.bashrc | |
alias chaplin='coffee --watch --bare --output src/public/static/js/um/ frontend/chaplin/coffee/' | |
# para ejecutar: solo escribir en el terminal lo siguiente: | |
chaplin | |
This file contains hidden or 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
# Install Brunch | |
sudo npm install -g brunch | |
# clone skeleton(in the our project path) | |
brunch new https://github.com/paulmillr/brunch-with-chaplin | |
# |
This file contains hidden or 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
# @gf3’s Sexy Bash Prompt, inspired by “Extravagant Zsh Prompt” | |
# Shamelessly copied from https://github.com/gf3/dotfiles | |
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then | |
export TERM=gnome-256color | |
elif infocmp xterm-256color >/dev/null 2>&1; then | |
export TERM=xterm-256color | |
fi | |
if tput setaf 1 &> /dev/null; then |
This file contains hidden or 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
# edit Enviroment | |
vim /etc/environment | |
# add | |
no_proxy=localhost,127.0.0.0/8,*.local,local.*,*.red.corporativa | |
NO_PROXY=localhost,127.0.0.0/8,*.local,local.*,*.red.corporativa | |
all_proxy=socks://172.21.0.83:3128 |
This file contains hidden or 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
# Revert changes to modified files: | |
git reset --hard | |
# Remove all untracked files and directories: | |
git clean -fd |
This file contains hidden or 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
# discs list | |
fdisk -l | |
# mount | |
mount /dev/sda2 /media/WIN7/ -t ntfs -o nls=utf8,umask=0222 | |
# /etc/fstab: static file system information. |
This file contains hidden or 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
sudo apt-get install irb | |
sudo apt-get install ruby1.9.1 | |
# Install Ruby gem: thin Server | |
sudo gem install thin | |
# Install Ruby gem: sinatra - http://www.sinatrarb.com/ |
This file contains hidden or 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
# Go to: https://help.github.com/articles/set-up-git | |
# And later: https://help.github.com/articles/generating-ssh-keys | |
Enjoy! |
This file contains hidden or 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
# First, download the latest version from: http://www.sublimetext.com/2 | |
# In my case choice: Linux 64 bits [[http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.2%20x64.tar.bz2]] | |
cd ~/downloads | |
# unzip: Sublime Text 2.0.2 x64.tar.bz2 | |
tar -zxvf Sublime\ Text\ 2.0.2\ x64.tar.bz2 |
This file contains hidden or 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
# write how sudo | |
sudo apt-get update && sudo apt-get install git-core curl build-essential openssl libssl-dev | |
# clone node repo | |
# in ~/user | |
git clone https://github.com/joyent/node.git |