Skip to content

Instantly share code, notes, and snippets.

# Base Settings
## C-z as prefix
# set-option -g prefix C-z
# unbind-key C-b
# bind-key C-z send-prefix
## Set a really long buffer
set -g history-limit 8096

Mole Poblano

  1. 150mg Almendras fritas
  2. 100mg chile mulato
  3. 100mg chile ancho
  4. 100mg chile pasilla -- largo, liso, y delgado
  5. 100mg pasas fritas
  • se pone todas las semillas del chile a tostar
http://dealspl.us/souplantation-coupons/424752p
@ricardochimal
ricardochimal / notes.md
Created September 6, 2011 04:56 — forked from uasi/vim.rb
Vim formula for Homebrew
 $ brew install python --framework
 $ mkdir ~/Library/Frameworks/
 $ cd ~/Library/Frameworks/
 $ ln -s /usr/local/Cellar/python/2.7.2/Frameworks/Python.framework .
 $ brew install -vd ./vim.rb
@ricardochimal
ricardochimal / cert.rb
Created May 10, 2011 18:49
generating ssl certs with subjectAltName domains
domain = "*.example.com"
subjectAltDomains = [ domain, "example.com" ]
require 'openssl'
puts "Generating public and private keys..."
key = OpenSSL::PKey::RSA.new(2048)
subject = "/C=US/ST=California/L=Los Angeles/O=Example Inc./CN=#{domain}"
cert = OpenSSL::X509::Certificate.new
" comment an entire visual block at once
" highlight the area however you want (V, CTRL+V) then
" ,c will comment the block
" ,u will uncomment the block
let b:comment_leader = '# '
au FileType haskell,vhdl,ada let b:comment_leader = '-- '
au FileType vim let b:comment_leader = '" '
au FileType c,cpp,java,php,js let b:comment_leader = '// '
au FileType sh,make,perl,ruby,python let b:comment_leader = '# '
au FileType tex let b:comment_leader = '% '
@ricardochimal
ricardochimal / gist:293517
Created February 3, 2010 09:48
256 color bash prompt
function smart_pwd {
local pwdmaxlen=25
local trunc_symbol=".."
local dir=${PWD##*/}
local tmp=""
pwdmaxlen=$(( ( pwdmaxlen < ${#dir} ) ? ${#dir} : pwdmaxlen ))
NEW_PWD=${PWD/#$HOME/\~}
local pwdoffset=$(( ${#NEW_PWD} - pwdmaxlen ))
if [ ${pwdoffset} -gt "0" ]
[color]
diff = auto
status = auto
branch = auto
[alias]
st = status
ci = commit
co = checkout