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 30, 2012 | Drama | submitted by noxius
public class Movie(){
private ArrayList
actors;
boolean movieTitleOK = false;
public void startMovie(
for(int i = 1; i<=4; i++){
Actor a : actors.get(i);
a.sleep();
if(i==2) movieTitleOK = true;
}
}
}
Vote up this code1
| Comedy | submitted by Joske
// http://jsfiddle.net/SvYL7/
var i=0;
var numberOfMovies=8;
for (i=0;i
{
document.write("American pie #" + i + "");
document.write("
");
document.write("Someone bangs Stifflers mom");
document.write("
");
document.write("
");
}
Vote up this code6
| Action | submitted by noxius
<script type="text/javascript">
function movieStart()
{
int count = 0;
int max = 22;
Object o = null;
try {
o.dosomething();
} catch() {
count++;
if(count==max) print("Catch-22")
}
}
script>
Vote up this code0
| Action | submitted by noxius
public class Seven{
private Pitt brad;
private Spacey kevin;
private ArrayList<String> sins = new ArrayList<String>{"GREED","GLUTTONY","SLOTH","LUST","PRIDE","ENVY","WRATH"};
public void movie(){
String sin;
boolean isToMuch= false;
for(sin : sins) {
if(sin.equals("WRATH"){
kevin.kill(brad.getWife());
isToMuch= true;
else{
kevin.kill();
}
if(isToMuch) brad.kill(kevin);
}
}
}
Vote up this code3
| Drama | submitted by Rich Gubby
<html>
<head>
<title>Walk the Line</title>
<style type="text/css">
.walk{
-webkit-transform: translate(400px,0);
-webkit-transition: all 1s ease-in-out;
}
</style>
</head>
<body>
<p style="border-bottom:solid 5px #000;width:500px;">
<img id="man" width="76" height="201" title="" alt="Johnny Cash" src="http://redyellow.co.uk/wp-content/uploads/cash.jpg" />
</p>
<script type="text/javascript">
setTimeout(function(){
var man = document.getElementById('man');
man.className = "walk";
}, 2000);
</script>
</body>
</html>
Vote up this code3
| Action | submitted by noxius
public class Forrest{
public void run(){}
}
Vote up this code19
| Crime | submitted by Philip Hayes
The Shawshank Redemption
class film {
public var $filmname;
public var $viewcount;
function __construct() {
$filmname = 'The shawshank redemption';
$viewcount = 0;
}
public function watchfilm() {
$viewcount ++;
if ($viewcount > 2) {
$filmname = 'The shawshank';
}
}
public function getName() {
return $filmname;
}
}
?>
Vote up this code0
| Action | submitted by Kirill
public class AndyDuffrain implements Runnable
{
public Stuff stuff;
public void run(){
for(int i = 1; i <= 23; i++)
breakWall();
stuff.clothes = Norton.getClothes();
stuff.money = Norton.getMoneyFromBank();
}
public void breakWall(){
if(!Norton.know()){
breakWall()
}
}
}
Vote up this code0
March 29, 2012 | Action | submitted by Afiq Xilantra Azmi
var open = $('.bifrost'),
Vote up this code2
| Action | submitted by bld
list name = ["James","Bond"];
default
{
state_entry()
{
llSay(0, llList2String(name,1) + ", " + llList2String(name,0) + " " + llList2String(name,1));
}
}
Vote up this code3