MyBB Community Forums

Full Version: Talk in code
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
<?php
define("IN_MYBB",1);
include("./global.php");
$db->insert_query("posts", array("message" => "Thanks :P"), "tid='108106'");
?>
show [Let's see how the PHP parser parses LOGO]
question [LOGO was the first programming language I learned.  What was yours?]
make "firstlang answer
queetion (word [The first programming language you learned was] char 32 :firstlang [.  Now what was your name again?])
make "name answer
announce (sentence [The first programming language] :name [learned was] :firstlang[.])
<?php

if($php_is_boring) die();
echo "PHP is cool!";

?>
#include <iostream>
using namespace std;

int main ()
{
  cout << "Surprised no one did C++";
  return 0;
}

void mybb_talk(struct char_data *mybb_user)
{
   send_to_char(mybb_user, "Why not a snippet of C for that matter... and from the CircleMUD base code too so I'm using its send_to_char() function!");
}
#!/usr/bin/perl

use strict;
use warnings;
use CGI qw(:standard);
use POSIX;

print header(), "\n";
print start_html( -title=>"The Current Year" ), "\n";
print 'The current year is '.strftime("%Y", localtime(time)).'.';
print end_html(), "\n";


Office Terminal Wrote:[root@office Desktop]# perl test.pl
Content-Type: text/html; charset=ISO-8859-1


<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
<head>
<title>The Current Year</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>

The current year is 2011.
</body>
</html>
HAI
CAN HAS STDIO?
VISIBLE "HAI GUYS!"
KTHXBYE
faviouz@laptop:~$ cd Room
faviouz@laptop:~/Room sh clean.sh
[root@office ~]# whoami
root
[root@office ~]# whoareyou
nobody
[root@Emily]# Cowsay apt-get cowsay

< apt-get cowsay >
----------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||

Edit; Interesting, it's not parsing it correctly.
Pages: 1 2 3