796 shaares
295 results
tagged
WebDevelopper
Stash n’est juste cool parceque ça veut dire joint en anglais, c’est aussi une fabuleuse fonctionalité de Git.
Quand vous devez faire un merge ou un checkout mais qu’il y a des modifications non sauvegardées en cours sur vos fichiers, Git va vous demander d’y remedier. Soit vous commitez les changements, soit vous les annulez, sans quoi pas de merge ni de checkout possible.
Dans d’autres cas vous travaillez sur un truc à moitié fini que vous ne voulez pas commiter encore (parceque c’est moche). Mais un bug est découvert qui prendra une seconde à corriger. Ca fait chier de mettre à l’eau toute les modifs ou de créer une branche pour ça.
Quand vous devez faire un merge ou un checkout mais qu’il y a des modifications non sauvegardées en cours sur vos fichiers, Git va vous demander d’y remedier. Soit vous commitez les changements, soit vous les annulez, sans quoi pas de merge ni de checkout possible.
Dans d’autres cas vous travaillez sur un truc à moitié fini que vous ne voulez pas commiter encore (parceque c’est moche). Mais un bug est découvert qui prendra une seconde à corriger. Ca fait chier de mettre à l’eau toute les modifs ou de créer une branche pour ça.
Je sais, vous faites tous git add . comme Max des gros bourrins. Mais je vais partir du principe que certains d’entre vous font leurs commits avec amour, en prenant uniquement les fichiers dont ils ont besoin.
Et ces certains-d-entre-vous-qui-font-leurs-commits-avec-amour sont frustrés de devoir manuellement ajouter chaque fichier ou dossier.
Ceci est un message d’espoir pour notre minorité bafouée aux cris étouffés par la répression grondante des… Mais je m’égare.
La révolution s’appelle SCM Breeze, camarade
Ca s’installe les doigts dans le goulag:
Et ces certains-d-entre-vous-qui-font-leurs-commits-avec-amour sont frustrés de devoir manuellement ajouter chaque fichier ou dossier.
Ceci est un message d’espoir pour notre minorité bafouée aux cris étouffés par la répression grondante des… Mais je m’égare.
La révolution s’appelle SCM Breeze, camarade
Ca s’installe les doigts dans le goulag:
Zip.js est une bibliothèque Javascript qui permet de zipper, dézipper et lire de gros fichiers ZIP, jusqu’à 4 Go. Elle s’appuie sur l’API FileSystem pour fonctionner. Elle propose deux API dont une de haut niveau qui permet d’interagir sur les ZIP.
Zip.js fonctionne parfaitement dans Chrome et IE10. Pour Firefox, il faut ajouter un polyfill pour les DataView (jusqu’à ce que ce soit implémenté dans FF). Pour Safari et IE9, il faut utiliser le polyfill Typed Array.
Zip.js fonctionne parfaitement dans Chrome et IE10. Pour Firefox, il faut ajouter un polyfill pour les DataView (jusqu’à ce que ce soit implémenté dans FF). Pour Safari et IE9, il faut utiliser le polyfill Typed Array.
position: sticky is a new way to position elements and is conceptually similar to position: fixed. The difference is that an element with position: sticky behaves like position: relative within its parent, until a given offset threshold is met in the viewport.
fbcmd is a command line interface (CLI) for facebook.
It is open source and is both "free as speech" and "free as in beer". It works in Windows, Mac and Linux.
It was originally created for fast status updates and posting items to your news feed, but it has lots of additional cool commands.
It is open source and is both "free as speech" and "free as in beer". It works in Windows, Mac and Linux.
It was originally created for fast status updates and posting items to your news feed, but it has lots of additional cool commands.
Leak finder for JavaScript helps web application developers find memory leaks in their JavaScript programs.
In garbage-collected languages, such as JavaScript, you cannot have traditional memory leaks by forgetting to free memory: when all references to an object are dropped, the object is garbage-collected and the memory is freed.
However, JavaScript programs can leak memory by unintentionally retaining references to objects. For example the references can be pointers to objects stored in a data structure in a JavaScript library (e.g., Closure) instead of the application code. If an object is unintentionally retained, all objects it points to are kept alive as well. This will lead to superfluous memory consumption.
In garbage-collected languages, such as JavaScript, you cannot have traditional memory leaks by forgetting to free memory: when all references to an object are dropped, the object is garbage-collected and the memory is freed.
However, JavaScript programs can leak memory by unintentionally retaining references to objects. For example the references can be pointers to objects stored in a data structure in a JavaScript library (e.g., Closure) instead of the application code. If an object is unintentionally retained, all objects it points to are kept alive as well. This will lead to superfluous memory consumption.
One of the easiest ways to improve your application’s performance is by putting a caching solution in front of your database. In this tutorial, I’ll show you how to use Memcached with Rails, Django, or Drupal.
Memcached is an excellent choice for this problem, given its solid history, simple installation, and active community. It is used by companies big and small, and includes giants, such as Facebook, YouTube, and Twitter. The Memcached site, itself, does a good job of describing Memcached as a “Free & open source, high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.”
Memcached is an excellent choice for this problem, given its solid history, simple installation, and active community. It is used by companies big and small, and includes giants, such as Facebook, YouTube, and Twitter. The Memcached site, itself, does a good job of describing Memcached as a “Free & open source, high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.”
What are the most surprisingly useful PHP functions?
I was especially happy when I found out about implode() to join arrays together into a string.
I was especially happy when I found out about implode() to join arrays together into a string.
10gen's Eliot Horowitz discusses new features in MongoDB 2.2, out today. http://bit.ly/RXXl8V
Jack Franklin explains how JavaScript script loaders work and examines five of the most popular ones to help you decide which one to use for your project
This is the first in a series of regular articles that will examine resources in a number of categories, including front-end frameworks like Backbone.js, templating engines like Handlebars.js and a number of others. The number of JavaScript resources is growing every day, which is great for developers, but often it can become confusing or overwhelming to pick which one best suits the situation in hand. Often there's no definitive solution and hopefully this series will provide information and cases where particular solutions are best.
This is the first in a series of regular articles that will examine resources in a number of categories, including front-end frameworks like Backbone.js, templating engines like Handlebars.js and a number of others. The number of JavaScript resources is growing every day, which is great for developers, but often it can become confusing or overwhelming to pick which one best suits the situation in hand. Often there's no definitive solution and hopefully this series will provide information and cases where particular solutions are best.
Once upon a time, there was a file. It was on your computer, and you wanted to get it on a server.
Ever wondered why there are so many ways to do that? We’ll explain some of the basics of deployment in this article so you understand when to use what. Let’s get started!
Ever wondered why there are so many ways to do that? We’ll explain some of the basics of deployment in this article so you understand when to use what. Let’s get started!
In our new tutorial I would like to show you how to create really modern and stylish settings page. Lets assume that you’ve had an own project. And, you are looking how to create admin panel for your project with some settings. If so – just continue reading and check our demonstration. In order to make this page with options I use jQuery mobile library. I think that this is really great library to create such pages as settings page.
As you've probably heard me mention a billion times on Twitter, I've been proudly work on the Mozilla Developer Network revamp. This is my first real experience with working on websites with a fair amount of RTL readers. One thing I quickly recognized when browsing in RTL mode was that text wasn't always lining up on the correct side -- I would see text on the left where the browser should have displayed it on the right. After digging into the stylesheets, I saw explicit text-align:left directives and started queueing up selectors I'd need to change to text-align: right. Before doing so, however, I took the time to research a better way...and found it quickly.
The web is changing so quickly that it's hard to keep up with what's new in the platform. HTML5's new capabilities allow developers to build a whole new suite of applications - things that were once impossible to do, are now a reality.
This session will walk you down the bleeding edge of HTML5 for 2012 by focusing on in-depth techniques, which solve real world challenges. We'll cover media capture, file I/O, advanced usage of websockets, media streaming, device input, multimedia, and modern css design.
For all I/O 2012 sessions, go to https://developers.google.com/io/
This session will walk you down the bleeding edge of HTML5 for 2012 by focusing on in-depth techniques, which solve real world challenges. We'll cover media capture, file I/O, advanced usage of websockets, media streaming, device input, multimedia, and modern css design.
For all I/O 2012 sessions, go to https://developers.google.com/io/
HTML5 now has been utilised by many websites, either whole part or a small portion. It has been taking us to the next level of world wide web. Lots and lots of fancy websites are solely developed using HTML5 and CSS3 instead of Flash, which not only replace the old and slow Flash, also increase the semantic SEO ability. There are many changes in HTML5, especially the video and canvas markup elements. To easily start with, some step-by-step HTML5 tutorials are must look. No matter you are a beginner or somewhere in the middle, those tutorials will get you through and make things more clear.
Bear CSS est un petit outil en ligne très pratique qui permet de générer une base des styles CSS d’après le document HTML brut fournit. L’idée est très simple. Plutôt de de perdre du temps a écrire à la main chaque nom de classes et d’ID (en plus des balises de bases), Bear CSS lit votre document HTML et en extrait l’essentiel pour créer ses styles : les identificateurs.
CSSLisible va réindenter vos blocks de code, ordonner vos propriétés, afin de fournir un code CSS Lisible et plus maintenable. Attention, les commentaires internes aux sélecteurs sont retirés !
PhpMyCodeGenerator is a code generator framework, which allows you to create code generators as PHP functions and provide input to the code generators through an Excel file. PhpMyCellScript allows you to write programs directly in Excel.
Project providing a set of classes for the PHP programming language, which allow you to write to and read from different spreadsheet file formats, like Excel (BIFF) .xls, Excel 2007 (OfficeOpenXML) .xlsx, CSV, Libre/OpenOffice Calc .ods, Gnumeric, PDF, HTML, ... This project is built around Microsoft's OpenXML standard and PHP.
Everyone loves the Google CDN right? Even Microsoft runs their own CDN.
The problem is, they only host the most popular libraries.
We host the other stuff.
The problem is, they only host the most popular libraries.
We host the other stuff.