background preloader

Bbatsov/ruby-style-guide - GitHub

Bbatsov/ruby-style-guide - GitHub

jQuery Performance Tips and Tricks jQuery Performance Tips and Tricks Addy Osmani, AOL 18 July 2011 jQuery Proven Performance Tips & Tricks Performance optimisation is a crucial aspect of building ‘snappy’ client-side applications and something which all developers using jQuery should bear in mind. In Addy Osmani's (@addy_osmani) talk, he'll take a look at some of the best practices, tips and tricks for improving the performance of your jQuery code in 2011, with some quick wins and a few new surprises along the way. For more on Addy’s work, check out his official website for tutorials, for his community updates and magazines such as .NET for his thoughts and commentaries. Performance optimisation is a crucial aspect of building ‘snappy’ client-side applications and something which all developers using jQuery should bear in mind.

Bootstrap, from Twitter Need reasons to love Bootstrap? Look no further. By nerds, for nerds. Built at Twitter by @mdo and @fat, Bootstrap utilizes LESS CSS, is compiled via Node, and is managed through GitHub to help nerds do awesome stuff on the web. Made for everyone. Bootstrap was made to not only look and behave great in the latest desktop browsers (as well as IE7!) How to write a DOS batch file to loop through files « Jim's Blog I used to write DOS batch files like this all the time, but after a while you start to forget the DOS syntax and the tricks. So this post is almost for as much for me as it is for anyone searching for how to do this. The goal is to create a DOS batch file that can loop through a set of files and call another batch file or executable and pass the filename as the argument. In this example, I'm going to use two (2) batch files, but in your real world solution, the second batch file might be an executable (.exe). Let's examine the syntax of the DOS "for" command: FOR %variable IN (set) DO command [command-parameters] %variable Specifies a single letter replaceable parameter. In addition, you can use "FOR /D", "FOR /R", and "FOR /F". So we'll create our first DOS batch file (dubbed "doit.bat") with the below syntax: for /f %%a IN ('dir /b *.txt') do call runner.bat %%a In this for statement, we use the /f flag to only return filenames. for /f %%a IN ('dir /b *.txt') do call runner.bat %%~na %%~xa

[Variables] MS-DOS batch scripts Ressources Les Variables Définition d'une variable Demande de valeur à l'utilisateur Les variables d'environnements Découpage d'une variable Calculs simple avec des variables Définition et utilisation d'une variable Une variable permet de stocker une donnée indiquée, à tous moment dans le script on pourra faire appel à elle. rem désactive l'affichage des commandesecho offrem remise à blanc de l'écranclsrem définition de la valeur de la variablesetvariable=1rem affiche du texte en rappelant la variable grâce aux %echo la valeur de la variable est %variable%rem arrêtpause Résultat: Demande de valeur à l'utilisateur Il semble intéressant d'interagir avec l'utilisateur en demandant une variable. Résultat: Les variables d'environnement Nous avons vu comment définir des variables, en demander à l'utilisateur, mais Windows possède un certain nombre de variables déjà renseignées, concernant votre système. Découpage d'une variable Désormais nous souhaitons conserver uniquement le lecteur "c:\"

IE Collection - Internet Explorer is a browser developed by Microsoft.Windows Internet Explorer (formerly Microsoft Internet Explorer) is based on the Trident render engine. Utilu IE Collection contains multiple IE versions, which are standalone so they can be used at the same time. This is useful for web developers. Utilu IE Collection supports both 32-bit and 64-bit versions (if available) of Microsoft Windows 98, 98 SE, ME, NT 4.0, 2000, XP, 2003, Vista, 2008 and 7. Utilu IE Collection works best under the 32-bit version of Microsoft Windows XP Service Pack 3 (whether or not in a virtual machine). Conditional Comments are important for web developers, because they use them to target specific versions of Internet Explorer. Internet Explorer is een door Microsoft ontwikkelde browser.Windows Internet Explorer (vroeger Microsoft Internet Explorer) is gebaseerd op de Trident-rendermachine. Utilu IE Collection bevat meerdere losstaande versies van IE, die tegelijkertijd gebruikt kunnen worden.