Skip to content

Instantly share code, notes, and snippets.

View proxygear's full-sized avatar

Benoit Molenda proxygear

View GitHub Profile
@proxygear
proxygear / etl.rb
Last active January 15, 2020 15:06
class Etl < ProcessCommand
def initialize(params)
# init if required
end
def call!
# call dangerous thing here
end
end
/Users/proxygear/.rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks: [BUG] Bus Error
ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-darwin12.0.0]
-- Crash Report log information --------------------------------------------
See Crash Report log file under the one of following:
* ~/Library/Logs/CrashReporter
* /Library/Logs/CrashReporter
* ~/Library/Logs/DiagnosticReports
* /Library/Logs/DiagnosticReports
the more detail of.
@proxygear
proxygear / select.js.coffee
Created August 15, 2013 14:36
A select with marionette JS ?
ES.module 'Views', (Views, App, Backbone, Marionette, $, _)->
class Views.Select extends Marionette.ItemView
template: JST['select']
ui:
select: 'select'
events:
'change select': 'selected'
initialize: (options)->
@listenTo @model, 'reset', this.display, this
@selected = options.selected