I hereby claim:
- I am maxekman on github.
- I am maxekman (https://keybase.io/maxekman) on keybase.
- I have a public key whose fingerprint is 79CE 51AB FF66 62E5 0190 D6D8 AD9F DE23 0305 FF85
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
{ | |
"title": "AGW", | |
"services": { | |
"query": { | |
"list": { | |
"0": { | |
"query": "level=debug", | |
"alias": "", | |
"color": "#BA43A9", | |
"id": 0, |
// Playground - noun: a place where people can play | |
// ^ | |
// | | |
// 😄 | |
// Run this in the Playground to see the story unfold! | |
import UIKit | |
class 😶 { |
input { | |
syslog { | |
type => syslog | |
port => 514 | |
} | |
file { | |
type => otis | |
path => "/job/projects/common/var/log/otis/*.log" | |
#path => "/job/projects/common/var/log/otis/*dispatcher*.log" |
package client | |
import ( | |
"fmt" | |
"net" | |
"net/rpc" | |
"github.com/ugorji/go/codec" | |
) | |
func main() { |
fsm := NewFSM( | |
"green", | |
Events{ | |
{Name: "warn", Src: []string{"green"}, Dst: "yellow"}, | |
{Name: "panic", Src: []string{"yellow"}, Dst: "red"}, | |
{Name: "panic", Src: []string{"green"}, Dst: "red"}, | |
{Name: "calm", Src: []string{"red"}, Dst: "yellow"}, | |
{Name: "clear", Src: []string{"yellow"}, Dst: "green"}, | |
}, | |
Callbacks{ |
graph := make(map[interface{}][]interface{}) | |
graph["1"] = []interface{}{"2"} | |
graph["2"] = []interface{}{"3"} | |
graph["3"] = []interface{}{"1"} | |
graph["4"] = []interface{}{"2", "3", "5"} | |
graph["5"] = []interface{}{"4", "6"} | |
graph["6"] = []interface{}{"3", "7"} | |
graph["7"] = []interface{}{"6"} | |
graph["8"] = []interface{}{"5", "7", "8"} |