Skip to content

Instantly share code, notes, and snippets.

View cultureulterior's full-sized avatar
👽

Zagig Yragerne cultureulterior

👽
View GitHub Profile

There is a lot going around docker logging, with merged/closed PRs, here is a collection:

Merged

  • #12391 syslog format: "docker/ID", and use syslog.LOG_DAEMON (old: syslog.LOG_USER)
  • #12668 Add tag option to syslog
  • #12422 Adding --log-opt=[] to configure --log-driver=
  • #13392 Add syslog-address log-opt --log-opt syslog-address=tcp://127.0.0.1:514
  • #13672 Add syslog-tag log-opt
    • --log-opt syslog-address=[tcp|udp]://host:port
  • --log-opt syslog-address=unix://path

Experimental Generation of Interpersonal Closeness

Instructions to Subjects Included With Task Slips Packet

This is a study of interpersonal closeness, and your task, which we think will be quite enjoyable, is simply to get close to your partner. We believe that the best way for you to get close to your partner is for you to share with them and for them to share with you. Of course, when we advise you about getting close to your partner, we are giving advice regarding your behavior in this demonstration only, we are not advising you about your behavior outside of this demonstration.

In order to help you get close we've arranged for the two of you to engage in a kind of sharing game. You're sharing time will be for about one hour, after which time we ask you to fill out a questionnaire concerning your experience of getting close to your partner.

You have been given three sets of slips. Each slip has a question or a task written on it. As soon as you both finish reading these instructions, you should

@cultureulterior
cultureulterior / consul.lua
Last active August 29, 2015 14:11 — forked from gmr/consul.lua
module("resty.consul", package.seeall)
_VERSION = '0.1.0'
function service_nodes(service)
local http = require "resty.http"
local json = require "cjson"
local hc = http:new()
local upstream = ""
How to override streamdriver in rsyslog:
module(load="imtcp" StreamDriver.Name="ptcp")
input(type="imtcp" port="514")
frontend superhero
bind *:80
# From my aws2json
{{with $d := file "/tmp/aws.json" | parseJSON}}
stats show-desc {{$d.instance_id}}
{{end}}
acl superman hdr(host) -i -m beg superman
acl batman hdr(host) -i -m beg batman
OPT=OpenStruct.new(Hash[GetoptLong.new(["--channel","-c",GetoptLong::REQUIRED_ARGUMENT]).enum_for.map{|opt,arg| [opt[/[^-]+$/].to_sy
m,arg]}])
#wavey
loop {(0..8).each{|o| print ([%w{˥ ˦ ˧ ˨ ˩}]*100).each_with_index.map{|w,i| w[((i+o)%9-4).abs]}.join + ?\r;sleep 0.1}}