docker build . \
--file alpine.Dockerfile \
--tag "dnclient:alpine-latest" \
--tag "dnclient:latest"
This file contains 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
❯ ipcalc 192.168.1.255 | |
Address: 192.168.1.255 11000000.10101000.00000001. 11111111 | |
Netmask: 255.255.255.0 = 24 11111111.11111111.11111111. 00000000 | |
Wildcard: 0.0.0.255 00000000.00000000.00000000. 11111111 | |
=> | |
Network: 192.168.1.0/24 11000000.10101000.00000001. 00000000 | |
HostMin: 192.168.1.1 11000000.10101000.00000001. 00000001 | |
HostMax: 192.168.1.254 11000000.10101000.00000001. 11111110 | |
Broadcast: 192.168.1.255 11000000.10101000.00000001. 11111111 | |
Hosts/Net: 254 Class C, Private Internet |
This file contains 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
-----BEGIN CERTIFICATE----- | |
MIIFFjCCAv6gAwIBAgIRAJErCErPDBinU/bWLiWnX1owDQYJKoZIhvcNAQELBQAw | |
TzELMAkGA1UEBhMCVVMxKTAnBgNVBAoTIEludGVybmV0IFNlY3VyaXR5IFJlc2Vh | |
cmNoIEdyb3VwMRUwEwYDVQQDEwxJU1JHIFJvb3QgWDEwHhcNMjAwOTA0MDAwMDAw | |
WhcNMjUwOTE1MTYwMDAwWjAyMQswCQYDVQQGEwJVUzEWMBQGA1UEChMNTGV0J3Mg | |
RW5jcnlwdDELMAkGA1UEAxMCUjMwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK | |
AoIBAQC7AhUozPaglNMPEuyNVZLD+ILxmaZ6QoinXSaqtSu5xUyxr45r+XXIo9cP | |
R5QUVTVXjJ6oojkZ9YI8QqlObvU7wy7bjcCwXPNZOOftz2nwWgsbvsCUJCWH+jdx | |
sxPnHKzhm+/b5DtFUkWWqcFTzjTIUu61ru2P3mBw4qVUq7ZtDpelQDRrK9O8Zutm | |
NHz6a4uPVymZ+DAXXbpyb/uBxa3Shlg9F8fnCbvxK/eG3MHacV3URuPMrSXBiLxg |
This file contains 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
❯ ansible-playbook provision.yml --limit 'ingress.demeter.johnmaguire.me' | |
[WARNING]: Collection prometheus.prometheus does not support Ansible version 2.16.2 | |
PLAY [Base provisioning] ******************************************************************************************************************************************************************** | |
TASK [Gathering Facts] ********************************************************************************************************************************************************************** | |
fatal: [ingress.demeter.johnmaguire.me]: FAILED! => {"ansible_facts": {}, "changed": false, "failed_modules": {"ansible.legacy.setup": {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python"}, "failed": true, "module_stderr": "/bin/sh: 1: /usr/bin/python: not found\nError: Command not found\n", "module_stdout": "", "msg": "The module failed to execute correctly, you probably need to set the interpreter.\nSee stdout/stderr for the exact error", "rc": 1, "warnings": [ |
This file contains 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
00:18:51.513 Cloning repository... | |
00:18:52.660 From https://github.com/johnmaguire/helical-piers | |
00:18:52.660 * branch 09e1545825ca73d66f47bf32855c606e091a0c65 -> FETCH_HEAD | |
00:18:52.661 | |
00:18:52.738 HEAD is now at 09e1545 Try logging values for contact form | |
00:18:52.739 | |
00:18:52.849 | |
00:18:52.883 Success: Finished cloning repository files | |
00:18:53.723 Detected the following tools from environment: [email protected], [email protected] | |
00:18:53.724 Installing project dependencies: npm install --progress=false |
This file contains 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
--total-cpu-usage-- -dsk/total- -net/total- ---paging-- ---system-- | |
usr sys idl wai stl| read writ| recv send| in out | int csw | |
12 12 74 2 0|4924k 0 | 22M 39M| 0 0 |9563 2422 | |
12 13 68 7 0| 308k 71M| 24M 43M| 12k 0 | 13k 6590 | |
11 12 76 1 0|5164k 4096B| 19M 35M| 0 0 |5622 3090 | |
10 7 81 2 0|4224k 120k| 12M 18M| 0 0 |5117 3059 | |
13 10 76 0 0|1672k 0 | 20M 37M| 0 0 |6431 2545 | |
10 29 61 1 0|5144k 0 | 21M 40M| 0 0 | 31k 2888 | |
10 44 38 8 0| 336k 465M| 23M 44M| 0 0 | 35k 9204 | |
14 12 69 5 0| 152k 7100k| 23M 43M| 0 0 |8349 4564 |
This file contains 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
FROM python:3 | |
WORKDIR /usr/src/app | |
COPY requirements.txt ./ | |
RUN pip install --no-cache-dir -r requirements.txt | |
COPY . . | |
ENTRYPOINT [ "python", "./main.py" ] |
This file contains 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
jmaguire@scorpion [05:56:26 PM] [~/src/nebula/cert] [pkey-benchmarking] | |
-> % go test -bench=. -benchtime=10x | |
go: downloading github.com/golang/protobuf v1.4.1 | |
go: downloading google.golang.org/protobuf v1.25.0 | |
go: downloading golang.org/x/sys v0.0.0-20191210023423-ac6580df4449 | |
goos: linux | |
goarch: amd64 | |
pkg: github.com/slackhq/nebula/cert | |
cpu: Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz | |
BenchmarkAes256DeriveKey-8 10 2058243018 ns/op |
NewerOlder