Ajax response handler
function ajaxRequest() { var opt = ‘s=whatever you want to pass’; var page = ‘ajax_page.php’; … Read More »Ajax response handler
function ajaxRequest() { var opt = ‘s=whatever you want to pass’; var page = ‘ajax_page.php’; … Read More »Ajax response handler
Note By default, MySQL’s datadir is placed in the /var/lib/mysql directory. However, if you are planning on using MySQL tables to store a lot of… Read More »Moving the MySQL’s datadir directory
// styleFloat, IE // cssFloat , Safari ou Firefox // styleFloat and cssFloat, Opera //assignation var el = document.getElementById(‘element_id’); el.style.styleFloat = ‘left’; el.style.cssFloat = ‘left’;… Read More »Assigner ou récupérer la valeur de l’attribut CSS float via Javascript
/* original: http://code.google.com/p/ie7-js/ */ <head> <!–[if lt IE 8]> <script src=“http://ie7-js.googlecode.com/svn/version/2.0(beta2)/IE8.js” type=“text/javascript”></script> <![endif]—> </head> Note it works in IE… Read More »make IE behave like a standards compatible browser / ace que IE acepte los estandares
utrac, l‘outil sous linux pour deviner le charset d’un fichier et faire des conversions à la volée par exemple, pour deviner le contenu d‘un fichier… Read More »utrac
Note Il est souvent pratique d’ouvrir une fenêtre “DOS” sous windows à partir de l’explorer. Voici comment… Notez le cd /d qui force le changement… Read More »Comment ajouter “Command prompt here” au clic droit sur une répertoire?
# Works with dash “-” and colon “:” as a separator # The “/i” modifier at the end makes it case-insensitive (Perl-like syntax) /^([0-9A-F]{2}[:-]){5}[0-9A-F]{2}$/i #… Read More »A MAC address regex
# MacOS is able to limit bandwith form specific protocol or source-ip on the fly. Creating an bandwidth limtation rule won’t break your download #Build… Read More »Limit bandwith for a specific protocol on MacOS
def testImages(request): from PIL import Image path = (‘c:/images/soluciones__1.jpg’) #content = ‘c:/images/soluciones1.jpg’ content = ‘c:/images/image.gif’ … Read More »Generar miniaturas con PIL
package tools { /** * this class allows to bypass the wmode restriction for the @ character… Read More »ArrowBase and wmode transparent on Flash