#Convertir un fichier texte d’un format Windows/dos vers unix: tr -d ‘\015′ < win-format.txt > unix-format.txt #Convertir un fichier texte d’un format unix vers Windows/dos: sed -e ‘s/$/\r/’ unix-format.txt > win-format.txt
View Convert human readable sizes (K,M,G) to bytes in excel SI(SIERREUR(TROUVE("K";F107); 0); GAUCHE(F107;TROUVE("K";F107)-1)*1024;SI(SIERREUR(TROUVE("M";F107); 0); GAUCHE(F107;TROUVE("M";F107)-1)*1024*1024;SI(SIERREUR(TROUVE("G";F107); 0); GAUCHE(F107;TROUVE("G";F107)-1)*1024*1024*1024;F107)))Read More
View rsyslog TCP forwarding In the format shown above, UDP is used for transmitting the message. The destination port is set to the default auf 514. Rsyslog is...Read More
View A prototype for Number.toFixed in JavaScript Note if toFixed is not defined if (!num.toFixed) { Number.prototype.toFixed = function(precision) { var power = Math.pow(10, precision || 0); ...Read More
View Transparence IE png provenant de feuille de style CSS /* A modifier dans la page CSS*/ /* A la place de :*/ background-image: url(“image.png”); /* remplacer par :*/ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=crop src=‘image.png’); background-image: none;...Read More