/Tony Lawrence

About Tony Lawrence

This author has not yet filled in any details.
So far Tony Lawrence has created 47 blog entries.

Bash Aliases

2010-05-25T23:08:17+00:00 September 2nd, 2005|Linux|

Most shells have some provision for aliases. Aliases can assign default behavior to a command (for example "rm" is often aliased to "rm -i") or can be used to create new commands (a typical example is "ll" aliased to be "ls -l").

Control Your Domain Registration Data

2010-05-25T23:08:39+00:00 August 29th, 2005|HTML|

Your domain registration is critically important. It's easy to get lazy about this stuff. Often your ISP or whoever set up your web site said they'd "take care of it" and that was it. It's been working fine for years, and you don't have to worry about it.

Bit Vector, Using Perl Vec

2010-05-25T23:12:07+00:00 July 19th, 2005|CGI and Perl|

A bit vector is just an array of bits; subsets of bits within the bytes have some meaning. That allows more compact storage for certain types of data. For example, if you only needed boolean on-off values, you can store eight values in one byte.

Google Sitemaps

2010-05-26T10:53:59+00:00 June 16th, 2005|Python|

Google is now letting web sites submit an xml file that lists urls and some information about how often the pages change, and how important the page is relative to other pages. Basically, it gets you to do part of the work for them - which we would hope helps everyone.

Creating Perl Modules for Websites

2010-05-26T10:54:04+00:00 June 16th, 2005|CGI and Perl|

When you are writing your own code, you are more apt to use someone else's module than write your own, unless your project gets fairly large and complex. Small scripting tasks just don't need the advantages modules offer. However, there is a case where modules might make perfect sense: web server cgi scripts often repeat the same tasks.

Loadkeys, Dumpkeys

2010-05-26T11:18:40+00:00 May 18th, 2005|Linux|

You can change the output of the console keyboard with loadkeys. It's an extremely powerful command, and the man page can be confusing, but for simple use (which is often all we need it for), it's very easy.