Skip to content

Instantly share code, notes, and snippets.

View jhchabran's full-sized avatar
🧀

JH Chabran jhchabran

🧀
View GitHub Profile
ld: warning: directory not found for option '-L/opt/local/lib'
./ext/purelib.rb:2: [BUG] Segmentation fault
ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-darwin11.0.0],
MBARI 0x6770, Ruby Enterprise Edition 2011.03
module Cloudkey
VERSION = "0.0.3"
end
require 'sinatra/base'
require 'sinatra/json'
module Photograph
class Service < ::Sinatra::Base
helpers Sinatra::JSON
def artist
unless @artist
puts "CWEIR"
" Installing bundles to /home/tech/.vim/bundle
Bundle 'gmarik/vundle'
Bundle 'tpope/vim-rails'
Bundle 'tpope/vim-cucumber'
Bundle 'tpope/vim-rake'
Bundle 'tpope/vim-bundler'
Bundle 'mileszs/ack.vim'
Bundle 'pangloss/vim-javascript'
Bundle 'mattn/gist-vim'
Bundle 'mattn/webapi-vim'
@jhchabran
jhchabran / autoexec.cfg
Created September 10, 2012 21:39
Dota 2 configs
dota_screen_shake "0"
dota_minimap_hero_size "700"
dota_apm
bind "g" dota_recent_event
alias "+range" "dota_range_display 1200"
alias "-range" "dota_range_display 0"
bind "1" "+range"
alias "sfrangeQ" "dota_range_display 200;alias sfrange sfrangeW"
alias "sfrangeW" "dota_range_display 450;alias sfrange sfrangeE"
def greet
"Hello you!"
end
tabswitcher # Repository root
/background.html # Extension's 'main view'
/manifest.json # Extension settings
task 'build', 'Build extension code into build/', ->
if_coffee ->
ps = spawn("coffee", ["--output", JAVASCRIPTS_PATH,"-- compile",COFFEESCRIPTS_PATH])
ps.stdout.on('data', log)
ps.stderr.on('data', log)
ps.on 'exit', (code)->
if code != 0
console.log 'failed'
tabswitcher # Repository root
/build # Generated Javascripts end there
/libs # Dependencies
/src # Our code
/background.html # Extension's 'main view'
/manifest.json # Extension settings
/Cakefile # Starts build task
tab =
id : 43
windowId : 4
url: "http://google.com"
title: "Google"