Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

1

    std::set phoenix;
    phoenix.key_comp();

http://www.imdb.com/title/tt0373889

2

    class A {Ryan x; }; A a; fwrite(&a,sizeof(a), 1, handle);

http://www.imdb.com/title/tt0120815

3

/lib/modules/2.6.32/kernel/taxi

http://www.imdb.com/title/tt0075314

4

    Metres(1609.344).setColour(0x00ff00);

http://www.imdb.com/title/tt0120689/

5

    Person p;
    p.~Person();
    p.dawn();

http://www.imdb.com/title/tt0363547

6

    string arr[N];
    arr[0] = "Dusk";
    arr[N-1] = "Dawn";
    for(string str in arr);

http://www.imdb.com/title/tt0116367

7

function store(value) {
    return store(value)
}

store('e');

http://www.imdb.com/title/tt0088323/

8

<a href="#man"></a>

http://www.imdb.com/title/tt0357413/

9

for ANSI_COLOUR in {0..7};do
    M=10
    FOUND=''
    if [ "$ANSI_COLOUR" -eq 1 ];then
        FOUND=' <- Found it'
    fi
    M_NAME=`date -jnu -f '%m' +'%B' $M`
    echo -e "\033[3${ANSI_COLOUR}m $M_NAME \033[0m$FOUND"
done

http://www.imdb.com/title/tt0099810/

10

class mind:
    spots = []
    def sunshine(self):
        while True:
            pass
mind().sunshine()

http://www.imdb.com/title/tt0338013/

11

Array[Int](123, 321, 33, 33, 89, 98, 55, 123)
  .zipWithIndex
  .filter {
      case (v,i) => ((i % 2) == 0)
  }
  .map {
      case(v,i) => v
  }
  .sum

http://www.imdb.com/title/tt0416449/

12

def correct_illumination(time):
    return (time > dusk and time < sunset) or (time > sunrise and time < dawn)

http://www.imdb.com/title/tt1099212/

13

import string
print string.translate("tha      ", string.maketrans("ABCDEFGHIJKLMabcdefghijklmNOPQRSTUVWXYZnopqrstuvwxyz", "NOPQRSTUVWXYZnopqrstuvwxyzABCDEFGHIJKLMabcdefghijklm")).rstrip()

http://www.imdb.com/title/tt0095705/

14

import string
from datetime import datetime, timedelta
reduce(datetime.now(), lambda d,n: d+timedelta(days=n), range(1, len(string.ascii_letters[:-24])))

http://www.imdb.com/title/tt0289043/

15

(new Apocalypse).schedule(new Date());

http://www.imdb.com/title/tt0078788/

16

$('*')[4]

http://www.imdb.com/title/tt0119116/

17

total = 0
state = 1
for i in range(1,1000000,2):
    total+= (1.0/i ) * state
    state*=-1
print total*4

http://www.imdb.com/title/tt0138704

18

<?php

die(
    substr(min(array_filter(
        get_declared_classes(),
        function($k) { return preg_match('/Phar./', $k); }
    )), 1, 4)
);

http://www.imdb.com/title/tt0095016

@Sarkie

var somethingWitty= new int[4, 4] { { 1, 1, 1, 1 }, { 2, 2, 2, 2 }, { 3, 3, 3, 3 }, { 4, 4, 4, 4 } };

http://www.imdb.com/title/tt0133093/?

@tgpo

while($you == 'sleeping'){ }

http://www.imdb.com/title/tt0114924

@fourohfour

for i in range(50):
shades[i] = Scheme.shadeOf("#666666");

@alphab0t

int sum=0;
for(int i=0; i<fears; i++) {
sum += i;
}

http://www.imdb.com/title/tt0164184/

@Antoine-D
int sum(int a, int b) {
    return a+b;
}
int sum(int a, int b) {
    int firstToSum = a;
    int secondToSum = b;

    int result = firstToSum = a + b;

    return (int)firstToSum;
}
int sum(
    int a, 
    int b) {
    return a+b;
}

http://www.imdb.com/title/tt0060196/?ref_=chttp_tt_6

@MendelGusmao

var black = {
"men": []
}

http://www.imdb.com/title/tt0119654/

// Also, ("men" in black) === true

@danudey

return [
[1,3,2,2,4],
[3,8,4,0,0],
[8,5,1,0,9],
[4,1,2,1,2],
[6,8,7,7,1]
]

http://www.imdb.com/title/tt0133093/

@dblotsky
Star a();
Star b();

a.attack(b);
b.retaliate(a);

http://www.imdb.com/title/tt0076759/

@polyglot-jones

Class MyClass {
private Locale spudPlace;
}

http://www.imdb.com/title/tt0102494/

@turtleguyy
if (speed >= 88) {
  return new Date('nov 5, 1955');
}

http://www.imdb.com/title/tt0088763/

@japino
Dream levelOne = new Dream();
Dream levelTwo = new Dream();

levelOne.add(levelTwo);

http://www.imdb.com/title/tt1375666/

@fullsailor
$logger.silence do
  ram + ewe
  ram + ewe
  ram + ewe
end

http://www.imdb.com/title/tt0102926/

@jdgarrett
function onSuccess (walker) {
   return new Sky(walker);
}

http://www.imdb.com/title/tt0086190/

@voetsjoeba
int main(){
    int* x = 0;
    return *x;
}

http://www.imdb.com/title/tt0375679/

@Lokno
if city != 'Seattle':
    time.sleep(28800)

http://www.imdb.com/title/tt0108160/

@foca

city = city.toHSL(); city.luminosity = 0;

http://www.imdb.com/title/tt0118929/?ref_=tt_rec_tt

@Lokno
now = time.strptime("02 Feb 93 06:00 AM", "%d %b %y %I:%M %p")

http://www.imdb.com/title/tt0107048/

@Lokno
bool first = true;
goto P;
I: 
goto M;
P: 
E: 
goto R;
M: 
goto E;
R: 
if( first ) { first = false; goto I; }

http://www.imdb.com/title/tt0390384/

@jqtruong
class Person {
    Idea injectedIdea

    def action() {
        render([signContract: injectedIdea.success() ? "yes" : "no"])
    }
}

http://www.imdb.com/title/tt1375666/

@Lokno
while( 4 ) {
    Pokemon();
}

http://www.imdb.com/title/tt0313487/

@brunokim
actor = {}
the = {"Great": actor}
#hint: type(actor)

http://www.imdb.com/title/tt0032553/

@Lokno
magician = magician.clone();

http://www.imdb.com/title/tt0482571/

@ThreeToes
<Controls:Eyes Width="0"  />

http://www.imdb.com/title/tt0120663/

@gregpardo
<button onclick="horizon()">Button</button>

http://www.imdb.com/title/tt0119081/

@ata4
try {
  hunt();
} catch (Exception me) {
  if (!handle(me)) {
    throw me;
  }
}

http://www.imdb.com/title/tt0264464/

@jlange

while(true){
console.log("Feb 2");
};

http://www.imdb.com/title/tt0107048/

@cs475x
class Air {
    int a;

    public Air() {
        a = 1;
    }
}

http://www.imdb.com/title/tt0118571/

@Tok
object John { case object End }
class John extends akka.actor.Actor {
  def receive = { case John.End => self ! akka.actor.PoisonPill }
}

http://www.imdb.com/title/tt1783732/

@sayhiben

(more reference than pun)

p1 = Person.new
p2 = p1
p1.attack(p2, 'ear')

p2.say(RULES[0])
RULES.each do |r|
  p2.say(r)
end

http://www.imdb.com/title/tt0137523/

@nickwb
<html>
  <head><meta name="author" content="Ridley Scott"></head>
  <body>lies</body>
</html>

http://www.imdb.com/title/tt0758774/

@gfv
len(["lust", "gluttony", "greed", "sloth", "wrath", "envy", "pride"])

http://www.imdb.com/title/tt0114369/

@nickwb
class Vehicle {

  bool isStolen() {
      return (now() - start_time) > interval('60s')
  }

}

http://www.imdb.com/title/tt0187078

@cs475x
tomorrow.setMortal(false);

http://www.imdb.com/title/tt0120347/

@cs475x
class Wedding {
    List<Guest> guest_list;

    Wedding(List<Guest> guest_list) {
        this.guest_list = guest_list;
    }

    void addGuest(Guest guest) throws InvalidGuestException {
        if (guest_list.contains(guest)) {
            Guest g = guest_list.get(guest);

            if (!g.hasArrived()) {
                g.setArrived(true);
                return;
            }
        }

        throw new InvalidGuestException();
    }
}

http://www.imdb.com/title/tt0396269/

@arekolek
class Person:
     def __init__(self, age):
         self.age = age

class Country:
    def __init__(self, eldership_age):
        self.threshold = eldership_age
        self.residents = []
    def add(self, person):
        if person.age < self.threshold:
            self.residents.append(person)

http://www.imdb.com/title/tt0477348/

@Tok
val keys = (0 to 11).map(_=>new SimpleDateFormat("EEEE").format(new Date(345600000L)).take(3))

http://www.imdb.com/title/tt0114746

for(;;) { new Stack<Long>().push(3L); }

http://www.imdb.com/title/tt0425379

@brimchan
  double tmp = balance;
  balance = (double) ((int)(balance*100)/100d);
  x.deposit(tmp - balance);

http://www.imdb.com/title/tt0151804/

@greyson
Philidelphia = new City() {
   Weather getWeather() { 
      return Weather.SUNNY;
   }
 };

http://www.imdb.com/title/tt0472954

@greyson
#!/bin/sh
find / -name \*X\*

http://www.imdb.com/title/tt0106179

@greyson
switch( (Button) benjamin )
{
   case curious:
      reverse();
      break;
}

http://www.imdb.com/title/tt0421715

@greyson
class Schindler
{
   private List< People > toSave;
}

http://www.imdb.com/title/tt0108052

@greyson
while( speed > 60 );
*((Bus) NULL);

http://www.imdb.com/title/tt0111257

@greyson
"Chablia\0\0\0\0\0\0\0\0\0\0"

http://www.imdb.com/title/tt0367594

@thrau
for(;;) {
    if(false) break;
}

http://www.imdb.com/title/tt0217869/

@davidgovea
function finish() { alert('you win') }

$.get('/rat1', finish);
$.get('/rat2', finish);

http://www.imdb.com/title/tt0250687

@tburias

if (isset(danger) && (danger.clear)) return true;

@tburias

knight.setAttribute('style','color: #000000;');
knight.position.y++;

http://www.imdb.com/title/tt1345836

@armw4
class Person
  def is_lost?
    true
  end
end

PEOPLE = [ Person.new, Person.new, Person.new ]

puts PEOPLE.all? { |person| person.is_lost? }

http://www.imdb.com/title/tt2017038/

@PaulWagener
try {
    throw new Truth();
} finally {
}

http://www.imdb.com/title/tt0104257

@chilts
var a = new Bug()
a.life()

http://www.imdb.com/title/tt0120623/

@JasonMRoos
function extract(dream, corporateIntel) {
    var corporateIntel = corporateIntel || [];
    corporateIntel.push(dream.data);
    dream.next && extract(dream.next, corporateIntel);
    return corporateIntel;
}

http://www.imdb.com/title/tt1375666/

@dnkoutso
class JJ extends Spielberg {
  JJ() {
    super(8);
  }
}

http://www.imdb.com/title/tt1650062/

@daniel-white
Frequency lowEnd = new Frequency(300000000);
Frequency highEnd = new Frequency(3000000000);
bool tunableRange(Frequency frequency)
{
   return frequency >= lowEnd && frequency <= highEnd;
}

http://www.imdb.com/title/tt0098546/

@NathanFlurry

How about this (pretty simple one):

while i ~= 1 do
    i = 1
end

http://www.imdb.com/title/tt1276104/

@michaelsanford
var theDay = new Date();
theDay.setTime(theDay.getTime() + (48 * 60 * 60 * 1000));

http://www.imdb.com/title/tt0319262/

@michaelsanford
#!/usr/bin/env bash
PID=$(ps ax | grep -e "Bill" | grep -v grep | awk '{print $1}')
kill $PID

http://www.imdb.com/title/tt0266697/?ref_=fn_al_tt_1

@michaelsanford
class Artifact < Nova
  def initialize()
    super
  end
end

http://www.imdb.com/title/tt0134983/

@hoehermann
{
}
{
}
{
}
{
}
{
}
{
}
{
}
{
}
{
}
{
}
{
}
{
}
{
}
{
}
{
}
{
}

http://www.imdb.com/title/tt0450232/

@hoehermann
apt-cache search gstreamer\[0-9.\]\+-plugins\-\([dglouy]{4}\|.{3}\)$ | sed 's/^.*-.*-\(.*\) - .*$/\1/'

http://www.imdb.com/title/tt0060196/

@hoehermann
// not here
{
float x = 3.14;
}
// here neither

http://www.imdb.com/title/tt0454876/

@configurator
int counter;

function square(int x) {
   counter++;
   return x * x;
}

http://www.imdb.com/title/tt2053463/

@configurator
<%@ Master Language="C#" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>

http://www.imdb.com/title/tt0110763/

@kosi2801
Flower f = new Rose();
f.getName();

http://www.imdb.com/title/tt0091605/

@kosi2801
Molecule el = MoleculeBuilder.add("O").add("H").add("H").build();
World.fill(el);

http://www.imdb.com/title/tt0114898/

@ddanius
Stopwatch orange = new Stopwatch();
orange.Start();

http://www.imdb.com/title/tt0066921/

@borysf
var canvas = document.getElementById('canvas');
var ctx = canvas.getContext('2d');
ctx.lineWidth = 1;
ctx.beginPath();
ctx.moveTo(0, 0);
ctx.lineTo(100, 0);
ctx.strokeStyle = '#ff0000';
ctx.stroke();

http://www.imdb.com/title/tt0120863/

@85pando
if (day.morning().toDie == true)
    day.().toDie = false;

http://www.imdb.com/title/tt0120347


sky.setMaterial(iron)

http://www.imdb.com/title/tt1034314/


loc = randInt();
return mexico[loc];

http://www.imdb.com/title/tt0285823


Soldier fett = new Soldier("Fett");
Soldier[] army = new Soldier[32*100000];
for (int i=0; i<army.length; i++)
    army[i] = fett.deepCopy();
for (int i=0; i<army.length; i++)
    army[i].attack();

http://www.imdb.com/title/tt0121765

@BlueHatbRit
Dream level1 = new Dream();
stage.addChild(level1);

Dream level2 = new Dream();
level1.addChild(level2);

(AS3 does this one nicely)
http://www.imdb.com/title/tt1375666/

@Ben-Kaniobi
try {
    theObject.heatUp(value);
}
catch (PassedIgnitionPointErrorClass &e) {
    theObject.extinguish();
}

http://www.imdb.com/title/tt1951264/


friend string You::getMovieTitle(Movie *mc);

http://www.imdb.com/title/tt0082398/


git add adams.c
git commit -m "Fixed #7"
git push

http://www.imdb.com/title/tt0129290/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.