trick

Creating subdomains on the fly

When one signs up for Blogger or WordPress, one gets very own subdomain that works instantly. How can do like that given I have my own VPS/VDS/Dedicated server? ...

Delphi Typed Constants in Case Statements

What is the most elegant (or least ugly) way of using typed constants in a case statement in Delphi? That is, assume for this question that you need to declare a typed constant as in const MY_CONST: cardinal = $12345678; ... Then the Delphi compiler will not accept case MyExpression of MY_CONST: { Do Something }; ... end; ...

Some dev forgot to lock their machine, Tricks! to play?

Some developers are just lazy and forget to lock their session when leaving. We strongly believe here that such bad habits should be punished. It's trick or treat: Invert mouse buttons Change wallpaper for a nice message in picture Send email from his account to everyone: "Bringing cakes tomorrow for being so bad!" What's your trick ...

css hacks (tricks)

sometimes when i see a website i like or sites from respected people, I see the source codes and try to understand them (as we all do) on Jeremy Keiths site he uses the following code: [role="navigation"] a { font-weight: bold; text-decoration: none; } I have never seen this before, and few other times i see code (which is considered...