Movies as code - Free your coding mind...
"Unfortunately, no one can be told what the Matrix is. You have to see it for yourself."
Morpheus, The Matrix
March 23, 2012 | Action | submitted by Guigui
String star_wars(int episode) {
if (episode == 6) {
return "jedi";
}
}
Vote up this code1
| Action | submitted by Thrudd
Scarface
#include
#include
void main(void){
int tonyMontana=0;
char* get="first";
printf("%s",get);
while (!strcmp(get,"women")==0){
switch (tonyMontana){
case 1:
get="power";
break;
case 2:
get="women";
break;
default :
get="money";
break;
}
tonyMontana++;
printf (" you get the %snthen",get);
}
}
Vote up this code0
| Action | submitted by Stephen H
Close Encounters of the Third Kind
.encounters:nth-child(3) {
margin: 0;
padding: 0;
}
Vote up this code0
March 22, 2012 | Horror | submitted by Etam
echo "Disgusting dog food." > bowl
cat bowl | ./katsuro | ./lindsay | ./jenny
Vote up this code0
| Family | submitted by Raki
The Black Hole
Vote up this code1
| Sport | submitted by Tosh
var army = indianArmy;
var pansingh = {
native: "chambal",
running: true,
courage: true,
appetite: "v_much"
};
if(food < appetite){
army.pansingh = $(army.pansingh).addClass(".sports")
}
for(var running= 0, food < pansingh.appetite, running++ ){
var pansingh.race = Math.floor(steeplechase.finishline)
if (pansingh.race) return true;
$(banana).each(function(){
pansingh == eats;
}
Vote up this code1
| Drama | submitted by Roar Flaten
using System;
public class FewGoodMen
{
static void Main(string[] args)
{
var courtCase = new Case();
bool truth = true;
int repeatQuestion = 0;
try
{
while (truth)
{
if (repeatQuestion > 5)
{
truth = false;
}
Handle(truth);
repeatQuestion++;
}
}
catch (Exception handleTruthException)
{
courtCase.Code = "Red";
courtCase.Close("YOU CAN'T HANDLE THE TRUTH!");
}
}
private static void QuestionWitness()
{
Console.WriteLine("I want the truth");
}
private static void Handle(bool truth)
{
if (!truth)
{
throw new Exception();
}
else
{
QuestionWitness();
}
}
}
public class Case
{
public string Code;
public void Close(string message)
{
Console.WriteLine(message);
}
}
Vote up this code0
March 21, 2012 | Comedy | submitted by Raki
#include actors/cubagooding.h
#include actors/tomcruise.h
void main(void)
{
tomcruise.setvisibility(cubagooding.money,1);
}
Vote up this code0
| Comedy | submitted by Raki
*=$C000
lda #$FF
sta my_score
sta my_score+1
sta my_score+2
sta my_score+3
rts
my_score *=*+4
Vote up this code0
| Horror | submitted by Jason
echo strrev('murder'); ?>
Vote up this code0