Danish: Aprils nar
l33t: 4pri|z f00 !
c++ : std::cout << "April's fool"
French: Poisson d'avril!
Ruby: puts "April's Fool!"
Python: print "April's Fool!"
O'Caml: print_endline "April's Fool!"
Forth: ." April's Fool!" CR BYE
Danish: Aprils nar
l33t: 4pri|z f00 !
c++ : std::cout << "April's fool"
Java: out.println("April's Fool"
JavaScript: document.writeln("April's Fool"
Hungarian: Április bolondja
Scheme: (cons 'April '(Fools!))
Prolog: AprilFools(Date) :- GetMonth(Date,MM),MM==april,GetDay(Date,DD),DD==1. /* I am not that good at Prolog, so if anyone sees anything wrong with this, please fix it. */
Linux Kernel Module:
Brainfuck:Code:#include <linux/kernel.h> #include <linux/module.h> #if CONFIG_MODVERSIONS==1 #define MODVERSIONS #include <linux/modversions.h> #endif * * * * /* Initialize the module */ int init_module() { *printk("Happy April Fools!\n"); *return 0; } /* Cleanup - undid whatever init_module did */ void cleanup_module() { *printk("Short is the life of a kernel module\n"); }
>+++++++++++++[->+++++<]>.
[->++<]>>+++[-<------>]<.+
+.---------.+++.>++++[->++++++++<]>.[->++<]>++++++.>
++++++++++[-<++++>]<+..---
.+++++++.>+++++++++++[->+++<]>.>++++++++++.
is'nt it April Fool's ???
That's what youuuuuuuuu think...is'nt it April Fool's ???![]()
Here is the best I can do since GnuVince did Python
English: April Fools!
In C;
if (date==april-01)
printf ("\nApril Fool's day!\n"
else
printf("\nNormal Day!\n"
return 0;
![]()
So that's what that means! It's a Groovy Aardvark song. I always thought it meant April's fish. (For those who don't know French, poisson does mean fish.)French: Poisson d'avril!
That's designed for FreeBSD by the way, not Linux.Code:.data string db 'April fools!', 010h .code __start: push 0Dh ; length of string push string ; address of string push 01h ; file descriptor for stdout mov eax,04h ; sys_write call kernel push 0 mov eax,01h ; exit call kernel kernel: int 080h ret
Bookmarks