commit bff6437
Artur Manuel
·
2025-07-09 18:38:54 +0000 UTC
parent bff6437
meta: init repo
5 files changed,
+98,
-0
A
.clangd
+2,
-0
1@@ -0,0 +1,2 @@
2+CompileFlags:
3+ Add: ["-std=c++23", "-Wall", "-Werror", "-Wextra"]
+47,
-0
1@@ -0,0 +1,47 @@
2+# Prerequisites
3+*.d
4+
5+# Compiled Object files
6+*.slo
7+*.lo
8+*.o
9+*.obj
10+
11+# Precompiled Headers
12+*.gch
13+*.pch
14+
15+# Linker files
16+*.ilk
17+
18+# Debugger Files
19+*.pdb
20+
21+# Compiled Dynamic libraries
22+*.so
23+*.dylib
24+*.dll
25+
26+# Fortran module files
27+*.mod
28+*.smod
29+
30+# Compiled Static libraries
31+*.lai
32+*.la
33+*.a
34+*.lib
35+
36+# Executables
37+*.exe
38+*.out
39+*.app
40+
41+# debug information files
42+*.dwo
43+
44+# Meson
45+build/
46+
47+# clangd
48+.cache
+11,
-0
1@@ -0,0 +1,11 @@
2+project(
3+ 'stfu',
4+ 'cpp',
5+ version: '0.1',
6+ default_options: [
7+ 'warning_level=3',
8+ 'cpp_std=c++23',
9+ ],
10+)
11+
12+subdir('src')
+31,
-0
1@@ -0,0 +1,31 @@
2+#include <format>
3+#include <print>
4+#include <string>
5+
6+std::string colours(int bottom, int top) {
7+ std::string result;
8+ for (int i = bottom; i <= top; i++) {
9+ result += std::format("\x1b[1;{0}m███", i);
10+ }
11+ return result;
12+}
13+
14+int main(void) {
15+ const char *RED = "\x1b[1;31m";
16+ const char *NORMAL = "\x1b[1;0m";
17+
18+ std::println({
19+"{0} ____ _____ shutthe@fuckup\n"
20+"{0} / ___|_ _| {1}--------------\n"
21+"{0} \\___ \\ | | I dont care:{1} about your fetch stuff\n"
22+"{0} ___) || | In fact,:{1} I'm getting tired of all of this BS\n"
23+"{0} |____/ |_| ramfetch, a fetch that displays memory i-:{1} SHUT UP\n"
24+"{0} _____ _ _ yfetch - a minimal command-li-:{1} FUCK OFF\n"
25+"{0} | ___| | | | cpufetch - Simplistic yet fa-:{1} NO ITS NOT FANCY ITS OVERDONE\n"
26+"{0} | |_ | | | | blablablafetc-:{1} GET THE FUCK OUT OF MY REDDIT FRONTPAGE\n"
27+"{0} | _| | |_| | If I saw one more fetch BS:{1} I'll fucking destroy my computer\n"
28+"{0} |_| \\___/ and never use:{1} Reddit ever again\n"
29+"{0} {2}\n"
30+"{0} {3}\n"
31+ }, RED, NORMAL, colours(30, 37), colours(90, 97));
32+}
+7,
-0
1@@ -0,0 +1,7 @@
2+exe = executable(
3+ 'stfu',
4+ 'main.cpp',
5+ install: true
6+)
7+
8+test('basic', exe)