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
| if !defined(Package[$package]) { | |
| package { $package: | |
| ensure => present | |
| require => 'apt-update' | |
| } | |
| } |
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
| config.vm.define "buildbox" do |buildbox| | |
| testnode.vm.box = "CentOS-6.4-x86_64-v20131103" | |
| testnode.vm.hostname = "buildbox" | |
| testnode.vm.box_url = "http://developer.nrel.gov/downloads/vagrant-boxes/CentOS-6.4-x86_64-v20131103.box" | |
| end |
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
| #!/usr/bin/env python | |
| """ | |
| Convert JSON data to human-readable form. | |
| (Reads from stdin and writes to stdout) | |
| """ | |
| import sys | |
| import simplejson as json |
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
| tcate-workstation:factorio-depsolver tcate$ ./depsolver.rb | |
| advanced-circuit: 7600 | |
| basic-accumulator: 100 | |
| battery: 500 | |
| coal: 20700 | |
| concrete: 1000 | |
| copper-cable: 174775 | |
| copper-ore: 93887 | |
| copper-plate: 93887 | |
| electric-engine-unit: 200 |
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
| top - 11:01:07 up 154 days, 15:31, 6 users, load average: 6.10, 6.54, 7.49 | |
| Tasks: 278 total, 9 running, 269 sleeping, 0 stopped, 0 zombie | |
| %Cpu(s): 13.7 us, 36.8 sy, 0.0 ni, 49.5 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st | |
| KiB Mem: 13196072+total, 76761296 used, 55199432 free, 552160 buffers | |
| KiB Swap: 8347644 total, 359316 used, 7988328 free. 27156648 cached Mem | |
| PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND | |
| 1 root 20 0 37352 3312 1376 S 0.7 0.0 19:06.62 init | |
| 2384 tcate 20 0 753632 5648 2800 S 0.3 0.0 342:46.67 VBoxSVC | |
| 30066 root 20 0 15272 536 408 S 0.3 0.0 3:03.61 upstart-file-br |
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
| 156K 1929 | |
| 340K 1930 | |
| 500K 1931 | |
| 568K 1932 | |
| 1016K 1933 | |
| 1.2M 1934 | |
| 1.5M 1935 | |
| 2.9M 1936 | |
| 4.3M 1937 | |
| 2.8M 1938 |
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
| 192.168.0.0, | |
| 192.168.0.1, | |
| 192.168.0.2, | |
| 192.168.0.3, | |
| 192.168.0.4, | |
| 192.168.0.5, | |
| 192.168.0.6, | |
| 192.168.0.7, | |
| 192.168.0.8, | |
| 192.168.0.9, |
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
| My traceroute [v0.85] | |
| fileserv (0.0.0.0) Thu Jul 5 15:47:04 2018 | |
| Resolver: Received error response 2. (server failure)er of fields quit | |
| Packets Pings | |
| Host Loss% Snt Last Avg Best Wrst StDev | |
| 1. 10.1.1.1 0.0% 81 0.2 0.2 0.2 0.3 0.0 | |
| 2. cpe-72-182-32-1.austin.res.rr.com |
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
| My traceroute [v0.85] | |
| fileserv (0.0.0.0) Thu Jul 5 15:51:17 2018 | |
| Keys: Help Display mode Restart statistics Order of fields quit | |
| Packets Pings | |
| Host Loss% Snt Last Avg Best Wrst StDev | |
| 1. 10.1.1.1 0.0% 7 0.3 0.3 0.2 0.3 0.0 | |
| 2. cpe-72-182-32-1.austin.res.rr.com |
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@raspberrypi:~# ./read_18.py | |
| waiting for announcement | |
| 1539742532.7980354 | |
| Signal detected | |
| announcement found | |
| annoncement done, waiting for clock signal | |
| start clock sync | |
| sync found, average pulse length = 1.001155 | |
| start message found, deconding | |
| [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0] |