Random Code Association Thread (22)

1 Name: dmpk2k!hinhT6kz2E 05/01/02(Sun)03:48 ID:nV5475Eu [Del]

You've seen it before with English. Now lets do it with code. Any language is fine!

: ?PARSE FURRY = IF ."shitsuxsaged" THEN;

2 Name: Sling!myL1/SLing 05/01/02(Sun)05:09 ID:XGD76pXv [Del]

#include usualcrap.h
exit("orz");

3 Name: Squeeks!!XjdwLWBy 05/01/02(Sun)06:44 ID:Heaven [Del]

#!/usr/bin/perl

use >>2;
use shit_perl;

if ($things_to_do eq "posting") {
$orz == 'orz orz orz orz orz';
post_orz(http://4-ch.net/general/kareha.pl/1100797477/,$orz)
print 'orz';
}

4 Post deleted by user.

5 Name: Sling!myL1/SLing 05/01/02(Sun)08:44 ID:XGD76pXv [Del]

    	org	100h
push cs
pop ds
push dx
call orzfound
pop dx
mov al, byte[-1]
mov ah, 4ch
int 21h
orz db 'orz.$'
orzfound:
mov dx, offset orz
mov ah, 9
int 21h
ret

6 Name: !#usr/bin/anon 05/01/02(Sun)11:35 ID:Vyibyz1u [Del]

alias wtf_is_that {
if ($1- != $null) {
echo -a Hey $1, What hell language is that? Looks like $2
}
elseif ($1- == $null) {
echo -s It helps if you use braincells, DURRRRR.
}

on *:POSTINTHREAD: {
wtf_is_that >>5 Assembler??
}

(other than the call "POSTINTHREAD" that code is clean mIRC scripting)

7 Name: Sling!myL1/SLing 05/01/02(Sun)13:33 ID:XGD76pXv [Del]

IDENTIFICATION DIVISION.
PROGRAM-ID. orzProgram.

PROCEDURE DIVISION.
DisplayPrompt.

DISPLAY "orz". 
STOP RUN.

8 Name: dmpk2k!hinhT6kz2E 05/01/02(Sun)22:30 ID:JIZviRLG [Del]

print "Here comes the man train!"
10 print "orz-"
goto 10

(>>5 is intel-style x86 assembler to create a dos-based com file)

9 Name: befunge 05/01/03(Mon)02:35 ID:ySculFH8 [Del]

52*"-zro">:#,_@

10 Name: dmpk2k!hinhT6kz2E 05/01/03(Mon)03:29 ID:BaEcXxZw [Del]

#include <stdlib.h>
int 
main()
{
puts("A quick tutorial in befunge: \n");
while (1) {
putchar(rand()%255);
}
return 0; // yeah, right
}

11 Name: !#usr/bin/anon 05/01/03(Mon)04:08 ID:Heaven [Del]

Requesting Java, PHP, Ruby, Python, C++, C# and any other language missed so far!

orz

12 Name: Albright!LC/IWhc3yc 05/01/03(Mon)05:34 ID:qOOtmgyK [Del]

PHP:

<?php
if (sux($shit)) {
$title="Shit sux";
$msg="sage";
}
else {
$title="ZOMG";
$msg="sauce?";
}
?>
<html><head><title><?=$title?></title></head><body><?=$msg?></body></html>

(Mixing code and output like this is actually considered bad practice, though...

Python:

from wakachan import sux

if sux(shit):
print "SHIT SUX sage"
else:
print "ZOMG sauce?"

13 Name: Sling!myL1/SLing 05/01/03(Mon)05:36 ID:V79ZzTd8 [Del]

@ note: P is the rho symbol
orz<-'orz'
orz<-057 3 P orz
orz

14 Name: dmpk2k!hinhT6kz2E 05/01/03(Mon)09:53 ID:26qdEztP [Del]

// While talking about bad practice...
#include <iostream>
#include <string>
#include <vector>
#include <cstdlib>
using namespace std;
int
main(int argc, char **argv)
{
const int COMMENTS = 13;
string comments[COMMENTS] = {"zomg", "sage", "lol", "shitsux", "sauce?",
"torrent plz", "turns on a dime", "roffle", "milhouse is a meme!",
"gb2/l/", "WTF?", "partition denied", "winnar"};
  if (argc == 2) {
string argv2 = argv[1];
    if (argv2 == "girl") {
cout << "a/s/l?" << endl;
} else if (argv2 == "furry") {
cout << "gb2/5chan/" << endl;
} else {
srand(time(NULL));
cout << comments[rand()%COMMENTS] << endl;
}
}
  return 0;
}

15 Name: Sling!myL1/SLing 05/01/03(Mon)13:56 ID:V79ZzTd8 [Del]

H
FSCREEN O F 80 80 CRT
C EXCPT
OSCREEN E 1
O 12 'OTL'

16 Name: Sling!myL1/SLing 05/01/03(Mon)14:00 ID:V79ZzTd8 [Del]

#VRML V1.0 ascii

AsciiText {
string "o r z"
justification LEFT
}

17 Name: Sling!myL1/SLing 05/01/03(Mon)14:08 ID:V79ZzTd8 [Del]

<script><!--
document.write('<h1>oooooooooooooooooooORZzzzzzzzzzzzzzzzz</h1>');
//--></script>

18 Name: !#usr/bin/anon 05/01/03(Mon)17:16 ID:Heaven [Del]

10 INPUT "Hello, how do you do?"; U$
20 PRINT "orz"
30 END

19 Name: Sling!myL1/SLing 05/01/03(Mon)17:29 ID:pfxrLh8s [Del]

@echo off
if %1==aborn goto end
goto o
:r
goto z
:o
goto r
:z
echo **************
echo *  OTL   *
echo **************
:end

20 Name: MAD-Leser!r4YvKJpWUc 05/01/03(Mon)21:29 ID:1LFkLXv+ [Del]

#!/usr/bin/env ruby
require 'what'
module ThisThread
end
# get contents of internet thread
begin
load "thisthread"
rescue SyntaxError
# silently ignore the gibberish :o
end
# this is useful for debugging internet threads about
# associating stuff in any language you like, which have no
# ruby example code defined yet
if ThisThread.const_defined? "ASSOCIATION_THREAD" and ThisThread.const_defined? "LOL_WHAT_NO_RUBY_YET"
raise Question, "'no ruby people here :O?', by ", $NAME.slice /[^#]*/
end
# collect everything in the given internet thread, associate 
# it with a variable and try to appear witty ololol
begin
associations = Hash.new.merge! ThisThread.const_get "ALL_POSTS"
rescue Orz
puts "orz =("
exit 11
end

21 Name: !#usr/bin/anon 05/01/04(Tue)07:05 ID:Heaven [Del]

Reply.OnClick {
if (post.Value == "shit") {
$sux == "sage";
PostInThread($sux);
}

elseif (post.Value != "shit") {
$appprove == "My name is anonymous and I approve this thread";
PostInThread($approve);

22 Name: #!usr/bin/anon 2005-04-08 06:08 ID:Heaven

int orz=3;

This thread has been closed. You cannot post in this thread any longer.