Follow me
-
Recent Posts
calendar
Recent Comments
- Peter D. on How to use subprocess with PIPEs
- Ali Zhang on About matplotlib colormap and how to get RGB values of the map
- cloud on gimp: how to make a transparent background
- Stan Blum on gimp: how to make a transparent background
- 1125 on pytest-cov collects no data on Travis
Archives
Categories
Meta
Media RSS
Monthly Archives: July 2012
proper CSS style for HTML table
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 <table width="400" border="3" cellpadding="5" cellspacing="2"> <tr bgcolor="#DDDDDD"> <td width="100" … Continue reading
Running SSH commands (remotely)
Consider a login on ta Host machine. To run a command (let us try a simple ls to list the current directory), just type: ssh -X login@IPhostMachine lsssh -X login@IPhostMachine ls In practice, commands are longer and you would rather … Continue reading
RPM usage
In order to check which version of a RPM package is installed, type (e.g., for the motif package): rpm -qa | egrep ‘motif’rpm -qa | egrep ‘motif’
HTML: how to include another HTML file
To include another HTML document within a n HTML document, use this command: <! –#include virtual="temp.xml"–><! –#include virtual="temp.xml"–> the main HTML file should have a shtml extension.
Differences between Class and ID in CSS style
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 over … Continue reading
stty command and prompt issue
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 you … Continue reading
Posted in Linux
Leave a comment
Photos from Devon, UK
[coolEye search=Devon2011 how=album puser=cokelaer width=500 height=500 source=picasa]
Posted in photos
Leave a comment