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 [email protected] | |
# 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` |
OlderNewer