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
| /* | |
| * Compile with re2c: | |
| * $ re2c main.cpp -o main.re2c.cpp --nested-ifs --bit-vectors --utf-8 --no-debug-info | |
| * $ g++ -std=c++17 -O3 -o test_re2c main.re2c.cpp | |
| */ | |
| #include <iostream> | |
| #include <fstream> | |
| bool |
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
| CC = clang++ | |
| CXX = clang++ | |
| DEBUG = -ggdb -O1 -march=native | |
| RELEASE = -O2 | |
| CPPFLAGS := -I. | |
| CXXFLAGS := $(DEBUG) -W -Wall -Wextra -std=c++17 | |
| LDLIBS := -lm | |
| OUTPUT_OPTION = -MMD -MP -o $@ -MJ $@.json | |
| # Modify your C++ filesuffix here: |
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 | |
| readonly input="$1" | |
| readonly output="$2" | |
| readonly preset="$3" | |
| if [ "$input" = "" ] || [ "$output" = "" ] || [ "$preset" = "" ]; then | |
| echo "usage: $0 [input file] [output file] [screen|ebook|printer|prepress]" | |
| exit 1 | |
| fi |
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 | |
| # | |
| # UPTIME MONITORING | |
| # v1.0.0 | |
| # | |
| ### INSTALLATION | |
| # | |
| # 1. Install dependencies | |
| # | |
| # `apt-get install mailx curl openssl` |
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
| /* | |
| * MIT License | |
| * | |
| * Copyright (c) 2025 Arvid Gerstmann | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining a copy | |
| * of this software and associated documentation files (the "Software"), to deal | |
| * in the Software without restriction, including without limitation the rights | |
| * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| * copies of the Software, and to permit persons to whom the Software is |
OlderNewer