Tested with Apache Spark 1.3.1, Python 2.7.9 and Java 1.8.0_45 + workaround for Spark 1.4.x from @enahwe.
Download and install it from oracle.com
Tested with Apache Spark 1.3.1, Python 2.7.9 and Java 1.8.0_45 + workaround for Spark 1.4.x from @enahwe.
Download and install it from oracle.com
$ ssh -A vm
$ git config --global url."git@github.com:".insteadOf "https://github.com/"
$ cat ~/.gitconfig
[url "git@github.com:"]
insteadOf = https://github.com/
$ go get github.com/private/repo && echo Success!
Success!
I've taken the benchmarks from Matthew Rothenberg's phoenix-showdown, updated Phoenix to 0.13.1 and ran the tests on the most powerful machines available at Rackspace.
Framework | Throughput (req/s) | Latency (ms) | Consistency (σ ms) |
---|
-module(channels). | |
-compile(export_all). | |
make() -> | |
Ref = make_ref(), | |
Pid = spawn(?MODULE, channel, [Ref]), | |
{channel, Pid, Ref}. | |
channel(Ref) -> | |
receive |
Please read original blog post for reference: | |
http://blog.process-one.net/embedding-ejabberd-into-an-elixir-phoenix-web-application/ |
1> {ok, Data} = file:script("rebar.config.script"). | |
... | |
2> file:write_file("rebar.config", io_lib:fwrite("~p.\n", [Data])). | |
ok |
#!/usr/bin/env python3 | |
import http.client | |
import ssl | |
import urllib.parse | |
def boxcarpush(): | |
# Prepare the notification parameters | |
params = urllib.parse.urlencode({ |
require 'openssl' | |
def gen_key(name) | |
key = OpenSSL::PKey::RSA.new 1048 | |
file = File.new(name, "w") | |
file.write(key) | |
file.close | |
end | |
def get_key(name) |
!/usr/bin/perl -w | |
require LWP::UserAgent; | |
my $ua = LWP::UserAgent->new; | |
my $boxcarurl = 'https://new.boxcar.io/api/notifications'; | |
# Put your Boxcar token in this file: | |
my $accesstoken = `cat ~/.boxcartoken`; | |
chomp($accesstoken); |
<?php | |
curl_setopt_array( | |
$chpush = curl_init(), | |
array( | |
CURLOPT_URL => "https://new.boxcar.io/api/notifications", | |
CURLOPT_POSTFIELDS => array( | |
"user_credentials" => 'ACCESS_TOKEN', | |
"notification[title]" => 'message title', | |
"notification[long_message]" => '<b>Some text or HTML for the full layout page notification</b>', |