-
Link list
The “Last in a Loop” Bug – closures are one of those tricky things. This shows a typical example for (mis-)understanding them, and how to fix it. Via ajaxian: Degrading Script Tags. Very cool, I didn’t know about this behavior. Although, I’m not really sure where you would use it? If a part of your…
-
Viewing colored output with less
When an output is filtered through less, the colored characters are transformed to black and white (or whatever your terminal settings are). This is because less, by default, strips away (filters out) escape sequences. These are special sequences which tell the terminal to do something special (like move the cursor, change the color and so…
-
Autorun malware
There seems to be a lot of confusion out there about this topic, so I’ll try to provide here some high-quality technical information to help users / sysadmins out. What is autorun malware? Autorun malware is malware which uses the autorun feature present in Microsoft Windows as a way to spread itself. This might or…
-
Breaking into the debugger programatically with Perl
In some situations you might wish to programatically stop the execution of a script if a debugger is attached. Some use-case scenarios: You are debugging an area of the code which gets frequently executed (in a loop for example), but you are only interested to see its status under certain conditions You have a central…
-
What you are willing to pay for
Disclaimer: as always, these are my own opinions, and don’t necessarily reflect the opinions of my past or current employers. To be read with Eminem – Loose Yourself in the background I’ve just finished an intervention at a large company. They had a major virus problem and we were brought in to offer expert advice.…
