Skip to content

Instantly share code, notes, and snippets.

View su8's full-sized avatar

su8

  • defunct
View GitHub Profile
@su8
su8 / sys.cpp
Created November 2, 2025 22:32
sys.cpp
#include <iostream>
#include <cstdio>
#include <string>
#include <cstdlib>
#include <cstring>
#include <windows.h>
#define WIN32_LEAN_AND_MEAN
int main(void) {
@su8
su8 / third.cpp
Last active November 1, 2025 14:46
third.cpp
#include <iostream>
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <cctype>
#include <string>
#include <regex>
int main(void) {
unsigned short int y = 0U;
#include <iostream>
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <cctype>
#include <string>
int main(void) {
unsigned short int y = 0U;
unsigned short int z = 0U;
@su8
su8 / main.cpp
Last active October 31, 2025 01:20
main.cp
/*
* 10/31/2025 https://github.com/su8/grepc
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@su8
su8 / asyncThreads.cpp
Last active October 29, 2025 20:12
asyncThreads.cpp
#pragma once
/*
* Copyright (c) 2024 Remy van Elst <raymii.org>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, version 3.
*
* This program is distributed in the hope that it will be useful, but
@su8
su8 / grep.cpp
Created October 22, 2025 15:01
Using *ptr == '\n'
/*
Copyright 10/18/2025 https://github.com/su8/grepc
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@su8
su8 / nit.cpp
Created October 21, 2025 17:22
nit.cpp
/*
Copyright 10/21/2025 https://github.com/su8/nitril
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
/*
Copyright 08/02/2024, 08/24/2025 https://github.com/su8/doomy
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
/*
Copyright 08/02/2024, 08/24/2025 https://github.com/su8/doomy
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
char *idx = buf + strlen(var);
get/setAttribute
referemce_wrapper
text edit0r
hellxcb border rgb
extraction functions
peripherial functions
-static-libc++ compile flag
wget https://github.com/USER/REPOSITORY/pull/1.diff
memcpy snprintf allptr+=