Skip to content

Instantly share code, notes, and snippets.

4:18AM INF Will dial address addr={"id":"54296dca10da2d6e992f3f21da41a655a739802a","ip":"209.145.60.201","port":26656} module=pex
4:18AM INF Will dial address addr={"id":"5fd86bf10960fe7a3b4c728adb438736e2994bee","ip":"104.248.248.101","port":26656} module=pex
4:18AM INF Will dial address addr={"id":"7302de711441e1e0cd1312e68360246d21959730","ip":"185.202.239.227","port":26656} module=pex
4:18AM INF Will dial address addr={"id":"a4ae84f9f0e2397c886d9de22b9b90d98ede99a1","ip":"49.12.111.32","port":26656} module=pex
4:18AM INF Will dial address addr={"id":"f1c4c1d562d765f6102023a5d7b99538e64359aa","ip":"89.163.218.117","port":26651} module=pex
4:18AM INF Will dial address addr={"id":"fec67f3c46990e868b6770eafe7c13b61a4c7f2d","ip":"46.101.22.123","port":26656} module=pex
4:18AM INF Will dial address addr={"id":"09263a4168de6a2aaf7fef86669ddfe4e2d004f6","ip":"161.97.168.77","port":26656} module=pex
4:18AM INF Will dial address addr={"id":"9350333afd431efcc66067d625aad173ea4aa795","ip":"194.163.160.246","port":266
did:3:kjzl6cwe1jw146lcjfh8eb5bmnzg3a3rfupia1aupqdr68il3eb1qdr3osrkye8
extensions:
health_check:
smartagent:
bundleDir: "${SPLUNK_BUNDLE_DIR}"
collectd:
configDir: "${SPLUNK_COLLECTD_DIR}"
zpages:
#endpoint: 0.0.0.0:55679
receivers:
@atoulme
atoulme / cla.txt
Created July 23, 2018 06:59 — forked from rojotek/cla.txt
ConsenSys Apache 2 based CLA
ConsenSys AG
Individual Contributor License Agreement ("Agreement")
Thank you for your interest in ConsenSys AG (ConsenSys).
In order to clarify the intellectual property license
granted with Contributions from any person or entity, ConsenSys
must have a Contributor License Agreement ("CLA") on file that has
been signed by each Contributor, indicating agreement to the license
terms below. This license is for your protection as a Contributor as
well as the protection of ConsenSys and its users; it does not
@atoulme
atoulme / sodium-jnr.py
Created May 28, 2019 21:45 — forked from cleishm/sodium-jnr.py
JNR bindings generator for sodium
#!/usr/bin/env python
import sys
# This is not required if you've installed pycparser into
# your site-packages/ with setup.py
sys.path.extend(['.', '..'])
from pycparser import c_parser, c_ast, parse_file
class JNRRender(c_ast.NodeVisitor):
@atoulme
atoulme / cla.txt
Created March 12, 2019 05:39
cla deltap2p.txt
The Delta Foundation
For Peer To Peer Distributed Systems Engineering
Corporation
Individual Contributor License Agreement ("Agreement")
Thank you for your interest in The Delta Foundation For Peer To Peer
Distributed Systems Engineering Corporation (DeltaP2P).
In order to clarify the intellectual property license
granted with Contributions from any person or entity, DeltaP2P
must have a Contributor License Agreement ("CLA") on file that has

Keybase proof

I hereby claim:

  • I am atoulme on github.
  • I am tmio (https://keybase.io/tmio) on keybase.
  • I have a public key ASAzMKhyzU6AQTNQey0I3934o62ZE6WjErHpRi7oOpxo9Ao

To claim this, I am signing this object:

@atoulme
atoulme / collect_build_info_from_jenkins.rb
Created April 9, 2011 01:06
A simple script to grab the info about the last build on jenkins/hudson, take apart the XML and expose it as a Ruby object
require 'uri'
require 'net/http'
require 'rexml/document'
class BuildInfo
def self.getLastBuildInfo(server, job_name, username, password)
resp = nil
Net::HTTP.start(server) {|http|
req = Net::HTTP::Get.new("/job/#{job_name}/lastBuild/api/xml")
<?xml version='1.0'?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
Caused by: java.lang.RuntimeException: FourVarDynamicScope only supports scopes with four variables
at org.jruby.runtime.scope.FourVarDynamicScope.setValue(FourVarDynamicScope.java:135) ~[org.jruby.jruby_1.7.3/:na]
at org.jruby.ast.DAsgnNode.interpret(DAsgnNode.java:110) ~[org.jruby.jruby_1.7.3/:na]
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105) ~[org.jruby.jruby_1.7.3/:na]
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) ~[org.jruby.jruby_1.7.3/:na]
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) ~[org.jruby.jruby_1.7.3/:na]
at org.jruby.ast.RescueBodyNode.interpret(RescueBodyNode.java:108) ~[org.jruby.jruby_1.7.3/:na]
at org.jruby.ast.RescueNode.handleJavaException(RescueNode.java:207) ~[org.jruby.jruby_1.7.3/:na]
at org.jruby.ast.RescueNode.interpret(RescueNode.java:140) ~[org.jruby.jruby_1.7.3/:na]
at org.jruby.ast.BeginNode.interpret(BeginNode.java:83) ~[org.jruby.jruby_1.7.3/:na]