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 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() |
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
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. |
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
================================================================================ | |
Verification Summary | |
| Test: sinatra-puma | |
| fortune : PASS | |
| plaintext : PASS | |
| db : PASS | |
| update : PASS | |
| json : PASS | |
| query : PASS | |
| Test: sinatra-puma-jruby |
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
================================================================================ | |
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 |
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
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" | |
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
input { | |
stdin { | |
type => "stdin-type" | |
} | |
#file { | |
# type => "syslog" | |
# path => [ "/var/log/*.log", "/var/log/messages", "/var/log/syslog" ] | |
# start_position => "beginning" | |
#} |
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
input { | |
file { | |
type => "couchpotato" | |
path => [ "/logs/couchpotato/CouchPotato.log" ] | |
start_position => "beginning" | |
sincedb_path => "/dev/null" | |
} | |
} |
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 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); | |
} |
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
-------------------- install.sh -------------------- | |
#install both java7 and java8 | |
fw_depends java resin maven java8 | |
-------------------- benchmark_config -------------------- | |
# adds a test for java8 |
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
----------------------- # 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! ------------------------------------ |