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
2017-12-14 00:10:52.119468 I | rook: starting Rook v0.6.0-73.g42f9e27 with arguments '/usr/local/bin/rook osd' | |
2017-12-14 00:10:52.119689 I | rook: flag values: --admin-secret=*****, --ceph-config-override=/etc/rook/config/override.conf, --cluster-name=rook, --config-dir=/var/lib/rook, --data-device-filter=, --data-devices=vdb, --data-directories=, --force-format=false, --fsid=, --help=false, --location=, --log-level=INFO, --metadata-device=, --mon-endpoints=rook-ceph-mon10=10.3.47.80:6790,rook-ceph-mon12=10.3.151.127:6790,rook-ceph-mon6=10.3.190.106:6790, --mon-secret=*****, --node-name=coreb6.dev, --osd-database-size=1024, --osd-journal-size=1024, --osd-store=bluestore, --osd-wal-size=576, --private-ipv4=10.2.3.186, --public-ipv4=10.2.3.186 | |
2017-12-14 00:10:52.124518 I | cephmon: parsing mon endpoints: rook-ceph-mon10=10.3.47.80:6790,rook-ceph-mon12=10.3.151.127:6790,rook-ceph-mon6=10.3.190.106:6790 | |
2017-12-14 00:10:52.125066 I | cephmon: writing config file /var/lib/rook/rook/rook.config | |
2017-12-14 00:10:5 |
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
package main | |
import ( | |
"fmt" | |
"github.com/miekg/bitradix" | |
"net" | |
"reflect" | |
) | |
type ASN uint32 |
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
0 0 averages: 1: 0.000 3: 0.000 5: 0.000 10: 0.000 | |
1 6424 averages: 1: 4063.541 3: 1822.822 5: 1165.722 10: 612.015 | |
2 7719 averages: 1: 6376.026 3: 3496.081 5: 2355.059 10: 1289.190 | |
3 8068 averages: 1: 7445.972 3: 4792.804 5: 3391.262 10: 1934.688 | |
4 6745 averages: 1: 7002.720 3: 5346.468 5: 3999.519 10: 2392.709 | |
5 4500 averages: 1: 5420.057 3: 5106.380 5: 4090.298 10: 2593.378 | |
6 7254 averages: 1: 6579.921 3: 5715.612 5: 4664.233 10: 3037.263 | |
7 10196 averages: 1: 8866.704 3: 6986.454 5: 5667.644 10: 3718.987 | |
8 6387 averages: 1: 7298.442 3: 6816.404 5: 5798.143 10: 3973.091 |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>The d3 test</title> | |
<style> | |
.chart { | |
shape-rendering: crispEdges; | |
} | |
.main text { |
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
# using dnsperf from http://www.nominum.com/resources/measurement-tools | |
echo ======= | |
echo native-dns | |
echo ======= | |
dnsperf -d test.data -l 8 -p 5302 | |
echo ======= | |
echo ndns |
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
{"history":[{"step":"1","ts":1329497837,"monitor_id":"1","score":"19.5","offset":"-0.00483465194702148"},{"step":"1","ts":1329497837,"monitor_id":null,"score":"19.9","offset":"-0.00483465194702148"},{"step":"1","ts":1329497836,"monitor_id":"4","score":"20","offset":"0.00196516513824463"},{"step":"1","ts":1329497836,"monitor_id":null,"score":"19.9","offset":"0.00196516513824463"},{"step":"1","ts":1329496485,"monitor_id":"1","score":"19.5","offset":"-0.00433933734893799"},{"step":"1","ts":1329496485,"monitor_id":null,"score":"19.9","offset":"-0.00433933734893799"},{"step":"1","ts":1329496485,"monitor_id":"4","score":"20","offset":"0.00151002407073975"},{"step":"1","ts":1329496485,"monitor_id":null,"score":"19.9","offset":"0.00151002407073975"},{"step":"1","ts":1329495208,"monitor_id":"1","score":"19.5","offset":"-0.00351178646087646"},{"step":"1","ts":1329495208,"monitor_id":null,"score":"19.9","offset":"-0.00351178646087646"},{"step":"1","ts":1329495207,"monitor_id":"4","score":"20","offset":"0.000551104545593 |
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 perl | |
package Foo::Role; | |
use Moose::Role; | |
before BUILD => sub { | |
print "Foo::Role::BUILD\n"; | |
}; | |
package Foo; |
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
diff --git a/t/hello.mhtml b/t/hello.mhtml | |
index f36c488..02c01f6 100644 | |
--- a/t/hello.mhtml | |
+++ b/t/hello.mhtml | |
@@ -2,3 +2,8 @@ | |
Hello World <% $var %> | |
<% do { join ",", $r->params } %> | |
+<%perl> | |
+ if ($ARGS{403}) { |
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 perl | |
use strict; | |
use warnings; | |
use local::lib; | |
use lib '/Users/ask/src/Plack/lib'; | |
use Plack; | |
use Plack::Builder; | |
use HTTP::Exception; |
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
sub find_similar { | |
my ($self, $job, %args) = @_; | |
my $size = $args{size} || 5; | |
$args{offsite} //= ($job->onsite || '') eq 'no' ? 1 : 0; | |
my $like_text = join " ", map { $job->$_ } $job->editable_fields; | |
return $self->find(%args, |
NewerOlder