Skip to content

Instantly share code, notes, and snippets.

View vmg's full-sized avatar

Vicent Martí vmg

View GitHub Profile

gh-preview-bug-thing

Appears to be broken:

  1. Edit a markdown file on GH, in the web browser.
  2. Add the following coffee snippet.
//= require path/to/assets

gh-preview-bug-thing

Appears to be broken:

  1. Edit a markdown file on GH, in the web browser.
  2. Add the following coffee snippet.
//= require path/to/assets
@vmg
vmg / gist:1020018
Created June 10, 2011 23:29
LOLBUNDLERLOL
sunnycat:rails_autolink vicent$ bundle install vendor/gems
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /Users/vicent/Developer/.rvm/gems/ruby-1.8.7-p249/gems/bundler-1.0.11/lib/bundler/shared_helpers.rb:3.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /Users/vicent/Developer/.rvm/gems/ruby-1.8.7-p249/gems/bundler-1.0.11/lib/bundler/source.rb:162.
NOTE: Gem::SourceIndex#each is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#each called from /Users/vicent/Developer/.rvm/gems/ruby-1.8.7-p249/gems/bundler-1.0.11/lib/bundler/source.rb:162.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /Users/vicent/Developer/.rvm/gems/ruby-1.8.7-p249/gems/bundler-1.0.11/lib/bundler/source.rb:162.
NOTE: Gem::SourceIndex#each is deprecated wi
@vmg
vmg / gist:959251
Created May 6, 2011 16:07
2000 curated "that's what she said" jokes to train a Bayesian classifier
Wow! It's so much better when you do it faster!
Take it out and start working on it.
I wish you would finish already.
This thing is huge. I can hardly put my hand around it and it wont fit in my mouth.
When you push it down, it's supposed to rise back up.
I hate it when balls come near me.
Alright Justin, what am I doing wrong here, help me out cause it shouldn't take this long.
Wow, why do you only have one hand on there? Is it not big enough for both of them?
I think I cant swallow it anymore.
I like the long thick black ones.
Gist no es una funcionalidad de Git, es solo una feature mas de GitHub. Simplemente es una aplicacion web para compartir codigo, errores, texto... lo que sea.
Crea un gist publico y lo puedes compartir con quien sea solo pasando el link (los gist se leen desde el navegador).
Lo mejor de todo es que los gist se guardan en nuestro backend como repositorios de Git: eso permite hacer control de versiones (guardar una lista de todos los cambios que le hagas a un gist), y si lo necesitas, puedes clonar directamente a tu disco duro el gist entero, y viene con toda su historia! Perfecto para colaborar o prototipar.