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
Generated at 2015-02-04 17:01:20 +0000 | |
Mixlib::ShellOut::ShellCommandFailed: package[libperl-dev] (logging::install_nxlog line 36) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100' | |
---- Begin output of apt-get -q -y install libperl-dev=5.14.2-6ubuntu2.4 ---- | |
STDOUT: Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
The following extra packages will be installed: | |
binutils cpp cpp-4.6 gcc gcc-4.6 libc-dev-bin libc6-dev libgomp1 libmpc2 | |
libmpfr4 libperl5.14 libquadmath0 linux-libc-dev manpages-dev | |
Suggested packages: |
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
module React_State_Machine | |
def check_intial_state | |
raise "no initial state set, please use `set_initial_state STATE`" unless get_current_state | |
end | |
def get_current_state | |
send(self.class.state_name) | |
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
Fetching gem metadata from https://rubygems.org/............. | |
Fetching version metadata from https://rubygems.org/... | |
Fetching dependency metadata from https://rubygems.org/.. | |
Resolving dependencies................................................. | |
Using rake 10.4.2 | |
Using multi_json 1.11.2 | |
Using jmespath 1.0.2 | |
Using aws-sdk-core 2.1.15 | |
Using aws-sdk-resources 2.1.15 | |
Using aws-sdk 2.1.15 |
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
# foo.rb | |
class Foo < ::Sinatra::Base | |
class << self | |
def dependencies; []; end | |
def setup_application!; end | |
end | |
get '/' do | |
'wubwub' |
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
require 'uri' | |
require 'net/http' | |
class Chunked | |
def initialize(data, chunk_size) | |
@size = chunk_size | |
if data.respond_to? :read | |
@file = data | |
end | |
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
require 'easy_set' | |
module Asset_Pipeline | |
class Mime_Types | |
include Easy_Set | |
set ".x3d", "application/vnd.hzn-3d-crossword" | |
set ".3gp", "video/3gpp" | |
set ".3g2", "video/3gpp2" |
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 | |
Ticks = 5 | |
Board_Size = 10 | |
Board_Height = 0...Board_Size | |
Board_Width = 0...(Board_Size * 2) | |
def print_board board | |
board.each_with_index do |row,y| | |
row.each_with_index do |cell,x| | |
print cell == 1 ? '*' : ' ' |
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
function ReplayableEventStore (settings) { | |
var self = this; | |
var config = { | |
warnings: def_value(settings.warns,true), | |
replayPre: def_value(settings.replayPre,true) | |
}; | |
self.preSubscribeEvents = {}; |
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
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |
OlderNewer