Homeland Security says don't use Internet Explorer (Fri, July 2, 2004)

I guess it's pretty serious when the Department of Homeland Security says "Don't use Internet Explorer":

Windows title bar - setting the title of a Windows command session

I don't know exactly how I'm supposed to be able to control the text that appears in the titlebar of a Command prompt window in Windows 2000 and Windows XP, but I've figured out something that kind of sort of works. Just follow these steps:

Anti-practice: The karma of bad estimates and not communicating in the process of software development

A quick lesson on the karma of getting and accepting bad estimates from developers, and not communicating:

Mutt email tips

Maybe because I'm a bit of an old-timer, or maybe because I like the speed, I often use mutt for my email. Knowing that, DD forwarded me this link of good mutt tips. As an old(er) friend might say, I'm all over that like green on a frog.

Perl CGI environment variables example

Here's a sample Perl CGI program I wrote that prints out all of the environment variables it knows. I've found this program to be very useful when first installing a web server, or when debugging a problem with a web server or new environment.

Perl CGI environment variables - example program

Here's the code:

Linux mkdir - How to create multiple directory levels at one time

Linux mkdir question: I'm about to go to work on a new server, and I want to create subdirectories named docs, bin, and lib, and the docs directory has two subdirectories named personal and business. How can I create these directories and subdirectories with one command?

Answer: Use the "-p" option of the Unix/Linux mkdir command. The answer is shown below:

A sample Perl CGI program that can be used to edit files on a web site

Below I've included a sample Perl CGI program that I use to edit some files on my web sites. I've modified the file a little bit for the purposes of this example, but it's essentially what I use.

Very Important: This program by itself is not secure in any way. It does not require a user login, etc. At the very least you will want to secure access to this program with an Apache htaccess configuration, or something similar on other Perl CGI web servers. This program is shown here for demonstration purposes only.

Linux find example - how to copy one file to many directories

Did you ever need to take one file and copy it to a whole bunch of other directories? I had this problem recently when I changed some of the header files on the devdaily.com web site. I had a file named ddhead.html, and I needed to copy it to a bunch of subdirectories.

Using Unix, Linux, or Cygwin this turns out to be really easy. I just used the Linux find command, in combination with the cp command. Once I figured out the right syntax, I was able to copy the file to nearly 500 directories in just a few seconds.

Linux backup - using pax instead of tar (Sat, June 26, 2004)

Here's a link to a quick tip on using pax instead of tar to create a large archive. The thing that got me into this problem in the first place was the new Java source code warehouse, where you can "Learn Java by Example". I basically put a search engine on top of a bunch of good open source Java projects to create something that I hope is useful.

Syndicate content