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:
| #!/usr/bin/env ruby | |
| require 'rubygems' | |
| require 'chatterbot/dsl' | |
| require "twitter" | |
| require 'faraday' | |
| require 'typhoeus' | |
| require 'typhoeus/adapters/faraday' | |
| class FemalesBot | |
| def start |
| 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 |
| ; -*- 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}) |
| 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 |
| 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") |
I hereby claim:
To claim this, I am signing this object:
| input { | |
| stdin { } | |
| } | |
| output { | |
| stdout { | |
| codec => rubydebug | |
| } | |
| } |
| Verifying that +jamtur01 is my openname (Bitcoin username). https://onename.io/jamtur01 |
| rake build:ext | |
| Checking that at least java 6 is installed... ok | |
| Checking for maven... ok | |
| Building telekinesis-1.0.0.jar... failed | |
| error: No such file or directory - /Users/james/Dropbox/src/telekinesis/ext/target/telekinesis-1.0.0.jar | |
| This is because of http://www.mkyong.com/java/maven-java_home-is-not-defined-correctly-on-mac-osx/ |
| input { | |
| file { | |
| path => "/var/log/auth.log" | |
| } | |
| } | |
| output { | |
| stdout { codec => rubydebug } | |
| } |