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 'csv' | |
require 'elasticsearch' | |
require 'securerandom' | |
file = ARGV.shift | |
unless file | |
warn "Usage: $0 <ledger file>" |
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 by Opal 0.10.0.dev, indentation fixed manually */ | |
/* source: a = true ? 2 : 0 rescue 10 */ | |
(function(Opal) { | |
Opal.dynamic_require_severity = "error"; | |
var OPAL_CONFIG = { method_missing: true, arity_check: false, freezing: true, tainting: true }; | |
var $a, self = Opal.top, $scope = Opal, nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, a = nil; | |
return a = (function() { | |
try { | |
(function() { |
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' | |
warn Process.pid | |
get '/' do | |
'hi' | |
end |
OlderNewer