Skip to content

Instantly share code, notes, and snippets.

View hamiltont's full-sized avatar
🕵️‍♂️
huntin' wabbits

Hamilton Turner hamiltont

🕵️‍♂️
huntin' wabbits
View GitHub Profile
#!/usr/bin/env python
# print grid of all colors and brightnesses
# uses stdout.write to write chars with no newline nor spaces between them
# This should run more-or-less identically on Windows and Unix.
from __future__ import print_function
import sys
from colorama import init, Fore, Back, Style
init()
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
Unknown ruby string (do not know how to handle): jruby-1.7.8.
Unknown ruby string (do not know how to handle): jruby-1.7.8.
jruby-1.7.8 - #removing src/jruby-1.7.8..
Searching for binary rubies, this might take some time.
Unknown ruby string (do not know how to handle): jruby-1.7.8.
Unknown ruby string (do not know how to handle): jruby-1.7.8.
Unknown ruby string (do not know how to handle): jruby-1.7.8.
Unknown ruby string (do not know how to handle): jruby-1.7.8.
================================================================================
Verification Summary
| Test: sinatra-puma
| fortune : PASS
| plaintext : PASS
| db : PASS
| update : PASS
| json : PASS
| query : PASS
| Test: sinatra-puma-jruby
================================================================================
Running Tests...
================================================================================
-------------------------------------------------------------------------------- | Full ETA: --:--:--
Running Test: sinatra-puma
--------------------------------------------------------------------------------
INFO:root:Running setup module start (cwd=/home/vagrant/FrameworkBenchmarks/frameworks/Ruby)
INFO:root:Start completed, running verify
INFO:root:Running setup module stop (cwd=/home/vagrant/FrameworkBenchmarks/frameworks/Ruby)
-------------------------------------------------------------------------------- | Full ETA: 00:08:10
cd "deployment/vagrant-production"
vagrant up --provider=aws
vagrant ssh --command "cd ~/FrameworkBenchmarks && screen -L -d -m toolset/run-tests.py --install server --verbose && sleep 20"
input {
stdin {
type => "stdin-type"
}
#file {
# type => "syslog"
# path => [ "/var/log/*.log", "/var/log/messages", "/var/log/syslog" ]
# start_position => "beginning"
#}
input {
file {
type => "couchpotato"
path => [ "/logs/couchpotato/CouchPotato.log" ]
start_position => "beginning"
sincedb_path => "/dev/null"
}
}
#!/usr/bin/env node
var fs = require("fs");
var som = fs.readFileSync("./api.js", "utf-8");
var jsdom = require("jsdom");
function onError(error) {
console.log("ERROR: " + error.code + ": "+ error.message);
}
-------------------- install.sh --------------------
#install both java7 and java8
fw_depends java resin maven java8
-------------------- benchmark_config --------------------
# adds a test for java8
----------------------- # tests run ------------------------------------
tests = ["1", "1,", "0.23", # Single numbers
"1,5,7", "1,2,-3", "1,1000,12,1,1,1,1,1", # Lists
"1:2:10", "1:2", "10:-2:0", # Sequences
"1,2:1:5" # Complex
]
----------------------- # results! ------------------------------------