(function () {
console.log('bonjour')
}) ();(showName = function (name) {| git branch -m old_branch new_branch # Rename branch locally | |
| git push origin :old_branch # Delete the old branch | |
| git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |
Created by Christopher Manning
Nodes are linked to nodes in neighboring cells. The cell's color is a function of its area.
The white lines are the Delaunay triangulation and the purple cells are the Voronoi diagram.
| window.mobileAndTabletcheck = function() { | |
| var check = false; | |
| (function(a) { | |
| if (/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(a) || | |
| if (window.mobileAndTabletcheck == true) |
Réalisé par Mike Bostock, je vous propose ici de découvrir ce qu'il a réalisé avec la librairie D3 js.
| <!DOCTYPE html> | |
| <!-- Appel du module "App" --> | |
| <html ng-app="App"> | |
| <head> | |
| <meta name="description" content="Filtrer avec Angularjs" /> | |
| <!-- Appel de Bootstrap pour faire un truc joli --> | |
| <script src="http://code.jquery.com/jquery.min.js"></script> | |
| <link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> | |
| <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script> | |
| <!-- Appel de la librairie AngularJs --> |