This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bufio" | |
"context" | |
"fmt" | |
"os" | |
"time" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bufio" | |
"fmt" | |
"os" | |
"time" | |
) | |
func main() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package tjournal | |
import ( | |
"fmt" | |
) | |
// XXX get this from pitbase | |
type Addr string | |
// type Input fmt.Stringer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
digraph g { | |
rankdir=LR; | |
io [label="I/O"]; | |
subgraph cluster_20 { | |
label=journal; | |
open [label="open\nexisting\njournal"]; | |
notify [label="start\nprocess"]; | |
create [label="create\nnew\njournal"]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
digraph g { | |
rankdir=TB; | |
input; | |
gen [label="code\ngenerator"]; | |
engine [shape=box3d]; | |
external -> gen [label=input]; | |
gen -> engine [label="statement"]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -ex | |
# usage: graphviz-gist {filename} [optional description goes here] | |
# gist-paste is from the ubuntu 'gist' package | |
github_user=stevegt # XXX | |
id="$1" | |
shift |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
digraph g { | |
rankdir=TB; | |
subgraph cluster_5 { | |
label="inputs"; | |
input1 -> input2 -> input3 [style=invis]; | |
} | |
subgraph cluster_7 { | |
label="tests/consensus"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
digraph g { | |
rankdir=TB; | |
subgraph cluster_5 { | |
label="inputs"; | |
input1 -> input2 -> input3 [style=invis]; | |
} | |
subgraph cluster_7 { | |
label="consensus"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
digraph g { | |
rankdir=TB; | |
subgraph cluster_5 { | |
label="inputs"; | |
input1 -> input2 -> input3 [style=invis]; | |
} | |
subgraph cluster_7 { | |
label="consensus"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
digraph g { | |
rankdir=TB; | |
subgraph cluster_5 { | |
label="inputs"; | |
input1 -> input2 -> input3 [style=invis]; | |
} | |
subgraph cluster_7 { | |
label="consensus"; |