background preloader

Outils, scripts et divers choses utiles

Facebook Twitter

Flow: A Static Type Checker for JavaScript. Picturefill. 10 Priceless Resources for JavaScript Learners – JavaScript Scene – Medium. Supercharge JavaScript development in Atom – Satyajit Sahoo – Medium. I know, editors are just tools, and the real power is within the programmer.

Supercharge JavaScript development in Atom – Satyajit Sahoo – Medium

The editor still plays a major role in writing good code. I don't know about you, but even though I can probably write a small program using nano, it'll be damn difficult to get it right the first time. Yeah, the good ol' typos, missing parentheses and all. And it'll probably be much slower than having the luxury of autocomplete provided in the editor. So, how do we choose a good code editor which doesn't get in our way and help us write code faster?

I was a long time user of Adobe Brackets and Sublime Text 3 (I still love Sublime), and occasionally tried Atom. Most of the posts I've seen about Atom plugins covered many useful and cool plugins and themes, but missed some really awesome plugins which let you code faster. Atom Beautify apm install atom-beautify.

Use JSDoc: Index. Découvrez Hyper Dev, le Codepen des applications JS. Closure Compiler Service. Python Tutor - Visualize Python, Java, JavaScript, TypeScript, Ruby, C, and C++ code execution. De jQuery à Vanilla JS. Oui alors jQuery, c'est sûrement très bien, ça simplifie pas mal de choses et le chaining est intéressant mais eeeest-ce que vous connaissez l'équivalent en pur JavaScript ?

De jQuery à Vanilla JS

Pas sûr hein. Ce petit article vous propose de quoi peut-être vous faire changer d'avis sur la bibliothèque qui pèse tout de même environ ~80ko. Note : Vanilla JS n'est pas un framework mais veut simplement dire "à nu", c'est du JavaScript sans bibliothèque. C'est parti ! #Table des matières #Évènements // jQuery $(document).ready(function() { // code }) // Vanilladocument.addEventListener('DOMContentLoaded', function() { // code }) // jQuery $('a').click(function() { // code… }) // Vanilla [].forEach.call(document.querySelectorAll('a'), function(el) { el.addEventListener('click', function() { // code… }) }) #Sélecteurs // jQueryvar divs = $('div') // Vanillavar divs = document.querySelectorAll('div') // jQueryvar newDiv = $('<div/>') // Vanillavar newDiv = document.createElement('div') #Attributs #Classes #Manipulation. Vanilla JavaScript FTW. Mise en place de polyfills avec Modernizr et YepNope.js.

Dans un article précédent, j’ai fait la présentation de Modernizr, une librairie JavaScript qui permet la détection de fonctionnalités du navigateur.

Mise en place de polyfills avec Modernizr et YepNope.js

Dans cet article, nous allons voir comment mettre en place un polyfill grâce à Modernizr et YepNope.js. Polyfill. Mise en place de polyfills avec Modernizr et YepNope.js. Live.js - One script closer to Designing in the Browser. Compile Sass, Less, Jade, CoffeeScript on Mac, Windows & Linux with Live Browser Reload. Show my password, please · Matt Smith. Stop me if this sounds familiar: you’re logging into a site or app on your phone, carefully entering your password, you tap the sign-in button, and… “Incorrect password, please try again.”

Show my password, please · Matt Smith

Ohhh, snap! You didn’t enter the wrong password, you simply tapped a wrong key. It’s something you likely would’ve caught if the login control provided a feature allowing you to view the password you entered. Here’s what I mean: Why do we need this? For a number of years we’ve seen mobile trends that suggest users are okay with the idea of removing password masking, at least to be able to see if the input is correct. 20 New Free Javascript and jQuery Plugins. John Resig developed the jQuery library in 2006, and since then this become the most popularJavaScript libraries on the web.

20 New Free Javascript and jQuery Plugins

Without a doubt, jQuery is well known and frequently used in the web design community. Jquery lets you prototype and create any kind of unique and creative user interface with minimal work and that is the reason why it increases in popularity each day. 40 JS Plugins All Web Developers Should Know About. We searched the web for the best JS plugins and libraries all web developers should know about, and came up with this awesome roundup of 40 most useful JS plugins for your inspiration!

40 JS Plugins All Web Developers Should Know About

Add these gems to your toolbox! We categorized them, for easy browsing, into JS plugins for audio, buttons and switches, carousel sliders, data visualization, file upload, forms and search, images, layout, maps, modals, navigation, notifications, transition and effects and typography. Huge thanks to the creators of these amazing JS plugins! Audio. Javascript Beautifier and Formatter Online. Enter your messy, minified, or obfuscated Javascript (JS) into the field above to have it cleaned up and made pretty.

Javascript Beautifier and Formatter Online

The editor above also contains helpful line numbers and syntax highlighting. There are many option to tailor the beautifier to your personal formatting tastes. Minify Javascript - Online Compressor / Packer. Minifying Javascript takes the pretty, well formed JS code that you have written and removes the spacing, indentation, newlines, and comments.

Minify Javascript - Online Compressor / Packer

These arie not required for Javascript to run successfully. It also makes the Javascript more difficult to read when viewing the source. Many developers will maintain a 'pretty' version, and upon deployment of their project run their scripts through a minification program. They also often combine their many script files into a single file. A Minify Example Before: /* Show transparent overlay */ function pageOverlay() { $("#overlay").height($(window).height()); $("#overlay").width($(window).width()); $("#overlay").show(); } 10 jQuery Horizontal Scroll Demos & Plugins. In today’s post we bring to you 10 jQuery Horizontal Scroll Demos & Plugins useful for those who see things horizontally.

10 jQuery Horizontal Scroll Demos & Plugins

I guess we have to accept some people scroll both ways! :) Updated: March 2016 Updated all plugins and demos with the latest versions and added some new ones. 25 Free Resources for New JavaScript Developers. We asked our campers to share their favorite free resources for new JavaScript developers on Camper News.

25 Free Resources for New JavaScript Developers

The list includes some time-tested books as well as podcasts and videos you may not have heard of yet. Books. Tool-Up Time: The Very Best Front End Web Developer Tools DebugMe Blog. We talked a lot with our in-house web developer team, researched the topic for hours and hours and finally put together the DebugMe* list of front end web developer tools which can be useful for every web dev out there.

*Our bug tracking and visual feedback giving solution is not on the list because we are more humble than that, however you should take a look at it and maybe give it a try. DebugMe will make your life easier especially if you are a web developer, a web designer or a project manager. Webpack module bundler. Gists from JS Bin vs. CodePen vs. JSFiddle vs. Plunker – cunning ramblings in codecraft.

Is anyone sick of choices yet? I mean, really, who needs ’em? Right? Amidst the seventeen choices you’ve had to make this morning just in your web dev work, your beleaguered synapses may have zapped in and around the bevy of options for an online code snippet editor. Maybe Codie Bin with its happy robot Oscar the Grouch? Or maybe the sleek and artsily-designed PorkPen? On the one hand, all of these tools are similar enough that most people seem to have simply settled on a favorite that they go to without having to consciously decide.

Well I’m not going to build an entire matrix here, but I did want to take a quick look at a single feature that I have decided recently is important to me in my quest to learn tons of web development skills. This is obviously a rubbish plan for actually learning anything practical, so I have recently determined to force myself to play with things as I am learning them. JSLint: The JavaScript Code Quality Tool. Closure Compiler Service. Annees bissextiles. JSHint, a JavaScript Code Quality Tool. Js. Réduire la taille des ressources HTML, CSS et JavaScript   Ces règles se déclenchent lorsque les analyses PageSpeed Insights indiquent que la taille de l'une de vos ressources pourrait faire l'objet d'une réduction.

Présentation La réduction de la taille des ressources consiste à supprimer les octets inutiles, ceux utilisés par exemple par les espaces supplémentaires, les sauts de ligne et les mises en retrait. JSCompress: Minify Javascript Online / Online JavaScript Compression. JavaScript Minifier. GitHub - Haeresis/NodeAtlas: NodeAtlas is a full-stack JavaScript framework allows you to create Scalable website with SEO and W3C compliance.