Skip to content

Instantly share code, notes, and snippets.

View OrbitZore's full-sized avatar

OrbitZore OrbitZore

View GitHub Profile
@OrbitZore
OrbitZore / emojilize.cpp
Last active October 24, 2022 12:15
Obfuscation C++ code with emoji😎😎😎
/*
use any C++20 compiler to get executor
make sure /usr/bin/clang exist and run well
and POSIX support
this program only support single C/C++ Source!
*/
#include <sys/wait.h>
#include <unistd.h>
#include <array>
@OrbitZore
OrbitZore / regex.cpp
Last active April 13, 2022 15:09
regex to NFA,NFA to DFA,simplify DFA and match strings
/*
Please use C++20
*/
#include <bits/stdc++.h>
using namespace std;
struct FAST_IO {
FAST_IO() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
}
@OrbitZore
OrbitZore / httpserver.cpp
Last active March 10, 2022 04:24
http.server in C++ 20 with asio,ASIO_URING and ASIO_FILE enabled
#include <bits/stdc++.h>
/*
for clang user
bits/stdc++.h can be found in here
https://gist.github.com/reza-ryte-club/97c39f35dab0c45a5d924dd9e50c445f
test compile version:
- gcc 11.2.0
- clang 13.0.1