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
var request = require('request'); | |
var fs = require('fs'); | |
var url = process.argv[2]; // url of the site | |
var certFile = process.argv[3]; // certificate from server | |
var ca = fs.readFileSync(certFile, 'ascii'); | |
var options = { | |
url: url, | |
// rejectUnauthorized: false, |
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
jruby -J-Djava.util.logging.config.file=logging.properties test.rb 2>&1 | grep FINE |
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
# A sample Gemfile | |
source "https://rubygems.org" | |
gem "jruby-httpclient", require: 'http_client' |
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
$ ant | |
Buildfile: /Users/richardn/projects/quorum-language/plugins/ParserPlugin/build.xml | |
-pre-init: | |
-init-private: | |
-init-user: | |
-init-project: |
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
quorum-language$ cd Quorum3/SourceCode/ | |
SourceCode$ java -jar ../../QuorumTomcat/dependencies/Quorum.jar -name Quorum -compile main.quorum TypeCheckTesterGenerated.quorum GenericResolution.quorum TemplatingTesterGenerated.quorum ChainingTester.quorum AccessModifierContext.quorum ErrorBlockLabels.quorum ObjectAssignmentContext.quorum Action.quorum ExceptionTester.quorum ObjectToPrimitiveBooleanCast.quorum ActionCall.quorum ExplicitCastOpcode.quorum ObjectToPrimitiveIntegerCast.quorum ActionCallContext.quorum ExpressionsTester.quorum ObjectToPrimitiveNumberCast.quorum ActionCallOpcode.quorum FlipBooleanOpcode.quorum ObjectToPrimitiveTextCast.quorum ActionCallResolution.quorum FormalParameterContext.quorum Operation.quorum ActionContext.quorum FullClassDeclarationContext.quorum OutputContext.quorum ActionExpressionListContext.quorum GenericContext.quorum OutputOpcode.quorum ActionOpcode.quorum GenericDeclarationContext.quorum PackageContext.quorum ActionsNoClassContext.quorum HashListIterator.quorum ParentAssign |
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 'protocol_buffers' | |
class User < ProtocolBuffers::Message | |
required :string, :name, 1 | |
required :string, :email, 2 | |
optional :int32, :logins, 3 | |
end | |
class Group < ProtocolBuffers::Message | |
repeated User, :users, 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
$ vagrant up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Checking if box 'ubuntu/trusty64' is up to date... | |
==> default: Clearing any previously set network interfaces... | |
==> default: Preparing network interfaces based on configuration... | |
default: Adapter 1: nat | |
==> default: Forwarding ports... | |
default: 8080 => 28080 (adapter 1) | |
default: 22 => 2222 (adapter 1) | |
==> default: Running 'pre-boot' VM customizations... |
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
$ toolset/run-tests.py --install server --test go | |
FWROOT is /home/vagrant/FrameworkBenchmarks | |
WARNING:root:results.json for test ec2 not found. | |
INSTALL: Installing server software (strategy=unified) | |
INSTALL: . $FWROOT/toolset/setup/linux/bash_functions.sh && . $FWROOT/toolset/setup/linux/prerequisites.sh (cwd=$FWROOTinstalls) | |
Prerequisites installed! | |
INFO:root:Running installation for directory /home/vagrant/FrameworkBenchmarks/frameworks/Go/go (cwd=/home/vagrant/FrameworkBenchmarks/frameworks/Go/go) | |
INFO:root:Loading environment from /home/vagrant/FrameworkBenchmarks/frameworks/Go/go/bash_profile.sh (cwd=/home/vagrant/FrameworkBenchmarks/frameworks/Go/go) |
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
$ vagrant up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Box 'ubuntu/trusty64' could not be found. Attempting to find and install... | |
default: Box Provider: virtualbox | |
default: Box Version: >= 0 | |
==> default: Loading metadata for box 'ubuntu/trusty64' | |
default: URL: https://vagrantcloud.com/ubuntu/trusty64 | |
==> default: Adding box 'ubuntu/trusty64' (v14.04) for provider: virtualbox | |
default: Downloading: https://vagrantcloud.com/ubuntu/trusty64/version/1/provider/virtualbox.box | |
==> default: Successfully added box 'ubuntu/trusty64' (v14.04) for 'virtualbox'! |
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
(vagrant-setup)$ vagrant up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Checking if box 'ubuntu/trusty64' is up to date... | |
==> default: Clearing any previously set forwarded ports... | |
==> default: Clearing any previously set network interfaces... | |
==> default: Preparing network interfaces based on configuration... | |
default: Adapter 1: nat | |
default: Adapter 2: hostonly | |
==> default: Forwarding ports... | |
default: 8080 => 28080 (adapter 1) |