master
fartune.c
ohmu
·
2026-10-20
1/* fartune - fortune which farts */
2
3#include <stdio.h>
4#include <stdlib.h>
5#include <sys/time.h>
6
7const char *replicas[] = {
8 "fuck war -- ohmu",
9 "try using plan9front",
10 "I hope that kid fucking died -- denni",
11 "just be 9",
12 "fuck ai bro(in system programming) -- ohmu",
13 "You are not expected to understand this. -- Dinnis Ritchie",
14 "there are two types of programmers: those who have written the compiler and those who havent -- Terry Davis",
15 "Is anyone here a doctor? I! have 13 inch penis -- Piter Griffin",
16 "pointless titlebars -- dylanaraps",
17 "hippity hoppity your stash is my property -- some player from 2b2t",
18 "Fish in a barrel have no idea they're being shot at. -- some player from 2b2t",
19 "sorry but it was self defence and also you were aggressor -- some player from 2b2t",
20 "BETTER CALL SOUL",
21 "NOOOOO YOU SHOULDNT USE GOTO NOOOOOO *cries in high-level language* -- creator of iguassu wm",
22 "my setup is older than me -- ohmu",
23 "freebsd is a linux distribution -- i don't remember who from 9larp",
24 "dragonflybsd sucks, itll never be usable :/ -- chld",
25 "They [Red Hat] don’t listen to security. -- Theo De Raadt",
26 "Smells like agenda. -- Theo De Raadt",
27 "Oh, because it is written in Rust.\nYour agenda is showing. -- Theo De Raadt",
28 "\"We make the net work\" -- Sun microsystems"
29};
30
31int
32main(int argc, char *argv[])
33{
34 int n, len;
35 struct timeval tv;
36 gettimeofday(&tv, NULL);
37 srand(tv.tv_sec ^ tv.tv_usec);
38 len = sizeof(replicas) / sizeof(replicas[0]);
39 n = rand() % len;
40 printf("%s\n", replicas[n]);
41 return 0;
42}