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
[szydell@laPtak simdjson]$ ls | |
amalgamation.sh AUTHORS benchmark CMakeLists.txt dependencies doc include jsonchecker jsonexamples LICENSE Makefile Notes.md README.md scripts singleheader src tape.md tests tools windows | |
[szydell@laPtak simdjson]$ make | |
g++ -std=c++17 -march=native -Wall -Wextra -Wshadow -Iinclude -Ibenchmark/linux -O3 -o parse src/jsonioutil.cpp src/jsonparser.cpp src/stage1_find_marks.cpp src/stage2_build_tape.cpp benchmark/parse.cpp | |
g++ -std=c++17 -march=native -Wall -Wextra -Wshadow -Iinclude -Ibenchmark/linux -O3 -o minify src/jsonminifier.cpp src/jsonioutil.cpp src/jsonparser.cpp src/stage1_find_marks.cpp src/stage2_build_tape.cpp tools/minify.cpp -I. | |
g++ -std=c++17 -march=native -Wall -Wextra -Wshadow -Iinclude -Ibenchmark/linux -O3 -o json2json tools/json2json.cpp src/jsonioutil.cpp src/jsonparser.cpp src/stage1_find_marks.cpp src/stage2_build_tape.cpp -I. | |
g++ -std=c++17 -march=native -Wall -Wextra -Wshadow -Iinclude |
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
[szydell@laPtak simdjson]$ make SANITIZE=1 -j12 test | |
g++ -std=c++17 -march=native -Wall -Wextra -Wshadow -Iinclude -Ibenchmark/linux -g3 -O0 -fsanitize=address -fno-omit-frame-pointer -fsanitize=undefined -o jsoncheck src/jsonioutil.cpp src/jsonparser.cpp src/stage1_find_marks.cpp src/stage2_build_tape.cpp tests/jsoncheck.cpp -I. | |
g++ -std=c++17 -march=native -Wall -Wextra -Wshadow -Iinclude -Ibenchmark/linux -g3 -O0 -fsanitize=address -fno-omit-frame-pointer -fsanitize=undefined -o numberparsingcheck tests/numberparsingcheck.cpp src/jsonioutil.cpp src/jsonparser.cpp src/stage1_find_marks.cpp -I. -DJSON_TEST_NUMBERS | |
g++ -std=c++17 -march=native -Wall -Wextra -Wshadow -Iinclude -Ibenchmark/linux -g3 -O0 -fsanitize=address -fno-omit-frame-pointer -fsanitize=undefined -o stringparsingcheck tests/stringparsingcheck.cpp src/jsonioutil.cpp src/jsonparser.cpp src/stage1_find_marks.cpp -I. -DJSON_TEST_STRINGS | |
./numberparsingcheck | |
Usage: ./numberparsingcheck <directory |
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
#cloud-config | |
# vim: syntax=yaml | |
# | |
hostname: zmien | |
manage_etc_hosts: true | |
apt_preserve_sources_list: true | |
users: | |
- name: pirate # tutaj możesz zmienić swój login |
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
#!/usr/bin/env bash | |
podman pull certbot/dns-ovh:latest | |
podman run --rm --name letsencrypt \ | |
-v /etc/certbot/ovh-secrets.conf:/ovh-secrets.conf \ | |
-v /etc/letsencrypt:/etc/letsencrypt \ | |
-v /var/lib/letsencrypt:/var/lib/letsencrypt \ | |
-v /var/log/letsencrypt:/var/log/letsencrypt \ | |
certbot/dns-ovh:latest renew \ | |
--dns-ovh --dns-ovh-credentials /ovh-secrets.conf \ |
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
[Unit] | |
Description=Certbot Renew | |
Wants=network.target | |
After=network-online.target | |
[Service] | |
Environment=PODMAN_SYSTEMD_UNIT=%n | |
ExecStart=/usr/local/bin/certbot_renew.sh | |
Type=oneshot |
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
[Unit] | |
Description=Run Certbot Renewal Weekly | |
[Timer] | |
OnCalendar=weekly | |
Persistent=true | |
[Install] | |
WantedBy=timers.target |
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
/var/log/letsencrypt/letsencrypt.log | |
{ | |
missingok | |
daily | |
rotate 60 | |
compress | |
compresscmd xz | |
} |
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
IIablo — Dziś o 18:38 | |
Hej | |
szydell — Dziś o 18:39 | |
Hej | |
IIablo — Dziś o 18:39 | |
odnosnie regexp | |
.+? dobrze stosowac dla krotkich skokow | |
czyli np 5 wyrazow bedzie szybciej niz .* | |
.* skacze od razu na koniec zdania i szuka wstecz | |
wiec jest szybka dla zawartosci plecaka |
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
Oct 26 12:17:13 prdpdf1 podman[2049692]: [Symbol(kBytesRead)]: 0, | |
Oct 26 12:17:13 prdpdf1 podman[2049692]: [Symbol(kBytesWritten)]: 0, | |
Oct 26 12:17:13 prdpdf1 podman[2049692]: [Symbol(connect-options)]: { | |
Oct 26 12:17:13 prdpdf1 podman[2049692]: rejectUnauthorized: true, | |
Oct 26 12:17:13 prdpdf1 podman[2049692]: ciphers: 'TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:ECDHE-RSA-AES128> | |
Oct 26 12:17:13 prdpdf1 podman[2049692]: checkServerIdentity: [Function: checkServerIdentity], | |
Oct 26 12:17:13 prdpdf1 podman[2049692]: minDHSize: 1024, | |
Oct 26 12:17:13 prdpdf1 podman[2049692]: method: 'POST', | |
Oct 26 12:17:13 prdpdf1 podman[2049692]: port: 443, | |
Oct 26 12:17:13 prdpdf1 podman[2049692]: path: null, |