See rvm/rvm#2315
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
+ 18:05:03 [31m/Users/basti/.rvm/scripts/base:31 [32m/Users/basti/.rvm/scripts/base:31[37m export __array_start rvm_path | |
+ 18:05:03 [31m/Users/basti/.rvm/scripts/base:36 [32m/Users/basti/.rvm/scripts/base:36[37m if[[ -n 5.0.5 ]] | |
+ 18:05:03 [31m/Users/basti/.rvm/scripts/base:37 [32m/Users/basti/.rvm/scripts/base:37[37m then__array_start=1 | |
+ 18:05:03 [31m/Users/basti/.rvm/scripts/base:41 [32m/Users/basti/.rvm/scripts/base:41[37m if(( 0 == 0 )) | |
+ 18:05:03 [31m/Users/basti/.rvm/scripts/base:43 [32m/Users/basti/.rvm/scripts/base:43[37m then[[ -n 022 ]] | |
+ 18:05:03 [31m/Users/basti/.rvm/scripts/base:44 [32m/Users/basti/.rvm/scripts/base:44[37m thenrvm_rvmrc_files=( /etc/rvmrc /Users/basti/.rvmrc ) | |
+ 18:05:03 [31m/Users/basti/.rvm/scripts/base:45 [32m/Users/basti/.rvm/scripts/base:45[37m then if[[ -n /Users/basti ]] | |
+ 18:05:03 [31m/Users/basti/.rvm/scripts/base:45 [32m/Users/basti/.rvm/scripts/base:45[37m then if cmdand[[ /Users/basti/.rvmrc -ef /Users/basti/.rvmrc ]] | |
+ 18:05:03 [31m/User |
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
+/Users/basti/.rvm/scripts/base:28> [[ -z 5.0.5 ]] | |
+/Users/basti/.rvm/scripts/base:35> export __array_start rvm_path | |
+/Users/basti/.rvm/scripts/base:40> [[ -n 5.0.5 ]] | |
+/Users/basti/.rvm/scripts/base:41> __array_start=1 | |
+/Users/basti/.rvm/scripts/base:45> (( 0 == 0 )) | |
+/Users/basti/.rvm/scripts/base:47> [[ -n 022 ]] | |
+/Users/basti/.rvm/scripts/base:48> rvm_rvmrc_files=( /etc/rvmrc /Users/basti/.rvmrc ) | |
+/Users/basti/.rvm/scripts/base:49> [[ -n /Users/basti ]] | |
+/Users/basti/.rvm/scripts/base:49> [[ /Users/basti/.rvmrc -ef /Users/basti/.rvmrc ]] | |
+/Users/basti/.rvm/scripts/base:50> rvm_rvmrc_files+=( /Users/basti/.rvmrc ) |
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(elasticsearch). | |
-export([autocomplete/1, autocomplete/0, | |
search/1, search/0, | |
start/0, | |
stop/0, | |
loop/1]). | |
-on_load(start/0). | |
%% Return an autocomplete request | |
autocomplete() -> |
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
devise_for :users, path: 'benutzer', | |
path_names: { | |
sign_in: "anmelden", | |
sign_up: "registrieren", | |
sign_out: "abmelden", | |
edit: "einstellungen" | |
} |
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
/Users/basti/.rvm/rubies/ruby-2.0.0-p247/bin/ruby -S rspec spec/unit/api_spec.rb spec/unit/callbacks_spec.rb spec/unit/complex_example_spec.rb spec/unit/event_spec.rb spec/unit/initial_state_spec.rb spec/unit/inspection_spec.rb spec/unit/localizer_spec.rb spec/unit/memory_leak_spec.rb spec/unit/new_dsl_spec.rb spec/unit/persistence/active_record_persistence_spec.rb spec/unit/persistence/mongoid_persistance_spec.rb spec/unit/simple_example_spec.rb spec/unit/state_spec.rb spec/unit/subclassing_spec.rb spec/unit/transition_spec.rb | |
[Coveralls] Set up the SimpleCov formatter. | |
[Coveralls] Using SimpleCov's default settings. | |
-- create_table("gates", {:force=>true}) | |
-> 0.0091s | |
-- create_table("readers", {:force=>true}) | |
-> 0.0022s | |
-- create_table("writers", {:force=>true}) | |
-> 0.0022s | |
-- create_table("transients", {:force=>true}) |
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
class A | |
class << self | |
protected | |
def protected_class_method | |
puts "I'm a protected class method! Called by #{caller.first}" | |
end | |
end | |
end | |
class B < A |
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
defmodule Life do | |
def run(board) when is_binary(board) do | |
board |> parse_board |> run | |
end | |
def run(board) do | |
IO.write("\e[H\e[2J") | |
Life.print_board board | |
:timer.sleep 1000 | |
board = next_board(board) |
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
"use strict"; | |
var _ = require("underscore") | |
, ForeverAgent = require("request/forever"); | |
exports.createKeepAliveAgent = function createKeepAliveAgent() { | |
var agent = new ForeverAgent(); | |
agent.close = function close() { | |
var self = this; |