This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Exiting | |
/Users/adrien/code/adserver/backoffice/config/initializers/airbrake.rb:1:in `<top (required)>': uninitialized constant Airbrake (NameError) | |
from /Users/adrien/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/engine.rb:588:in `block (2 levels) in <class:Engine>' | |
from /Users/adrien/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/engine.rb:587:in `each' | |
from /Users/adrien/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/engine.rb:587:in `block in <class:Engine>' | |
from /Users/adrien/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/initializable.rb:30:in `instance_exec' | |
from /Users/adrien/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/initializable.rb:30:in `run' | |
from /Users/adrien/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/initializable.rb:55:in `block in run_initializers' | |
from /Users/adrien/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/initializable.rb:54:in `each' | |
from /Users/adrien/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rail |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'http://rubygems.org' | |
gem 'rake', "~> 0.9.2.2" | |
# Javascript engine | |
group :development do | |
gem 'heroku' | |
gem 'sauce' | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'http://rubygems.org' | |
gem 'rake', "~> 0.9.2.2" | |
gem 'heroku' | |
gem 'sauce' | |
# Asset template engines | |
# Gems used only for assets and not required | |
# in production environments by default. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface Stuff { | |
foo(s: string): string; | |
foo(n: number): number; | |
} | |
function sister(p: Stuff) { | |
p(709); | |
} | |
function act(p: Stuff) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'sinatra/base' | |
require './models/data' | |
require './models/business' | |
class EphemereApplication < Sinatra::Base | |
get '/' do | |
business.display_home | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# requires root permissions in /usr/bin/ | |
star = String.new | |
8.times { star += "*" } | |
Star = "\n#{star * 3}\n" | |
def newblock string | |
puts "\n#{Star}#{string}#{Star}\n" | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
separator = String.new | |
8.times { separator += '-' } | |
separator = "\n" + separator + "\n" | |
def newblock(text) | |
puts "\n#{separator}" + text + + "#{separator}\n" | |
end | |
newblock "Prerequisites (iconv)" | |
if not system("which iconv") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*******Show room info 2 | |
*******Get room info : http://preprod.blindtest.com/xml/room_infos/2.xml?lang=fr&server_id=1&key=4880 | |
Join by simple click | |
locked undefined | |
joinRoom | |
roomSelected.id 2 | |
roomSelected.eventSy undefined | |
joinRoom: roomId:2 pwd: undefined force:undefined | |
*** getRoomInfo *** | |
id 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Warning: addEventListener is not a function | |
Warning: addEventListener is not a function | |
Warning: createAccessibilityImplementation is not a function | |
Warning: _endInit is not a function | |
Warning: 'mx' has no property 'setDataProvider' | |
Warning: 'mx' has no property 'getDataProvider' | |
Warning: 'mx' has no property 'addItem' | |
Warning: 'mx' has no property 'addItemAt' | |
Warning: 'mx' has no property 'removeAll' | |
Warning: 'mx' has no property 'removeItemAt' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// uglify -b | |
function forgetVar() { | |
myLongVariableName = 2; | |
} | |
function dontForgetVar() { | |
var a = 2; | |
} |