Monthly Archives: July 2012

proper CSS style for HTML table

Tweet When using table in HTML, you should use CSS style. Indeed, the old way that consists of setting attributes within the table (and td/tr/th) tag is deprecated. Therefore this old code

should be replaced by

Where a … Continue reading

Posted in Computer Science | Tagged | Leave a comment

Running SSH commands (remotely)

Tweet Consider a login on ta Host machine. To run a command (let us try a simple ls to list the current directory), just type:

In practice, commands are longer and you would rather use double quotes around the … Continue reading

Posted in Linux | Tagged | 1 Comment

RPM usage

Tweet In order to check which version of a RPM package is installed, type (e.g., for the motif package):

Posted in Linux | Tagged | Leave a comment

HTML: how to include another HTML file

Tweet To include another HTML document within a n HTML document, use this command:

the main HTML file should have a shtml extension.

Posted in Computer Science | Tagged | Leave a comment

Differences between Class and ID in CSS style

Tweet The key thing is that an ID identifies a specific element within a page and therefore must be unique. Classes mark elements as members of a group and can be used multiple times. So why not always using Class … Continue reading

Posted in Computer Science | Tagged , | Leave a comment

stty command and prompt issue

Tweet Under Linux, the sheel command (or prompt) may behave strangly after some unusual command. I do not have any example off hand but typically, the escape key will not work anymore, or special characters. In the worst case what … Continue reading

Posted in Linux | Leave a comment

Photos from Devon, UK

Tweet

Posted in photos | Leave a comment