Follow me
-
Recent Posts
calendar
December 2024 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Recent Comments
- Stan on python argparse issues with the help argument (TypeError: %o format: a number is required, not dict)
- Cormac on Pandas : how to compare dataframe with None
- LP on AWK: the substr command to select a substring
- jrab on python argparse issues with the help argument (TypeError: %o format: a number is required, not dict)
- How to disable SSL verification for urlretrieve? – Peter's blog on python: certificate verified failed
Archives
Categories
Meta
Author Archives: Thomas Cokelaer
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
How to add adsense in wordpress
In order to incorporate ads from adsense into your wordpress blog, you can use/install a dedicated plugin that will manage your adsense ID for you. However, you can also do it yourself, which may be more robust on the long … Continue reading
FEDORA: ec-incosolata font missing
Being developer of some R packages, I have to convert some R manual file using pdflatex. Under FEDORA, the conversion seems to work but some fonts are missing. It was not easy to figure out how to fix this issue. … Continue reading