background preloader

Programmation

Facebook Twitter

35 Google open-source projects that you probably don't know. This text is translation of: 34 projekty Open Source udostępnione przez Google Update: Currently list is longer than 35 projects, during change from Polish to English I have added one new project - and this is why title says 35 instead 34 ;). After updates there are even more! Sorry for your confusion.

Google is one of the biggest companies supporting OpenSource movement, they released more than 500 open source projects(most of them are samples showing how to use their API). In this article I will try to write about most interesting and free releases from Google, some of them might be abandoned. List of projects developed at Google and released as opensource (thanks @dobs from reddit) can be displayed also here Text File processing Google CRUSH (Custom Reporting Utilities for SHell) CRUSH is a collection of tools for processing delimited-text data from the command line or in shell scripts. C++ libraries and sources Google Breakpad An open-source multi-platform crash reporting system. NameBench. The Go Programming Language. HTML 4.01 / XHTML 1.0 Reference. Liste des traductions Fran?aises disponibles des sp?cifications du W3C.

Perfect Full Page Background?Image. Learn Development at Frontend Masters This post was originally published on August 21, 2009 and is now updated as it has been entirely revised. Both original methods are removed and now replaced by four new methods. The goal here is a background image on a website that covers the entire browser window at all times. Let’s put some specifics on it: Fills entire page with image, no white spaceScales image as neededRetains image proportions (aspect ratio)Image is centered on pageDoes not cause scrollbarsAs cross-browser compatible as possibleIsn’t some fancy shenanigans like Flash Image above credited to this site.

Awesome, Easy, Progressive CSS3 Way We can do this purely through CSS thanks to the background-size property now in CSS3. Works in: Safari 3+Chrome Whatever+IE 9+Opera 10+ (Opera 9.5 supported background-size but not the keywords)Firefox 3.6+ (Firefox 4 supports non-vendor prefixed version) View Demo CSS-Only Technique #1 Big thanks, as usual, to Doug Neiner for this alternate version. Visual jQuery 1.2.6. 35 Really Useful PHP Tutorials And Development Techniques. XML pour les bibliothécaires : un manuel et un atelier. Techniques for Mastering cURL. cURL is a tool for transferring files and data with URL syntax, supporting many protocols including HTTP, FTP, TELNET and more.

Initially, cURL was designed to be a command line tool. Lucky for us, the cURL library is also supported by PHP. In this article, we will look at some of the advanced features of cURL, and how we can use them in our PHP scripts. It's true that there are other ways of fetching the contents of a web page. However they have virtually no flexibility and lack sufficient error handling. cURL is a powerful library that supports many different protocols, options, and provides detailed information about the URL requests. Before we move on to more complicated examples, let's review the basic structure of a cURL request in PHP. InitializeSet OptionsExecute and Fetch Result Free up the cURL handle Step #2 (i.e. curl_setopt() calls) is going to be a big part of this article, because that is where all the magic happens. Optionally, you can also add error checking: Python Zone | Everything for the Python & Django developer.

À propos de Ruby. Indéniablement, Ruby devient de plus en plus populaire. Les « rubyistes » qualifient ce langage d’élégant, voire lui prêtent des qualités artistiques ; ils soulignent dans le même temps qu’il est pratique à utiliser et facile d’accès. Mais tout ça est très éthéré, qu’en est-il concrètement parlant ? Ruby, une conceptualisation personnelle Le langage ruby, en terme de syntaxe et de fonctionnalité, a été dès le départ conçu comme un ensemble homogène. À ce propos, il a ajouté : Ruby est simple en apparence, mais son architecture interne est très complexe — tout comme notre corps peut l’être1.

C’est cette approche qui a été maintenue depuis lors, pour faire de Ruby un langage robuste, porté par une syntaxe naturelle. La croissance de Ruby Depuis sa publication en 1995, Ruby a progressivement intéressé de plus en plus de programmeurs venant des quatre coins du monde. Par ailleurs, Ruby est totalement libre. Une complète orientation objet 5.times { print "Nous *adorons* Ruby -- Même trop ! " Fonction de rappel. Un article de Wikipédia, l'encyclopédie libre. En informatique, une fonction de rappel (callback en anglais) ou fonction de post-traitement est une fonction qui est passée en argument à une autre fonction. Cette dernière peut alors faire usage de cette fonction de rappel comme de n'importe quelle autre fonction, alors qu'elle ne la connaît pas par avance.

Principe[modifier | modifier le code] Illustration[modifier | modifier le code] Prenons l'exemple d'un programme contenant une partie Analyseur effectuant par exemple l'analyse lexicale d'un document. Supposons qu'une partie Traitement du programme, soit capable de compter les occurrences des mots qui lui sont transmis. Pseudo-code de l'Analyseur: // Variable de type fonction stockant la fonction de rappel fonction(mot) traiterMot; // Affectation de la fonction de rappel fixerFonctionTraitementMot(fonction(mot) f) { traiterMot <- f; } // Corps de l'analyseur analyse() { ... traiterMot(mot); ... } Pseudo-code du Traitement :