Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
# config/initializers/omniauth.rb | |
module OmniAuth | |
module Strategies | |
# tell OmniAuth to load our strategy | |
autoload :Pixelation, 'lib/pixelation_strategy' | |
end | |
end | |
Rails.application.config.middleware.use OmniAuth::Builder do | |
provider :twitter, "app_name", "secret" |
This file contains hidden or 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
have_header: checking for dlfcn.h... -------------------- yes | |
"i686-pc-linux-gnu-gcc -o conftest -I/usr/include/ruby-1.9.1/i686-linux -I/usr/include/ruby-1.9.1/ruby/backward -I/usr/include/ruby-1.9.1 -I. -D_FILE_OFFSET_BITS=64 -O2 -march=pentium-m -pipe -mno-tls-direct-seg-refs -fno-strict-aliasing -fPIC conftest.c -L. -L/usr/lib -Wl,-R/usr/lib -L. -Wl,-O1,--hash-style=gnu -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/usr/lib -L/usr/lib -lruby19 -lpthread -lrt -ldl -lcrypt -lm -lc" | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: int main(int argc, char **argv) | |
4: { | |
5: return 0; |
This file contains hidden or 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
$ ruby extconf.rb | |
I, [2014-04-04T17:16:09.743900 #4384] INFO -- : [SKYLIGHT] fetching native ext; curr-platform=x86-linux; requested-arch=linux-x86; version=f2a0e15 | |
I, [2014-04-04T17:16:09.744192 #4384] INFO -- : [SKYLIGHT] attempting to fetch from remote; uri=https://github.com/skylightio/skylight-rust/releases/download/f2a0e15/libskylight.f2a0e15.linux-x86.a.gz | |
I, [2014-04-04T17:16:09.790964 #4384] INFO -- : [SKYLIGHT] fetching native ext; uri=https://github.com/skylightio/skylight-rust/releases/download/f2a0e15/libskylight.f2a0e15.linux-x86.a.gz; redirected=https://s3.amazonaws.com/github-cloud/releases/14909411/499f1604-ba30-11e3-943b-5a4c47c6cce8.gz?response-content-disposition=attachment%3B%20filename%3Dlibskylight.f2a0e15.linux-x86.a.gz&AWSAccessKeyId=AKIAISTNZFOVBIJMK3TQ&Expires=1396657029&Signature=sJyAM8GGhMDdib99WXnSsrhNlsM%3D | |
I, [2014-04-04T17:16:09.791146 #4384] INFO -- : [SKYLIGHT] attempting to fetch from remote; uri=https://s3.amazonaws.com/github-cloud/releases/14909411/499f1604-ba30-11e3 |
This file contains hidden or 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
EmberTodo.ItemController = Ember.ObjectController.extend({ | |
completed: function(key, value) { | |
if (arguments.length > 1){ | |
var item = this.get("content"); | |
console.log("initial value"); | |
console.log(item.get("completed")); | |
item.set("completed", value); | |
console.log("after value"); | |
console.log(item.get("completed")); | |
console.log("is dirty?"); |
This file contains hidden or 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
class BlackHoleStore | |
def logger | |
Rails.logger | |
end | |
def fetch( *args ) | |
yield | |
end | |
def read( *args ) |
This file contains hidden or 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
module Sanitize::Rails | |
module RSpecHelpers | |
class << self | |
def setup(sanitization_couplets) | |
@@sanitization_couplets = sanitization_couplets | |
end | |
def sanitization_couplets | |
@@sanitization_couplets | |
end | |
end |