commit 7c88648
ohmu
·
2026-07-16 23:08:37 +0300 MSK
parent 2882f5c
faaaaaaaaaart simpson
3 files changed,
+35,
-0
+1,
-0
1@@ -0,0 +1 @@
2+.ninja*
A
Makefile
+4,
-0
1@@ -0,0 +1,4 @@
2+fartune:
3+ clang -o fartune fartune.c
4+clean:
5+ rm -f fartune
+30,
-0
1@@ -0,0 +1,30 @@
2+#include <stdio.h>
3+#include <stdlib.h>
4+#include <sys/time.h>
5+
6+const char *replicas[] = {
7+ "fuck war",
8+ "try using plan9front",
9+ "I hope that kid fucking died",
10+ "just be 9",
11+ "fuck ai bro(in system programming)",
12+ "You are not expected to understand this.",
13+ "there are two types of programmers: those who have written the compiler and those who havent",
14+ "Is anyone here a doctor? I! have 13 inch penis",
15+ "pointless titlebars",
16+ "hippity hoppity your stash is my property",
17+ "Fish in a barrel have no idea they're being shot at.",
18+ "sorry but it was self defence and also you were aggressor",
19+ "BETTER CALL SOUL"
20+};
21+
22+int main() {
23+ int n, len;
24+ struct timeval tv;
25+ gettimeofday(&tv, NULL);
26+ srand(tv.tv_sec ^ tv.tv_usec);
27+ len = sizeof(replicas) / sizeof(replicas[0]);
28+ n = rand() % len;
29+ printf("%s\n", replicas[n]);
30+ return 0;
31+}