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:

PAD File Module for Drupal

Introduction

You can find my PAD File module on Drupal.

It is intended for any company and individual that has executable files for download but its customers and potential customers. The PAD File describes the content of such executable to the target machine (robots that spider the Internet for PAD Files).

With the module you can create, import, update and delete PAD Files as necessary. It automatically generates the XML files and maintains them on your website without you having to do anything about it.

It is also intended ...

Let's start with my rant!

I like Drupal, in general. But like most PHP code bases, if an "error" (mistake) occurs, nothing is reported.

I spent hours trying to make one of my menu work (Note that the "menu" module is also called the "links" module.) It just did not want to go. In order to have the nice breadcrumb and other such features, you need to have menus with sub-sub-menus...

One thing we do with lists on a website is to put a small image to replace the default bullet with something that looks nice in the theme.

If you are still reading the documentation on how to place an image in a list to replace the default bullet and what you read is some talks about list-style-image then you are in the wrong direction. Of course, this works great with Mozilla. But Internet Explorer does not understand the concept of list-style-image at all.

Introduction

Often, when you build a website, you want columns.

Common designs include

GIT

Drupal now offers git to access its source code and 3rd party modules, themes, etc.

The GIT system is interesting but it has a huge difference between the CVS and SVN scheme: it requires an action, such as commit, and a push. The push is what synchronize your copy with the repository. Without the push, all the actions you've been taking will have no effect (they only are on your hard drive.)

As you will see in each project, there is a Version Control tab at the top. Clicking on it gives you most of the instructions you need to know to work with Drupal git. I will not repeat them here. The only two things I often do is commit + push and tagging (to create new official versions.)

Pre-Pre-Scriptum: Please, look for the edll library. It is now available as a free library for MinGW.

Hard to believe, but the FreeBSD top utility does NOT sort by CPU usage by default. I guess there is some other magic. 99.9% of all the system you run now a day will have way more processes that can be displayed in one window. This means you need to have the processes that use the most CPU at the top to see what's running and taking too much time.

In general, I use objdump to check out the list of shared libraries. This is because I usually want to make sure I did not compile against a certain library (i.e. X11.)

The other day, I created the odbcpp library. When I tried to build it on my Mac OS/X 10.4 (Tiger) I got a problem with the dynamic libraries. Instead of a .dylib extension, I got... nothing at all! (this problem was also reported on 10.5) I was sure that it worked for me with other libraries I developed (such as my sswf library) and thus I decided that I was not going to be left alone. Well...

This page is a test page of the Menu per Role module for Drupal (Yes. This site is a Drupal site, did not guess yet?!) The module controls whether a menu entry should be shown to a given set of customer without having to change the permissions of the destination. This is particularly useful whenever the destination is not a node.

As of Dec 2008, I'm the maintainer so I needed a place to test the module. Here it is.

You will need to be registered and logged in to see the corresponding menu item in the drop down. Good luck.

And the following is a node with comments that I use to test the ...

Unfreeze your Mouse when it Froze

Thank you for visiting my website.