This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function display_icon_social_network ($alt,$link) | |
{ | |
echo '<a href="'.$link.'" target="_blank" title="'.ucfirst($alt).'"><span class="icon '.strtolower($alt).'"></span></a>'; | |
} | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a span.icon { | |
height: 24px; | |
width: 24px; | |
margin-right: 12px; | |
vertical-align: middle; | |
display: inline-block; | |
background:url(sprite.png); | |
} | |
a span.icon.blog { | |
background-position:0 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Test des fonctions random | |
* Copyleft 2012 - Antoine AUGUSTI - INSA de Rouen | |
* www.antoine-augusti.fr - [email protected] | |
* | |
*/ | |
$nb_tests = 10000000; | |
$erreur_moyenne = 0; | |
$somme_erreur = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Test des fonctions random | |
* Copyleft 2012 - Antoine AUGUSTI - INSA de Rouen | |
* www.antoine-augusti.fr - [email protected] | |
* | |
*/ | |
header("Content-type: image/png"); | |
// Notre taille d'image finale | |
$sizex = 800; |
NewerOlder