![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#21 |
|
Newbie
|
Every forum I've been to lately has had an Anti-L33T rule.
God bless 'em. I hang out in the #amxmodx development and support channel and that's all I see. |
|
|
|
|
|
#22 | |
|
Programming Guru
![]() Join Date: Jun 2005
Location: Adelaide, South Australia
Posts: 1,223
Rep Power: 5
![]() |
Quote:
|
|
|
|
|
|
|
#23 |
|
Programming Guru
![]() Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 5
![]() |
making a 1337 encryption/decryption progarm is a great excercise for beginning regex.
the following code is unelegant and shitty, and i haven't looked at it for weeks now, but this thread made me think of it. i still haven't tested for the popular "0rz" pluralization, it was just some fun play project that lasted a couple hours. perl code (to be run from command line) #!C:\perl\bin\perl -w
$quit = "n";
until($quit eq "y")
{
print "\n\nenter text...";
chomp($input = lc(<STDIN>));
$input=~tr/abcefgijlopqrstyz/46<3fg|j10pqr57yz/;
$input=~s/d/|)/;
$input=~s/h/|-|/;
$input=~s/k/|</;
$input=~s/m/|\\\/|/;
$input=~s/n/|\\|/;
$input=~s/u/\\\//;
$input=~s/v/\\\//;
$input=~s/w/\\\/\\\//;
$input=~s/x/></;
print $input;
print "\n\nwanna quit? (y or n)";
chomp($quit = lc(<STDIN>));
}
print "\n\nthanks for nothing, don't come back...BITCH!!!";yeah, and 1337 is teh sux0rz n00b! pwned!!!!!!!111ONE
__________________
i put on my robe and wizard hat... Have you ever heard of Plato, Aristotle, Socrates?...Morons. |
|
|
|
|
|
#24 | |
|
Programmer
|
Quote:
Thats a great program. I think it should be made law in every country in the world that if you use 1337 in any way you will have your hands cut off so you cant write or type no more. ![]()
__________________
Bite My Shiny Metal Ass |
|
|
|
|
|
|
#25 | |
|
Programmer
|
Quote:
-thondal-
__________________
"die" he screamed at the polygon man. When he was done with him, only four points remained, a quad of what he once was. |
|
|
|
|
|
|
#26 | |
|
Professional Programmer
|
Quote:
__________________
The world's first athletic computer geek! The home of PrProgramsStudios How not to post a question: <-- Please don't reply |
|
|
|
|
|
|
#27 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
The use of toupper ()/tolower()
![]()
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|