View gist:c2a9c01aadced506b1bfb16445a15bd1
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 |
View gist:4982253537f404317efb0952c7afc32e
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 |
View myhypriot.yml
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 |
View certbot_renew.sh
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 \ |
View certbot_renew.service
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 |
View certbot_renew.timer
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 |
View certbot
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 | |
} |