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
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev | |
update_config=1 | |
country=US | |
network={ | |
ssid="PoopWi" | |
scan_ssid=1 | |
psk="crapsecurity" | |
} |
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 | |
set -e | |
echo 'Disabling services to save the Zero ...' | |
echo 'Prom services ...' | |
sudo systemctl disable --now prometheus-dump1090-exporter.service | |
sudo systemctl disable --now prometheus-node-exporter.service | |
sudo systemctl disable --now prometheus-node-exporter-apt.timer | |
sudo systemctl disable --now prometheus-node-exporter-smartmon.timer | |
sudo systemctl disable --now prometheus-node-exporter-ipmitool-sensor.timer | |
sudo systemctl disable --now prometheus.service |
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" | |
"flag" | |
"fmt" | |
"log" | |
"net" | |
"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
/usr/lib/go-1.10/src/internal/poll/fd_unix.go:243 +0x46 | |
net.(*netFD).Write(0xc420198580, 0xc4274f4000, 0x61e52, 0x62000, 0xc4291d4000, 0x61e52, 0x62000) | |
/usr/lib/go-1.10/src/net/fd_unix.go:220 +0x4f | |
net.(*conn).Write(0xc42000e058, 0xc4274f4000, 0x61e52, 0x62000, 0x0, 0x0, 0x0) | |
/usr/lib/go-1.10/src/net/net.go:188 +0x6a | |
main.sendDataToClient(0x5acb60, 0xc42000e058, 0xc4291d4000, 0x61e52) | |
/home/abx/tcp-server/tcp-gist-coder543.go:43 +0x7d | |
created by main.sendDataToClients | |
/home/abx/tcp-server/tcp-gist-coder543.go:59 +0x11f | |
goroutine 3797 [semacquire]: |
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
Goroutines: 11 Clients: 61 | |
Last GC:1535572859550352140 Next GC: 46 MB | |
Heap from OS: 27 MB Heap Alloc: 23 MB | |
Free: 389 Heap Idle: 3.5 MB | |
Mallocs: 1305 Live (mallocs-free): 916 | |
Heap Released: 0 B Heap InUse: 23 MB | |
Goroutines: 118 Clients: 66 | |
Last GC:1535572917588411684 Next GC: 141 MB |
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
Goroutines: 33 Clients: 66 | |
Last GC: 1535564701628687411 Next GC: 172 MB | |
Memory Acq: 242 MB Heap Alloc: 159 MB | |
GC Pool Mem: 82 MB Heap InUse: 160 MB | |
Goroutines: 37 Clients: 65 | |
Last GC: 1535564709572555770 Next GC: 63 MB | |
Memory Acq: 242 MB Heap Alloc: 39 MB |
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
Memory Acq: 670 MB Heap Alloc: 599 MB | |
GC Pool Mem: 70 MB Heap InUse: 600 MB | |
Goroutines: 569 Clients: 68 | |
Last GC: 1535562232445609828 Next GC: 724 MB | |
Memory Acq: 730 MB Heap Alloc: 388 MB | |
GC Pool Mem: 341 MB Heap InUse: 389 MB |
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
Goroutines: 194 Clients: 67 | |
Last GC: 1535556739816365845 Next GC: 244 MB | |
Memory Acq: 234 MB Heap Alloc: 125 MB | |
GC Pool Mem: 109 MB Heap InUse: 125 MB | |
Goroutines: 203 Clients: 67 | |
Last GC: 1535556739816365845 Next GC: 244 MB | |
Memory Acq: 266 MB Heap Alloc: 229 MB |