Linux & toolsAvailable in French and English
Increase the size of the swap file
Ubuntu swaps into a single file, so doubling it takes five minutes: no repartitioning, no reboot, and a swappiness tweak keeps the kernel from using it too eagerly.
Faster everything: page loading, JavaScript, CSS integration and system memory (5 posts).
1 post
Linux & toolsAvailable in French and English
Ubuntu swaps into a single file, so doubling it takes five minutes: no repartitioning, no reboot, and a swappiness tweak keeps the kernel from using it too eagerly.
1 post
CMSAvailable in French
Sur mes thèmes Drupal 7, je supprime dès le fichier .info les feuilles de styles parasites des modules et je fais charger mon reset en premier.
3 posts
CMS5 commentsAvailable in French
Un snippet pour charger jQuery en pied de page, avec le choix de la version hébergée par Google plutôt que celle de WordPress.
JavaScript6 commentsAvailable in French
Les solutions d’intersection de tableaux en JavaScript s’effondrent dès quelques dizaines d’entrées. Voici une fonction par hachage, testée à coups de benchmarks.
JavaScript24 commentsAvailable in French
Les blocs AdSense écrivent dans le flux avec document.write et ralentissent toute la page : je les place en fin de page et les déplace avec jQuery.