I hereby claim:
- I am jamtur01 on github.
- I am jamtur01 (https://keybase.io/jamtur01) on keybase.
- I have a public key whose fingerprint is 5CEC AE95 1A38 0FC6 C698 2FE8 3619 53C9 DEB2 8012
To claim this, I am signing this object:
Verifying that +jamtur01 is my openname (Bitcoin username). https://onename.io/jamtur01 |
input { | |
stdin { } | |
} | |
output { | |
stdout { | |
codec => rubydebug | |
} | |
} |
I hereby claim:
To claim this, I am signing this object:
require 'rubygems' | |
require 'digest/md5' | |
require 'pathname' | |
default_md5 = Digest::MD5.hexdigest(File.read('/etc/skel/public_html/index.html')) | |
homedirs = Pathname.glob('/home/*/').map(&:basename) | |
html = "our hard working users (#{homedirs.length})<br> <sub>generated at #{Time.now.strftime("%Y-%m-%d %H:%M:%S")}</sub><br>\n<ul>\n" | |
homedirs.each { |d| | |
index = Dir.glob("/home/#{d}/public_html/index.html") |
WARN [2015-01-01 07:54:15,620] riemann task 1 - riemann.config - riemann.pagerduty$pagerduty$fn__17733@5ab8195d threw | |
clojure.lang.ExceptionInfo: clj-http: status 400 {:orig-content-encoding nil, :trace-redirects ["https://events.pagerduty.com/generic/2010-04-15/create_event.json"], :request-time 2381, :status 400, :headers {"Connection" "close", "Content-Length" "110", "Content-Type" "application/json; charset=utf-8", "Date" "Thu, 01 Jan 2015 12:54:15 GMT", "Server" "nginx"}, :body "{\"status\":\"unrecognized object\",\"message\":\"Event object format is unrecognized\",\"errors\":[\"JSON parse error\"]}"} {:object {:orig-content-encoding nil, :trace-redirects ["https://events.pagerduty.com/generic/2010-04-15/create_event.json"], :request-time 2381, :status 400, :headers {"Connection" "close", "Content-Length" "110", "Content-Type" "application/json; charset=utf-8", "Date" "Thu, 01 Jan 2015 12:54:15 GMT", "Server" "nginx"}, :body "{\"status\":\"unrecognized object\",\"message\":\"Event object format is unreco |
; -*- mode: clojure; -*- | |
; vim: filetype=clojure | |
(logging/init {:file "/var/log/riemann/riemann.log"}) | |
; Listen on the local interface over TCP (5555), UDP (5555), and websockets | |
; (5556) | |
(let [host "0.0.0.0"] | |
(tcp-server {:host host}) | |
(udp-server {:host host}) |
Field name Description | |
---------- ----------- | |
MAIN.uptime Child process uptime | |
MAIN.sess_conn Sessions accepted | |
MAIN.sess_drop Sessions dropped | |
MAIN.sess_fail Session accept failures | |
MAIN.sess_pipe_overflow Session pipe overflow | |
MAIN.client_req_400 Client requests received, subject to 400 errors | |
MAIN.client_req_411 Client requests received, subject to 411 errors | |
MAIN.client_req_413 Client requests received, subject to 413 errors |
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'chatterbot/dsl' | |
require "twitter" | |
require 'faraday' | |
require 'typhoeus' | |
require 'typhoeus/adapters/faraday' | |
class FemalesBot | |
def start |
[cache] | |
STORAGE_DIR = /var/lib/graphite/ | |
CONF_DIR = /etc/carbon/ | |
LOG_DIR = /var/log/carbon/ | |
PID_DIR = /var/run/ | |
LOCAL_DATA_DIR = /var/lib/graphite/whisper/ | |
USER = _graphite | |
MAX_CACHE_SIZE = inf | |
MAX_UPDATES_PER_SECOND = 500 | |
MAX_CREATES_PER_MINUTE = 50 |
perl -pi -e '$.=0 if eof;print "---\nlayout: default\n---\n\n" if ($.==1)' *.md |