Overblog Tous les blogs Top blogs Technologie & Science Tous les blogs Technologie & Science
Suivre ce blog Administration + Créer mon blog
MENU
Publicité
The code in all its forms

Top articles

  • php : Convert an array to int only if all value could be cast in int

    30 mars 2015

    Convert an array to int only if all value could be cast in int. Yes very usefull if you use some graphic. Readable version $Serie= range(0,5) ; $Serie = array_is_numeric($Serie) ?array_map('intval',$Serie):$Serie; function array_is_numeric(array $array)...

  • Php filter array by columns

    30 mars 2015

    Convert big array to smaller I have a big array to read or a really big array to copy severall time .... in memory and finaly I use only four columns. That a usualy case, while it's so simple to avoid extra informations. Use filter Example $List[] = array("a"=>"Apple","b"=>"Bananas","c"=>"Caroub","d"=>"diops","e"=>"electron","f"=>"first");...

  • php : Array_map

    30 mars 2015

    Array_map send each value of an array to a function, multiply each value by itself, and return an array with the new values. Simply, but not simple Ok, one function one usage. Not really true, you could really use this function for another usage Call...

  • Mise en avant : Interpreter Php

    09 mars 2015

    Je tenais à vous présenter un petit outil fort pratique pour exécuter rapidement quelques lignes de php en ligne de commandes. Bien sûr il existait le $php -a mais celui-ci ne permet pas l'édition multi lignes et surtout il n'affiche la sortie que lorsque...

  • Cours XSLT

    12 décembre 2014

    Un cours sur le XSLT !!!! Qu'est ce que c'est ? Tout simplement une façon de rendre lisible du XML. Bon d'accord, si vous ne savez pas ce que c'est, vous comprendrez rapidement que je commence à publier des articles sur le coding. Le premier étant la...

  • Mise en avant : Gestionnaire de pages pour Facebook

    17 février 2015

    Manage all your Facebook pages. Features Manage your Facebook Pages Share files directly to the app using the charms menu Live tiles display your last notifications Pin pages to your start screen and be on track with the last news Check your notifications...

  • Mise en avant : Facebook, gestion de votre audience

    12 février 2015

    Il est aujourd'hui possible d'utiliser les informations de segmentation des utilisateurs Facebook sur votre propre site pour afficher des publicités sur un groupe de population. Comment ? Facebook livre clé en main l'ensemble des techniques pour le faire...

  • php : array_map

    12 février 2015

    Un petit article pour préciser quelques éléments qui ne sont pas clair dans la documentation array_map de php. En effet, l'utilisation de cette fonction est très puissante et peut dans beaucoup de cas éviter d'écrire un code qui serait difficile à maintenir...

  • Heard this music for better programming

    25 mars 2015

    Heard this music for better programming Note from the author "Just a few tracks from games and a movie that I've found to be excellent to listen to while programming. I could have expanded this mix by several other tracks from Deus Ex, but tried to keep...

  • Docker : Read, use and host your own server like my grandma

    25 mars 2015

    Docker is an open-source program that enables a Linux application and its dependencies to be packaged as a container. Docker is not a VM, you could use system that has different dependency with docker on same os. Ok, but what should I do ? First, don't...

  • TiddlyWiki : Standalone wiki

    24 mars 2015

    TiddlyWiki TiddlyWiki is a simple wiki, fast does not use a database. Interests You can easily host on a local directory without server You can use Dropbox to host THE file. In this case public URL allows you to share your wiki in read-only mode, you...

  • Focus : Index on MySQL 5.6

    24 mars 2015

    Indexes are used to find rows with specific column values quickly. Without an index, MySQL must begin with the first row and then read through the entire table to find the relevant rows. The larger the table, the more this costs. If the table has an index...

  • MySQL : Avoid count with subquery

    18 mars 2015

    In SQL we often used subquery or joins to obtain a number of element (count) and especially when there are several numbers to get in a single query. Fortunately, in some cases we can use a "trick" on function count() by passing conditions. Syntax count(condition)...

  • Gamification : aperçu des différentes techniques

    09 mars 2015

    La gamification est un nom utilisé assez récemment. Beaucoup utilisé sur les Applications mobile et plus particulièrement les freemium, il s'agit d'une technique poussant l'utilisateur à revenir sur l'application, y avoir un attachement dont il ne pourra...

  • Nginx : Real time analysis

    11 mars 2015

    You have an nginx server and you use echo to watch vars ? Please use this tools instead. You can track active request full stack of filter debug LUA trace lua Perf trace file access https://github.com/openresty/nginx-systemtap-toolkit Screen shot ===...

  • Focus : Add circular menu to your web site

    11 mars 2015

    Add share actions on your site with small button that can deploy like a circular menu http://sarasoueidan.com/tools/circulus/

Publicité