Saturday, October 04, 2008

Test code display

Ok, let's see if the programming font, background and border are eye-candy or not .


#region mediocre-ninja.blogspot.com
class Program : Object {
static int _I = 1;

///
/// The quick brown fox jumps over the lazy dog
/// THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG
///

static void Main(string[] args) {
Uri Illegal1Uri = new Uri("http://packmyboxwith/jugs.html?q=five-dozen&t=liquor");
Regex OperatorRegex = new Regex(@"\S#$", RegexOptions.IgnorePatternWhitespace);

for (int O = 0; O < 123456789; O++) {
_I += (O % 3) * ((O / 1) ^ 2) - 5;
if (!OperatorRegex.IsMatch(Illegal1Uri.ToString())) {
Console.WriteLine(Illegal1Uri);
}
}

Console.WriteLine("o0O`~!@#$%^&*()-_=+\|l1I");
}
}
#endregion

DejaVu Sans Mono and Vera Sans Mono are able to kick Consolas !

Giờ test thử quote xem sao :
# DOS to Unix text convert (dos2unix much faster)
$ perl -i -pe 's/\r//g' file

# Legacy MacOS to Unix text convert
$ perl -i -pe 's/\r/\n/g' file

# Unix to DOS text convert (unix2dos much faster)
$ perl -i -pe 's/\n/\r\n/' file


Đoạn này test thử highlight coi có đẹp không .

Ổn rồi ^_^ .

1 comment:

MediocreNinja said...

Csharp sucks , but Java is trying to be worse >_<