I was looking to use named colors in Microsoft's Visual Studio C++, but couldn't find any enumerations anywhere. I found a Wiki Entry which listed Web Colors, aka X1 Color Names. In taking a look at the source code for the web page, I noticed that the tables were produced in a nice, computer readable format. Continue reading "Color Name Enumeration for C++" »
Friday, May 25. 2007
Color Name Enumeration for C++
Thursday, May 17. 2007
HTML Page Template Framework
'Glue' web pages on the monitoring server are generated through the Mason Delivery Engine. In other words, Mason is a Perl based template system used for formatting the primary web pages of this server. It requres the use of Apache and mod_perl. Here is what I do to install Mason for my needs. As the monitoring server relies on tables from two databases, OneUnified and NetDisco, the installation process revolves around getting things ready for these two types of databases. Continue reading "HTML Page Template Framework" »
Wednesday, May 9. 2007
Various Perl Based Proxy Tools
In perusing Debian's Package List, I came across a number of Perl based Proxy tools.
The first one, an item that sounds interesting, but havn't thought of a way to put it into
action yet, is an HTTP Recorder. HTTP::Recorder
is a browser-independent recorder that
records interactions with web sites and produces scripts for
automated playback. Recorder produces WWW::Mechanize
scripts by default (see WWW::Mechanize
by Andy Lester),
The next item is an HTTP Tunnel. httptunnel creates a bidirectional virtual data connection tunnelled in HTTP requests. The HTTP requests can be sent via an HTTP proxy if so desired. This can be useful for users behind restrictive firewalls. If WWW access is allowed through a HTTP proxy, it's possible to use httptunnel and, say, telnet or PPP to connect to a computer outside the firewall.
The third item is HTTP::Proxy. It is a Perl based HTTP Proxy. It sounds like it can do some SSL type interception as well. It has an ability for add-on modules allowing various parts of a page to be re-processed prior to delivery back to a user.
Tuesday, May 1. 2007
HTML Page Template Framework
'Glue' web pages on the monitoring server are generated through the Mason Delivery Engine. In other words, Mason is a Perl based template system used for formatting the primary web pages of this server. It requres the use of Apache and mod_perl. Here is what I do to install Mason for my needs. As the monitoring server relies on NetDisco tables, a portion of the installation process revolves around initializing the NetDisco PostgreSQL database. Continue reading "HTML Page Template Framework" »