add .vimrc
nmap <F5> :NERDTree<CR>
t
new tab
gT gt
Switching tabs
i
open split
#!/usr/bin/env bash | |
TOKEN=$1 | |
journalctl -o short -f | awk -v token=$TOKEN '{ print token, $0; fflush(); }' | ncat data.logentries.com 10000 |
systemctl list-dependencies --after remote-fs.target |
add .vimrc
nmap <F5> :NERDTree<CR>
t
new tab
gT gt
Switching tabs
i
open split
connection tradingbot
address 192.168.2.18:1883
topic # both 2
clientid mosquitto
notifications true
start_type automatic
try_private flase
username XXXX
.include /usr/lib/systemd/system/docker.service | |
[Service] | |
ExecStart= | |
ExecStart=/usr/bin/docker -d -s=btrfs -r=false -H fd:// --dns=172.17.42.1 --dns-search=cluster.local |
docker run -v /home/core/confd/confd:/etc/confd,/home/core/confd/tmp:/tmp philipz/confd:0.5.0 confd -verbose -onetime -node 'http://${COREOS_PRIVATE_IPV4}:4001' |
From http://play.golang.org/p/-pR3Bn6efy | |
{{range $index,$server := .myapp_upstream}}{{ if $index }}, {{ end }}{{$server.Value}}{{end}} |
https://github.com/coreos/fleet/blob/master/Documentation/api-v1-alpha.md | |
http://192.168.2.19:4001/v2/keys/_coreos.com/fleet?recursive=true | |
http://192.168.2.19:4001/v2/keys/_coreos.com/fleet/machines?recursive=true |