2011-11-20, 06:54 PM
2011-11-20, 07:12 PM
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[.])
2011-11-20, 10:35 PM
<?php
if($php_is_boring) die();
echo "PHP is cool!";
?>
2011-11-20, 11:02 PM
#include <iostream>
using namespace std;
int main ()
{
cout << "Surprised no one did C++";
return 0;
}
2011-11-21, 05:26 AM
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!");
}
2011-11-21, 12:14 PM
#!/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>
2011-11-21, 12:20 PM
HAI
CAN HAS STDIO?
VISIBLE "HAI GUYS!"
KTHXBYE
2011-11-21, 02:47 PM
faviouz@laptop:~$ cd Room
faviouz@laptop:~/Room sh clean.sh
2011-11-21, 04:29 PM
[root@office ~]# whoami
root
[root@office ~]# whoareyou
nobody
2011-11-21, 04:36 PM
[root@Emily]# Cowsay apt-get cowsay
< apt-get cowsay >
----------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Edit; Interesting, it's not parsing it correctly.
< apt-get cowsay >
----------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Edit; Interesting, it's not parsing it correctly.