Shaare your links...
3327 links
L!NKS Retour au blog Login RSS Feed ATOM Feed Tag cloud Picture wall Daily
Links per page: 20 50 100
◄Older
page 89 / 167
Newer►
  • PHP performance tips - Make the Web Faster — Google Developers
    "Avoid writing naive setters and getters" Hum... oui mais bon...
    >>Encapsulation is important in any OO language, popularity has nothing to do with it. In dynamically typed languages, like PHP, it is especially useful because there is little ways to ensure a property is of a specific type without using setters.
    en plus :
         Why use getters and setters?
    *    Scalability: It's easier refactor a getter than search all the var assignments in a project code.
    *   Debugging: You can put breakpoints at setters and getters.
    *    Cleaner: Magic functions are not good solution for writting less, your IDE will not suggest the code. Better use templates for fast-writting getters.

    et sinon les magic_methods ?? (http://stackoverflow.com/questions/4478661/getter-and-setter)
    <?php
    class MyClass {
     private $firstField;
     private $secondField;

     public function __get($property) {
       if (property_exists($this, $property)) {
         return $this->$property;
       }
     }

     public function __set($property, $value) {
       if (property_exists($this, $property)) {
         $this->$property = $value;
       }

       return $this;
     }
    }
    ?>

    Ben là, y'a pas d'intérêt sauf économique... (flemme !) autant passer par des attributs public si on ne fait rien d'autre qu'un raccourci...
    Sinon, ben des templates...
    permalink -
    - https://developers.google.com/speed/articles/optimizing-php
    php
  • Problème de foreach
    donne à tes checkboxes toutes le même nom : un nom suivi de [] (par exemple : "machin[]"). Ceci se traduiera dans $_POST par un élément ($_POST['machin']) de type array. Il te suffit alors de t'assurer que cet array n'est pas vide. :)

    Et pour savoir quelles cases au juste ont été cochées, contrôle les valeurs de cet array
    permalink -
    - http://fr.openclassrooms.com/forum/sujet/probleme-de-foreach-1
    html php
  • How to Make a Microscope Out of Paper in 10 Minutes - Wired Science
    permalink -
    - http://www.wired.com/wiredscience/2014/03/paper-microscope/
    sciences étonnant
  • Le site des anciennes revues informatiques - www.abandonware-magazines.org
    permalink -
    - http://abandonware-magazines.org/liste.php
    abandonware
  • Check My Torrent IP | Proxy & VPN Verification | TorGuard
    Créée un torrent qui actualise l'IP utilsée pour télécharger.
    Peut être utile en cas d'utilisation avec un VPN qui aurait tendance à se déconnecter  ;-)
    permalink -
    - http://torguard.net/checkmytorrentipaddress.php
    torrent
  • Posteet: Récupérer l'adresse ip publique [bash] [ip] [linux] [reseau] [shell]
    wget -q www.monip.org -O -  | iconv -f iso8859-1 -t utf8 | sed -nre 's/^.* (([0-9]{1,3}\.){3}[0-9]{1,3}).*$/\1/p'
    permalink -
    - http://www.posteet.com/view/216
    bash ip
  • 8. Scripts Shell | Cours Unix Utilisateur
    permalink -
    - https://coursunix.wordpress.com/category/8-scripts-shell/
    bash tuto
  • Use USB hard disk & flash drives with your Raspberry Pi | The Developer's Tidbits
    permalink -
    - http://devtidbits.com/2013/03/21/using-usb-external-hard-disk-flash-drives-with-to-your-raspberry-pi/
    linux mkfs
  • Chapitre 20. Utiliser des médias de stockage
    permalink -
    - http://formation-debian.via.ecp.fr/fstab.html
    fstab linux mount
  • Hotspots WIFI
    permalink -
    - http://www-igm.univ-mlv.fr/~dr/XPOSE2008/HOTSPOTS_WIFI/fonc.html
    wifi
  • RIOT - Radical Image Optimization Tool | A free program designed to efficiently optimize images for the Web
    permalink -
    - http://luci.criosweb.ro/riot/
    image jpg software
  • Si vous ignorez Google+, c'est le moteur Google qui va aussi vous ignorer - #Arobasenet - Liens en vrac de sebsauvage
    permalink -
    - http://sebsauvage.net/links/?pANJLg
    google
  • US Embassy and Godaddy conspire to censor dissenting Mexican political site - Boing Boing - Liens en vrac de sebsauvage
    permalink -
    - http://sebsauvage.net/links/?ZILRYw
    libertéInternet
  • Even HTTPS can leak your PRIVATE browsing • The Register - Liens en vrac de sebsauvage
    permalink -
    - http://sebsauvage.net/links/?-YVBZg
    https sécurité viePrivée
  • DEBUTER SOUS LINUX : GUIDE COMPLET
    permalink -
    - http://linux.developpez.com/tutoriels/debuter-installation/guide-linux-distribution/
    linux tuto
  • Fonctions réseau du noyau Linux
    permalink -
    - http://inetdoc.developpez.com/tutoriels/fonctions-reseau-linux/
    cours linux réseau
  • GSS est né : la programmation par contrainte à la rescousse de la mise en page CSS, un framework web basé sur Cassowary
    permalink -
    - http://www.developpez.com/actu/68304/GSS-est-ne-la-programmation-par-contrainte-a-la-rescousse-de-la-mise-en-page-CSS-un-framework-web-base-sur-Cassowary/
    css web
  • GitHub présente son éditeur de texte pour les développeurs, Atom est une «variante spécialisée de Chromium»
    A voir !
    permalink -
    - http://www.developpez.com/actu/68203/GitHub-presente-son-editeur-de-texte-pour-les-developpeurs-Atom-est-une-variante-specialisee-de-Chromium/
    chromium dev web
  • Optimiser tous les JPEG du répertoire courant - Liens en vrac de sebsauvage
    @echo off
    for %%x in (*.jpg) do (
      echo Optimizing %%x
      jpegtran -copy none -optimize "%%x" temp_optimize.jpg
      jpegtran -copy none -progressive temp_optimize.jpg "%%x"
      del temp_optimize.jpg
    )

    et http://jpegclub.org/jpegtran/
    permalink -
    - http://sebsauvage.net/links/?0DwJxQ
    batch image jpg memo
  • GnuTLS : un GoTo responsable d'une faille critique, qui existerait depuis 2005 dans la bibliothèque très utilisée sous Linux
    hop tout de suite sudo apt-get update !
    permalink -
    - http://www.developpez.com/actu/68477/GnuTLS-un-GoTo-responsable-d-une-faille-critique-qui-existerait-depuis-2005-dans-la-bibliotheque-tres-utilisee-sous-Linux/
    crypt faille linux sécurité
Links per page: 20 50 100
◄Older
page 89 / 167
Newer►
Shaarli 0.0.41 beta - The personal, minimalist, super-fast, no-database delicious clone. By sebsauvage.net. Theme by idleman.fr.