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
Apr 25 11:30:01 gannon systemd[1]: Starting Say hello... | |
Apr 25 11:30:01 gannon echo[7929]: Hello, World! | |
Apr 25 11:30:01 gannon systemd[1]: Started Say hello. | |
Apr 25 11:30:02 gannon systemd[1]: Starting Say hello... | |
Apr 25 11:30:02 gannon echo[7988]: Hello, World! | |
Apr 25 11:30:02 gannon systemd[1]: Started Say hello. | |
Apr 25 11:30:03 gannon systemd[1]: Starting Say hello... | |
Apr 25 11:30:03 gannon echo[7994]: Hello, World! | |
Apr 25 11:30:03 gannon systemd[1]: Started Say hello. | |
Apr 25 11:30:04 gannon systemd[1]: Starting Say hello... |
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
root@gannon /home/zeal # journalctl -fu say-hello.service | |
Apr 25 11:18:01 gannon systemd[1]: Starting Say hello... | |
Apr 25 11:18:01 gannon echo[17543]: Hello, World! | |
Apr 25 11:18:01 gannon systemd[1]: Started Say hello. | |
Apr 25 11:18:02 gannon systemd[1]: Starting Say hello... | |
Apr 25 11:18:02 gannon echo[17597]: Hello, World! | |
Apr 25 11:18:02 gannon systemd[1]: Started Say hello. | |
Apr 25 11:18:03 gannon systemd[1]: Starting Say hello... | |
Apr 25 11:18:03 gannon echo[17602]: Hello, World! | |
Apr 25 11:18:03 gannon systemd[1]: Started Say hello. |
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
Apr 22 11:51:00 gannon systemd[1]: Starting Say hello... | |
Apr 22 11:51:00 gannon echo[18503]: Hello, World! | |
Apr 22 11:51:00 gannon systemd[1]: Started Say hello. | |
Apr 22 11:51:01 gannon systemd[1]: Starting Say hello... | |
Apr 22 11:51:01 gannon echo[18559]: Hello, World! | |
Apr 22 11:51:01 gannon systemd[1]: Started Say hello. | |
Apr 22 11:51:02 gannon systemd[1]: Starting Say hello... | |
Apr 22 11:51:02 gannon echo[18565]: Hello, World! | |
Apr 22 11:51:02 gannon systemd[1]: Started Say hello. | |
Apr 22 11:51:03 gannon systemd[1]: Starting Say hello... |
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
# systemctl is-enabled say-hello.service | |
disabled | |
# systemctl is-enabled say-hello.timer | |
static | |
# systemctl status say-hello.service | |
● say-hello.service - Say hello | |
Loaded: loaded (/etc/systemd/system/say-hello.service; disabled; vendor preset: disabled) | |
Active: active (exited) since Tue 2016-04-19 11:26:21 PDT; 19min ago |
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
$ go run test.go google.com | |
173.194.33.163 | |
$ go run test.go 127.0.0.1 | |
127.0.0.1 | |
$ go run test.go netflix.com | |
174.129.2.58 |
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
$ make -B bin/atc_api | |
cd src/react && npm run build-js | |
> [email protected] build-js /home/zeal/go/src/github.com/facebook/augmented-traffic-control/src/react | |
> browserify -t [ babelify --presets [ es2015 react ] ] jsx/index.js > ../../static/js/index.js | |
/home/zeal/go/bin/go-bindata -pkg api -o src/api/bindata.go static/... | |
/usr/bin/go build -o bin/atc_api github.com/facebook/augmented-traffic-control/src/atc_api |
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/atcd --help | |
usage: atcd [<flags>] | |
Flags: | |
--help Show context-sensitive help (also try --help-long and --help-man). | |
--iptables=IPTABLES location of the iptables binary | |
--ip6tables=IP6TABLES location of the ip6tables binary | |
--wan=WAN name of the WAN interface | |
--lan=LAN name of the LAN interface | |
-b, --listen=127.0.0.1:9090 Bind address for the thrift server |
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
DEBUG: Running processed command sudo -E -p 'knife sudo password: ' pacman --needed -Sy ruby rsync make gcc --noconfirm | |
DEBUG: sudo -E -p 'knife sudo password: ' pacman --needed -Sy ruby rsync make gcc --noconfirm stdout: | |
DEBUG: sudo -E -p 'knife sudo password: ' pacman --needed -Sy ruby rsync make gcc --noconfirm stdout: :: Synchronizing package databases... | |
DEBUG: sudo -E -p 'knife sudo password: ' pacman --needed -Sy ruby rsync make gcc --noconfirm stdout: core is up to date | |
DEBUG: sudo -E -p 'knife sudo password: ' pacman --needed -Sy ruby rsync make gcc --noconfirm stdout: extra is up to date | |
DEBUG: sudo -E -p 'knife sudo password: ' pacman --needed -Sy ruby rsync make gcc --noconfirm stdout: community is up to date | |
DEBUG: sudo -E -p 'knife sudo password: ' pacman --needed -Sy ruby rsync make gcc --noconfirm stdout: warning: ruby-2.2.3-1 is up to date -- skipping | |
DEBUG: sudo -E -p 'knife sudo password: ' pacman --needed -Sy ruby rsync make gcc --noconfirm stdout: warning: make-4.1-1 is up to date -- |
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
import math, copy, time as _time | |
ingredients = "ingredients" | |
time = "time" | |
produces = "produces" | |
rate = "rate" | |
total = "total" | |
feeds = "feeds" | |
leaf = "leaf" | |
bldgs = "buildings" |
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
ATCD_WAN=eth0 | |
ATCD_LAN=eth1 |