Daily Archives: March 12, 2011

Language C: resources

GNU Coding Standards Here is a link to Thinking in C++ Another complete guide to C (in french) here.

Posted in Computer Science | Tagged | Leave a comment

How to include HTML within another HTML

To include another HTML document within a n HTML document, use this command: <! –#include virtual=”temp.xml”–> Tip: the main HTML file should have a shtml extension.

Posted in Computer Science | Tagged | Leave a comment

Install Apache and test PHP

Under fedora, install apache sudo yum install php Then, you should edit httpd.conf in /etc/httpd/conf and add AddType application/x-httpd-php3 .php3 or equivalent Then, under Fedora, go to system/service and start the httpd service. Alternatively type sudo service httpd start Finally, … Continue reading

Posted in Computer Science, Linux | Tagged , | Leave a comment

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”

Posted in Internet related | Tagged | Leave a comment

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

Posted in Internet related | Tagged | Leave a comment

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

Posted in Internet related | Tagged , | Leave a comment

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

Posted in Internet related, Linux | Tagged , | 4 Comments

Funny Olympic games video

Found on dailymotion.com Jeux Olympiques (Kasou Taishou) Olympic Games

Posted in amusement | Tagged | Leave a comment