November 17, 2006

HTML Conditional Comments

Conditional Comments are the name of HTML style comments that contain conditional directives for the browser. They are for IE only and thus are often employed in dealing with IE only CSS bugs like so:

<!--[if lt IE 7]>
<style type="text/css" media="all">
@import url(http://example.com/IEFixes.css);
</style>
<![endif]-->

This article gives good examples and provides a link to the official Microsoft document.

Posted by dante at 10:54 AM

February 14, 2006

Autorun CD

To make a program execute automatically when a CD is inserted, create a file called AUTORUN.INF in the root of the CD and in it put:
[autorun]
open=setup.exe

This will launch setup.exe from the root of the CD.

Posted by Tin Titan at 04:53 PM

November 10, 2004

Security Issues in Perl Scripts

These two articles address the main security issues the one should be considering when writing Perl Scripts that will be publicly available and possible remedies.

Security Issues in Perl Scripts
Security Issues in Perl Scripts: Perl Taint Mode
Both of these are by Jordan Dimov

Posted by Tin Titan at 05:15 PM

November 09, 2004

Source Code Search Engine

Koders is a source code search engine. It indexes over 125 millions lines of code from open source projects in 16 different programming languages.

This is very useful when you have read about a function or operator and want to know how it is used in real life or simply to see if a more efficient way exists.

Posted by Tin Titan at 04:57 PM

June 23, 2004

CSS Box Layout

Being a CSS newby, I found this lesson to be useful in understanding, via code snipets, how CSS layouts works.

More info on the topics from the same site can be found here.

Posted by Tin Titan at 05:47 PM

HTML Colour Blender

Color Blender allows you to pick a colour value format, input two valid CSS colour values in the format you chose, and pick the number of midpoints you'd like to see. The palette will show the colours you input as well as the requested number of midpoint colours, and the values of those colours.

After having to do this by hand once, I find this rather useful. You can also use it offline or on you site if you want, be sure to respect the Creative Commons license (Attribution-ShareAlike 1.0)

Posted by Tin Titan at 05:41 PM

May 11, 2004

Dictionary of Algorithms and Data Structures

From the National Institute of Standards and Technology, the Dictionary of Algorithms and Data Structures contains descriptions and definitions for an incredible variety (over 1200) of algorithms. Some also include implementation examples, sometimes in pseudocode, sometimes in a real language like C, java, Perl, etc.

Posted by Tin Titan at 05:06 PM

April 16, 2004

Perl Text Parsing

If you ever need to parse a comma separated string with double quoted text fields (something that looks like this: "name","email",,"postal code",,,,, ) in Perl, the Text::ParseWords module is a life-saver, especially the &parse_line function.

Posted by Tin Titan at 06:57 PM