Skip to content

Instantly share code, notes, and snippets.

{"latest": "783", "link": "https://drive.usercontent.google.com/download?id=1iqq6wS3fLS-WGtYvIQGM4lyaBkcu9o5P&export=download"}
var bunyan = require('bunyan');
var log = bunyan.createLogger({name: "sandbox"}]});
var net = require('net');
var fs = require('fs');
var Muxer = module.exports = function Muxer(options) {
if (this.constructor.name !== 'Muxer')
return new Muxer(options);
this.services = [];
function connectionStatusReceived(status) {
if(status !== true) {
console.log("Ping got error", error);
setTimeout(function() {
esClient.ping().then(connectionStatusReceived,
connectionStatusReceived);
}, 3000);
}
else {
console.log("Ping got success");
10:55:18 /usr/lib/ruby/gems/1.8/gems/cabin-0.8.0/lib/cabin/mixins/logger.rb:12:in `included': undefined method `options' for #<Cabin::Subscriber:0x7fe9f6eaa7f8> (NoMethodError)
10:55:18 from /usr/lib/ruby/gems/1.8/gems/cabin-0.8.0/lib/cabin/channel.rb:105:in `call'
10:55:18 from /usr/lib/ruby/gems/1.8/gems/cabin-0.8.0/lib/cabin/channel.rb:105:in `allow_event?'
10:55:18 from /usr/lib/ruby/gems/1.8/gems/backports-3.6.7/lib/backports/tools/path.rb:24:in `all?'
10:55:18 from /usr/lib/ruby/gems/1.8/gems/cabin-0.8.0/lib/cabin/channel.rb:105:in `each'
10:55:18 from /usr/lib/ruby/gems/1.8/gems/cabin-0.8.0/lib/cabin/channel.rb:105:in `all?'
10:55:18 from /usr/lib/ruby/gems/1.8/gems/cabin-0.8.0/lib/cabin/channel.rb:105:in `allow_event?'
10:55:18 from /usr/lib/ruby/gems/1.8/gems/cabin-0.8.0/lib/cabin/channel.rb:195:in `publish'
10:55:18 from /usr/lib/ruby/gems/1.8/gems/cabin-0.8.0/lib/cabin/channel.rb:193:in `each'
10:55:18 from /usr/lib/ruby/gems/1.8/gems/cabin-0.8.0/lib/cabin/channel.rb:193:in `publish'
** New features
chgrp, chmod, chown, chcon, du, rm: now all display linear performance,
even when operating on million-entry directories on ext3 and ext4 file
systems. Before, they would exhibit O(N^2) performance, due to linear
per-entry seek time cost when operating on entries in readdir order.
Rm was improved directly, while the others inherit the improvement
from the newer version of fts in gnulib.
FROM alpine
RUN apk update
RUN apk add alpine-sdk
RUN apk add python autoconf automake zlib-dev libtool zip xz sed cmake clang
RUN git clone git://github.com/ninja-build/ninja.git && cd ninja && ./configure.py --bootstrap && cp ninja /usr/bin && ninja -t clean && ninja && cp ninja /usr/bin
RUN mkdir /build && cd /build && curl -s -O http://llvm.org/releases/3.7.0/llvm-3.7.0.src.tar.xz && tar -xf llvm-3.7.0.src.tar.xz
WORKDIR /build
RUN cd llvm-3.7.0.src && curl -s https://gist.githubusercontent.com/cl91/bb927df2525738502131/raw/0305140e75046954a92002bd6b31e7c14a971f94/0001-Add-support-for-linux-musl-in-build-system.-Fix-glib.patch | patch -p1 || exit 0
RUN cd /usr && curl -s https://gist.githubusercontent.com/cl91/bb927df2525738502131/raw/0305140e75046954a92002bd6b31e7c14a971f94/0001-Fix-namespace-pollution-of-preprocessor-macros.patch | patch -p1
RUN mkdir llvm-3.7.0.build && cd llvm-3.7.0.build && CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake -G Ninja -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_EXPORT_COMPILE_COMM
FROM alpine
RUN apk update
RUN apk add alpine-sdk
RUN apk add python autoconf automake zlib-dev libtool zip xz sed cmake clang
RUN git clone git://github.com/ninja-build/ninja.git && cd ninja && ./configure.py --bootstrap && cp ninja /usr/bin && ninja -t clean && ninja && cp ninja /usr/bin
RUN mkdir /build && cd /build && curl -s -O http://llvm.org/releases/3.7.0/llvm-3.7.0.src.tar.xz && tar -xf llvm-3.7.0.src.tar.xz
WORKDIR /build
RUN cd llvm-3.7.0.src && curl -s https://gist.githubusercontent.com/cl91/bb927df2525738502131/raw/0305140e75046954a92002bd6b31e7c14a971f94/0001-Add-support-for-linux-musl-in-build-system.-Fix-glib.patch | patch -p1 || exit 0
RUN cd /usr && curl -s https://gist.githubusercontent.com/cl91/bb927df2525738502131/raw/0305140e75046954a92002bd6b31e7c14a971f94/0001-Fix-namespace-pollution-of-preprocessor-macros.patch | patch -p1
RUN mkdir llvm-3.7.0.build && cd llvm-3.7.0.build && CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake -G Ninja -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_EXPORT_COMPILE_COMM
[765/765] Running all regression tests
FAILED: cd /build/cfe-3.7.0.build && /build/llvm-3.7.0.src/utils/lit/lit.py -sv --param clang_site_config=/build/cfe-3.7.0.build/test/lit.site.cfg /build/cfe-3.7.0.build/test
lit.py: lit.cfg:195: note: using clang: '/build/cfe-3.7.0.build/./bin/clang'
lit.py: lit.cfg:333: note: Did not find clang-interpreter in /build/cfe-3.7.0.build/./bin:/usr/local/bin
-- Testing: 8403 tests, 32 threads --
Testing: 0 .. 10.. 20.. 30..
FAIL: Clang :: Driver/lto.c (3312 of 8403)
******************** TEST 'Clang :: Driver/lto.c' FAILED ********************
Script:
--
Aug 08 00:09:34 vagrant systemd[1]: Starting Network Service...
Aug 08 00:09:34 vagrant systemd-networkd[653]: [/etc/systemd/network/ens33.network:2] Interface name is not ASCII clean or is too long, ignoring assignment: 00:0c:29:36:0a:a4
Aug 08 00:09:34 vagrant systemd-networkd[653]: lxcbr0: netdev ready
Aug 08 00:09:34 vagrant systemd-networkd[653]: Enumeration completed
Aug 08 00:09:34 vagrant systemd[1]: Started Network Service.
Aug 08 00:09:34 vagrant systemd-networkd[653]: eno16777728: Renamed to eth0
Aug 08 00:09:34 vagrant systemd-networkd[653]: eno33554952: Renamed to eth1
Aug 08 00:09:34 vagrant systemd-networkd[653]: eth1: Renamed to eno33554952
Aug 08 00:09:34 vagrant systemd-networkd[653]: eth0: Renamed to eno16777728
Aug 08 00:09:34 vagrant systemd-networkd[653]: lxcbr0: lxcbr0 : could not join netdev: Too many levels of symbolic links
"dependencies": {
"coffee-script": "1.8.0",
"component": "0.19.9",
"jade": "1.7.0",
"stylus": "0.49.3",
"underscore": "1.7.0"
},
"devDependencies": {
"elasticdump": "^0.12.0",
"phantomjs": "1.9.8"