Follow me
-
Recent Posts
calendar
November 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 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
Category Archives: Internet related
HTML password protected
Password protecting a website (or a sub directory within a website) can be done easily thanks to two special files called .htaccess and .htpasswd First, in the directory that you want to be protected, copy and paste the following code … Continue reading →
Thunderbird hangs forever when “Copying message to Sent folder”
I set up a new account under Thunderbird with an IMAP in-going and SMTP out-going. All mails and folders are correclty imported from the server. I received new mails can delete them (it is updated on the server). So everything … Continue reading →
PHP: how to initialise a user directory
In the /etc/httpd/conf/httpd.conf, change the Userdir to public_html <IfModule mod_userdir.c> UserDir public_html </IfModule> and uncomment the section “Directory”
Convert documents into PDF with conv2pdf
Sometimes, you want to convert a document into a PDF and there is no such options in you preferred software. For instance, in OpenOffice you have the save option as PDF, so there is no problem here. However, in some … Continue reading →
HTML and CSS: differences between Class and ID
In HTML language, an ID identifies a specific element within a page and must be unique, whereas CLASS marks an element as members of a group and can be used multiple times. The question is why not always using Class … Continue reading →
Fedora 14, slow network
One common reason for having a slow network under Firefox with a Fedora distribution is related to iptables. Many proposed solution can be found on the web and suggest to deactivate the Ipv6 option in Firefox. This is done by … Continue reading →
HTML: how to insert HTML code in a verbatim tag <pre>
One issue with verbatim tag in HTML (<pre>) is that any HTML code included within the special characters < and > will be interpreted as HTML code despite the usage of a verbatim environment. So, if you include HTML code … Continue reading →