Build:
GOOS=linux GOARCH=mipsle CGO_ENABLED=0 GOMIPS=softfloat go build
Build:
GOOS=linux GOARCH=mipsle CGO_ENABLED=0 GOMIPS=softfloat go build
| # http://www.hamvocke.com/blog/a-guide-to-customizing-your-tmux-conf/ | |
| unbind C-b | |
| set -g prefix C-a | |
| bind C-a send-prefix | |
| set -g mouse on | |
| # https://gist.github.com/miguelmota/71ab27e1ec2c80759d8ea975b8ec855b | |
| # bind-key -T copy-mode-vi MouseDragEnd1Pane send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy" | |
| # bind-key -T copy-mode MouseDragEnd1Pane send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy" | |
| bind-key -T copy-mode-vi MouseDragEnd1Pane send -X copy-pipe-and-cancel "pbcopy" |
| firewall { | |
| all-ping enable | |
| broadcast-ping disable | |
| group { | |
| address-group CV { | |
| address 195.82.146.0/24 | |
| } | |
| } | |
| ipv6-receive-redirects disable | |
| ipv6-src-route disable |
| % IANA WHOIS server | |
| % for more information on IANA, visit http://www.iana.org | |
| % This query returned 1 object | |
| refer: whois.ripe.net | |
| inetnum: 92.0.0.0 - 92.255.255.255 | |
| organisation: RIPE NCC | |
| status: ALLOCATED |
keys.gpg is an encrypted file with key-value pairs like this:
# TEST_KEY is "foobar" (base64-encoded)
TEST_KEY="Zm9vYmFy"
values are base64-encoded
Usage in kustomization.yaml:
secretGenerator:
| $ sed 's@\bSERVICE_apache\b@/opt/apache/bin@g' | |
| SERVICE_apache QQQ | |
| /opt/apache/bin QQQ | |
| QQQ SERVICE_apache ZZZ | |
| QQQ /opt/apache/bin ZZZ | |
| SERVICE_apachehuyache | |
| SERVICE_apachehuyache | |
| FOOSERVICE_apache | |
| FOOSERVICE_apache |
| $ cat letsencrypt/do.ini | |
| dns_digitalocean_token = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
| $ docker run -it --rm --name certbot \ | |
| -v "$PWD/letsencrypt:/etc/letsencrypt" \ | |
| -v "$PWD/letsencrypt-data:/var/lib/letsencrypt" \ | |
| -v "$PWD/letsencrypt-out:/keys" \ | |
| certbot/dns-digitalocean \ | |
| certonly \ | |
| --server https://acme-staging-v02.api.letsencrypt.org/directory \ | |
| --dns-digitalocean \ |
| runtime.usleep () at /usr/local/go/src/runtime/sys_linux_amd64.s:95 | |
| 95 /usr/local/go/src/runtime/sys_linux_amd64.s: No such file or directory. | |
| (gdb) print-sched | |
| G state: | |
| 1 waiting (chan receive) | |
| started at runtime.main | |
| created by runtime.rt0_go | |
| 2 waiting (force gc (idle)) | |
| started at runtime.forcegchelper | |
| created by runtime.init.3 |
| (dlv) thread 14 | |
| Switched from 34689 to 14 | |
| (dlv) print gp | |
| *runtime.g { | |
| stack: runtime.stack {lo: 842350829568, hi: 842350831584}, | |
| stackguard0: 18446744073709550302, | |
| stackguard1: 18446744073709551615, | |
| _panic: *runtime._panic nil, | |
| _defer: *runtime._defer nil, | |
| m: *runtime.m { |
| I0130 17:16:29.223801 1 server.go:215] Using iptables Proxier. | |
| W0130 17:16:30.386099 1 server.go:468] Failed to retrieve node info: nodes "node158" not found | |
| W0130 17:16:30.386240 1 proxier.go:249] invalid nodeIP, initialize kube-proxy with 127.0.0.1 as nodeIP | |
| I0130 17:16:30.386275 1 server.go:227] Tearing down userspace rules. | |
| I0130 17:16:30.386376 1 healthcheck.go:119] Initializing kube-proxy health checker | |
| I0130 17:16:30.488856 1 conntrack.go:81] Set sysctl 'net/netfilter/nf_conntrack_max' to 1572864 | |
| I0130 17:16:30.489253 1 conntrack.go:66] Setting conntrack hashsize to 393216 | |
| I0130 17:16:30.492146 1 conntrack.go:81] Set sysctl 'net/netfilter/nf_conntrack_tcp_timeout_established' to 86400 | |
| I0130 17:16:30.492177 1 conntrack.go:81] Set sysctl 'net/netfilter/nf_conntrack_tcp_timeout_close_wait' to 3600 | |
| I0130 17:16:31.580885 1 proxier.go:472] Adding new service "kube-system/kubedns:dns" at 10.224.0.3:53/UDP |