Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am benichu on github.
  • I am bthouret (https://keybase.io/bthouret) on keybase.
  • I have a public key whose fingerprint is 27BE 8247 B2F3 50FE 033D 0CF4 246D A1D3 3A08 CA48

To claim this, I am signing this object:

// If width is less than 700px...
if ($(window).width() < 700) {
$("a").removeClass("modal lightbox");
$("body").css("background-size","cover");
}
else{
var bgImage = $('body').css('background-image').replace(/^url|[\(\)]/g, '').replace(/\"/g, '');
// $.backstretch(bgImage);
}
group :legacy do
gem 'mysql2'
gem 'reverse_markdown'
gem 'nokogiri'
end
# mouse behavior
set-option -g mouse on

Keybase proof

I hereby claim:

  • I am benichu on github.
  • I am bthouret (https://keybase.io/bthouret) on keybase.
  • I have a public key whose fingerprint is 27BE 8247 B2F3 50FE 033D 0CF4 246D A1D3 3A08 CA48

To claim this, I am signing this object:

# VI mode in the terminal
set -o vi
{
"name": "src",
"caption": "Image File",
"type" : "file",
"validate" : {
"required" : true
}
}
defmodule Fib do
def fib(0) do 0 end
def fib(1) do 1 end
def fib(n) do fib(n-1) + fib(n-2) end
end
@benichu
benichu / 0_reuse_code.js
Created October 2, 2013 02:42
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
= t('.active_timelines', count: asset.timelines.active.size)