The Linux Page

Help other users realize that everything is possible, especially avoiding Windows for their own personal use.

Welcome to The Linux Page

Fox Trot by Bill Amend. Click to enlarge.
Click to enlarge

This site is a collection of my own work with Linux. Certain things are easy, others take time to decipher and if I ever need to repeat the work (which usually happens!), then I need to remember everything by memory or... have a site with all the steps taken and to take again.

The following are my most recent posts:

I spent hours today to find this one module: Rules.

In most cases, you can set up a rule in Drupal with their Actions and Triggers and it will work just fine. The fact is that these options are extremely limited if you want any kind of condition on the Rule before triggering the action.

The idea is very simple:

1. Something happens

2. Check whether it is of interest1

3. Trigger the action

I needed that functionality for a couple of websites because I wanted to get an event whenever someone created a new page, but not for any type of ...

  • 1. This part is what is missing in Drupal Core v6.x

Since I installed Samba on my Linux box, I get many errors. From root kit checkers that tell me the port is deadly infected (no kinding!) to PAM that every day would tell me that the /lib/security/ module could not be found.

Oh! Yeah! I actually had to install that module. Not too obvious from the error though. I thought it would be automatic.

Every time a Windows box would connect, I'd get this entry:

May 17 07:05:01 hostname CRON[14871]: PAM unable to dlopen(/lib/security/
May 17 07:05:01 hostname CRON[14871]: PAM [error: /lib/security/

MS-Access defines many different types, including a newer one called DECIMAL.

You are supposed to be able to create tables with the DECIMAL type. So a statement such as:

   CREATE TABLE MyTbl (decimal_test DECIMAL(20, 5))

should work. Right?

I have been using CurrentDb.Execute for a while and that statement was causing the Execute function to return an error saying that the field definition was erronous (Syntax error in field definition, to be exact).

The trick is very simple!

I have been writing C/C++ code for... well... over 10 years.

I'm always surprised when I use another language and some basic rules are completely different.


Today I finally noticed that the W3C validator was open source (some people are real slow!)

This means I can get the source and run that validator on my system! Cool!

Under Debian you can just download the package with:

   apt-get install w3c-markup-validator

The will properly install the module, however, it won't be recognized just as is. I had to do several things to get things to mostly work...


If you want to use a specific domain name, you will need to edit your bind configuration file and add it.


Now, Apache is seemingly setup properly to ...

With Drupal, it is possible to have many sites defined in many different ways.

These are the things you can have in your URL that Drupal will understand and use to configure your site. The configuration file is called settings.php and will reside in a folder of which the name is determined using the URL used to access the site.

1. Fully qualified domain name

2. Port

3. Path withing the website

Sites are expected to be found under the 'sites' folder found in the same directory as the index.php file.

A quick CSV (Comma Separated Values) reference:

1) Row separator

  \n   \r\n

In order to separate lines, use a newline character sequence.

Most loaders probably support the \r sequence too. (Especially on MacOS/X)

[toc hide:1]

I have been trying to get my imap_open() function to connect to my mail server.

The mail server works just fine since I can use it over and over again to receive emails in Thunderbird.


The other day, I setup a small script to send file on an FTP. That was a long time since I had done anything like that and was not really thrilled, but I'm working for a client.

The FTP worked pretty well. The upload was going for a while. According to wput, if the connection is lost, it automatically retries and continues the transfer. It got stuck 3 times on me. For hours. No retry. Zilch.

Now, I updated my files on my end and then started the transfer again. Had to wait forever, although that is not the direct fault of wput, when it gets stuck mid-way, it's bad.

Several times, you may have been creating views and wondered: how the heck could I add a link to my node Edit page, or if you are like me, my node Outline, Track, Convert pages on top of the Edit page.

This is actually pretty easy.

To your fields, add a Node: Nid then click the Add button at the bottom.

In the setup of the field, select Rewrite the output of this field and enter the text of the link as it should appear (i.e. 'Edit' or 'Convert'.)

Unfreeze your Mouse when it Froze

Thank you for visiting my website.