Skip to content

Instantly share code, notes, and snippets.

@abolibibelot
Last active January 3, 2016 12:28
Show Gist options
  • Save abolibibelot/8462616 to your computer and use it in GitHub Desktop.
Save abolibibelot/8462616 to your computer and use it in GitHub Desktop.
Criteo programming ad in lolcode
HAI
BTW this kinda follows the lolcode 1.2 spec http://lolcode.org/1.2_spec.html
I HAZ A ANSWER
I HAZ A INDEX
BTW defining a function
HOW IZ ASK YR QUESTION
VISIBLE QUESTION
GIMME RESPONZ
BOTH SAEM RESPONZ AN "y" O RLY?
YA RLY
FOUND YR WIN
NO WAI
FOUND YR FAIL
OIC
IF U SAY SO
INDEX IZ 1
ANSWER IZ WIN
IM IN YOUR FACE
BOTH SAEM INDEX AN 6 O RLY? GTFO
INDEX, WTF?
OMG 1
ANSWER IZ BOTH SAEM ANSWER AN I IZ ASK YR "Looking for a new challenge?" MKAY, GTFO
OMG 2
ANSWER IZ BOTH SAEM ANSWER AN I IZ ASK YR "Want to work in the heart of Paris?" MKAY, GTFO
OMG 3
ANSWER IZ BOTH SAEM ANSWER AN I IZ ASK YR "Do you enjoy solving hard problems efficiently and creatively?" MKAY, GTFO
OMG 4
ANSWER IZ BOTH SAEM ANSWER AN I IZ ASK YR "Would you like to work where Big Data is more than a buzz word?" MKAY, GTFO
OMG 5
ANSWER IZ BOTH SAEM ANSWER AN I IZ ASK YR "Want to work on a product at true web scale with 30B HTTP requests and 2.5B unique banners displayed per day?" MKAY, GTFO
OMG 6
ANSWER IZ BOTH SAEM ANSWER AN I IZ ASK YR "Would you like to know more?" MKAY, GTFO
OIC
BOTH SAEM ANSWER AN FAIL O RLY? GTFO
INDEX IZ SUM OF INDEX AND 1
IM OUTTA YOUR FACE
BOTH SAEM ANSWER AN WIN O RLY?
YA RLY, VISIBLE "Contact m.buckland@criteo.com today"
NO WAI, VISIBLE "That’s a shame, you can learn more at http://labs.criteo.com maybe we can change your mind?"
OIC
KTHXBYE
@abolibibelot
Copy link
Author

Kinda looks like Cobol.

@samklr
Copy link

samklr commented Jan 17, 2014

Or CoLOL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment