4269 links
  • Arnaud's links
  • Home
  • RSS Feed
  • Tag cloud
  • Login
newest first
  • Get/Set - PHP Getters/Setters PHP, Java, Linux, JBOSS Seam | icurtain
    July 24, 2012 - permalink - http://www.icurtain.co.uk/getset.php
    generate php
  • Sed - An Introduction and Tutorial
    July 23, 2012 - permalink - http://www.grymoire.com/Unix/Sed.html
    sed
  • Rechercher et remplacer en ligne de commande bash shell en utilisant sed | Stratégies, solutions, design et développement Internet 2.0

    bash# sed -i ’s/[texte_recherché]/[texte_de_remplacement]/’ monfichier.txt

    Pour l’exercice nous allons dire que monfichier.txt comporte une liste d’anciennes adresses email @wanadoo.fr et que nous désirons les mettre à jour en @orange.fr .

    bash# cat monfichier.txt
    toto@wanadoo.fr
    toto@wanadoo.fr
    toto@wanadoo.fr
    etc.

    Donc dans ce cas, cela nous donnera :

    bash# sed -i ’s/wanadoo/orange/g’ monfichier.txt

    Voilà en détail l’explication :

    On passe à la commande sed le paramètre “-i” pour l’édition du fichier monfichier.txt
    Le paramètre “-s” (substituer) qui définit l’action de rechercher / remplacer,
    l’expression régulière (REGEX),
    puis le ‘g’ (action global) à la suite pour la modification de toutes les instances de la chaîne de caractères remplacer dans le fichier.
    Dans le cas où on voudrait ne remplacer que la première qui aurait été trouvée, il faudra modifier comme suit : ‘s/texte1/texte2/’
    

    Bon, cela fonctionne sur un fichier, maintenant dans le cas de plusieurs fichiers, voici la commande ‘find’ qui va compléter l’astuce.

    bash# find . -maxdepth 1 -name “*.txt” -type f -exec sed -i ’s/wanadoo/orange/g’ {} \

    En détail cela nous donne:

    Nous utilisons la commande ‘find’ pour récupérer la liste des fichiers ‘.txt’ à traiter,
    dans le dossier courant ‘.’ et de ne pas aller plus bas ‘-maxdepth 1′,
    puis donc de lister les fichiers dont le nom finit par “*.txt” :  ‘-name “*.txt” -type f’.
    on utilise alors l’option ‘-exec’ pour dire à ‘find’ d’utiliser la commande qui suit sur les fichiers trouvés.
    

    Et voilà, simple non ?

    July 23, 2012 - permalink - http://supersonique.net/administration/rechercher-et-remplacer-en-ligne-de-commande-bash-shell-sed/
    bash linux rechercher remplacer sed
  • Every day JSON work: comparing JSON documents for equality ("are these JSONS same?")
    July 19, 2012 - permalink - http://www.cowtowncoder.com/blog/archives/2010/07/entry_406.html
    java json
  • InterfaceLIFT Wallpaper: Mac Is Greater
    July 19, 2012 - permalink - http://interfacelift.com/wallpaper/details/1924/mac_is_greater.html
    mac pc wallpaper
  • windows-seven.org: Cacher une partition avec Windows 7
    July 18, 2012 - permalink - http://www.windows-seven.org/2010/05/cacher-une-partition-avec-windows-7.html
    windows
  • Linux in My Box: Logging Shell Commands in Linux

    Comment logger toutes les commandes tappées par tous les utilisateurs sur linux

    July 18, 2012 - permalink - http://blog.kxr.me/2012/01/logging-shell-commands-in-linux.html
    linux log
  • Rotate PDF permanently, online, for free
    July 18, 2012 - permalink - http://www.rotatepdf.net/
    online pdf rotate tools
  • Windows : Créer une clé USB d'installation
    July 17, 2012 - permalink - http://www.commentcamarche.net/faq/21013-windows-creer-une-cle-usb-d-installation
    boot iso windows
  • Java current Timestamp example - how to create a "current timestamp" | Java timestamp now | devdaily.com

    Comment créer un timestamp de l'heure actuelle en Java

    July 17, 2012 - permalink - http://www.devdaily.com/java/java-timestamp-example-current-time-now
    java timestamp
  • http://www.siteduzero.com/tutoriel-3-34590-procedure-stockee.html
    July 17, 2012 - permalink - http://www.siteduzero.com/tutoriel-3-34590-procedure-stockee.html
    bdd databse db mysql ps
  • PHP: Requêtes préparées et procédures stockées - Manual
    July 17, 2012 - permalink - http://php.net/manual/fr/pdo.prepared-statements.php
    bdd database db mysql ps
  • Bateau école Lyon - Code et permis bateau en Rhône Alpes
    July 16, 2012 - permalink - http://www.littoral-nautic.fr/
    bateau permis
  • Contacter votre Bateau Ecole en Isère. | Permis Bateau Isère
    July 15, 2012 - permalink - http://www.permis-fluvial.fr/contacter-votre-bateau-ecole-en-isere
    bateau permis
  • Index of /UTBM_LO22/P08

    Site avec bon TD linux bash

    July 14, 2012 - permalink - http://eric.bachard.free.fr/UTBM_LO22/P08/
    bash linux shell
  • Utiliser un SSD dans son Media Center

    Reglage à faire avant d'installer windows 7 sur un SSD

    July 14, 2012 - permalink - http://www.media-center7.fr/divers-a-systeme/163-utiliser-un-ssd-dans-son-media-center.html#AvantInstall
    ssd
  • LDLC Aurore BB4-I3-4-H3 (BB4-I3-4-H3) : achat / vente PC portable sur ldlc.com
    July 14, 2012 - permalink - http://www.ldlc.com/fiche/PB00130752.html
    hardware portable
  • .bashrc not being executed, why?

    Pourquoi le bashrc ne s'execute pas

    July 13, 2012 - permalink - http://www.linuxquestions.org/questions/linux-newbie-8/bashrc-not-being-executed-why-127676/
    bashrc linux shell
  • Bashrc collaboratif - Linux Attitude
    July 13, 2012 - permalink - http://linux-attitude.fr/post/bashrc-collaboratif
    bashrc shell
  • Comment savoir si une propagation DNS est en cours | Korben

    Tout est dans le titre, ce site requete depuis plusieurs endroits dans le monde

    July 12, 2012 - permalink - http://korben.info/comment-savoir-si-une-propagation-dns-est-en-cours.html
    dns
  • My vi/vim cheatsheet
    July 11, 2012 - permalink - http://www.worldtimzone.com/res/vi.html
    vim
  • All The Rage Faces! Troll Face, Forever Alone, Oh Stop It You, and more memes! - AllTheRageFaces.com
    July 11, 2012 - permalink - http://mclean.alltheragefaces.com/
    meme rageface
  • DriverPack – La boite à drivers ultime | Korben
    July 11, 2012 - permalink - http://korben.info/driverpack-la-boite-a-drivers-ultime.html
    driver outils windows
  • Concordance des temps
    July 11, 2012 - permalink - http://www.synapse-fr.com/manuels/CONCOR.htm
    francais grammaire
  • http://www.solti.fr/Clients/INP/juillet.html
    July 11, 2012 - permalink - http://www.solti.fr/Clients/INP/juillet.html
    iss master projet
  • Index of /Clients/INP
    July 11, 2012 - permalink - http://www.solti.fr/Clients/INP/
    iss master projet
  • memo_classement2012.pdf (application/pdf Object)

    Le classement au tennis : comment ça marche

    July 10, 2012 - permalink - http://www.fft.fr/sites/default/files/memo_classement2012.pdf
    classement tennis
  • Compare two JSON objects in Java - Stack Overflow

    Comment comparer deux objets JSON sans tenir compte de l'ordre des tableaux et des objets enfants

    July 10, 2012 - permalink - http://stackoverflow.com/questions/2253750/compare-two-json-objects-in-java
    json
  • Handling CLOBs – Made easy with Oracle JDBC 10g « Rocksolutions's Blog

    How to manage CLOB in oracle

    July 10, 2012 - permalink - http://rocksolutions.wordpress.com/2010/06/07/handling-clobs-made-easy-with-oracle-jdbc-10g/
    bdd clob database oracle
  • [ Tuto ] Lever sa voiture pour faire la vidange
    July 9, 2012 - permalink - http://www.golf5forum.fr/index.php?topic=14885.0
    golf vidange
  • » Faire la vidange de sa voiture - IBIZA II - Rampes de levage Bricoler à la Maison » Blog Archive

    Se fabriquer des rampes de montages moins chères et plus sécurisées!

    July 9, 2012 - permalink - http://bonvivre.blogvie.com/2009/05/10/faire-la-vidange-de-sa-voiture-ibiza-ii-huile/
    golf plan vidange
  • Modèles de présentations HTML5 pour remplacer PowerPoint

    Differentes alternatives à Powerpoint en Javascript/HTML 5

    July 8, 2012 - permalink - http://blog.nicolargo.com/2012/07/modeles-de-presentation-html5-pour-remplacer-powerpoint.html
    alternative powerpoint
  • Get Chest by Location | Bukkit Forums
    July 2, 2012 - permalink - http://forums.bukkit.org/threads/get-chest-by-location.74409/
    bukkit games
  • vexsoftware/minequery-php · GitHub

    Pour effectuer des requetes depuis PHP vers un serv minecraft

    June 27, 2012 - permalink - https://github.com/vexsoftware/minequery-php
    games minecraft query
  • Adminer - Database management in single PHP file
    June 27, 2012 - permalink - http://www.adminer.org/en/
    bdd db manager
  • i love the smell of negativity in the morning - Imgur
    June 27, 2012 - permalink - http://imgur.com/2POa5
    img
  • Les boxes enseignées au Kiais
    June 22, 2012 - permalink - http://kiaistraining.wifeo.com/boxes.php
    boxe club
  • File:Enchanting levels.png - Minecraft Wiki
    June 22, 2012 - permalink - http://www.minecraftwiki.net/wiki/File:Enchanting_levels.png
    enchant games minecraft
  • Enchanting - Minecraft Wiki
    June 22, 2012 - permalink - http://www.minecraftwiki.net/wiki/Enchanting
    enchant games minecraft
  • Article Java 7 - sewatech
    June 21, 2012 - permalink - http://www.sewatech.fr/article-java-7.html
    article java
  • Article JBoss AS 7 - sewatech
    June 21, 2012 - permalink - http://www.sewatech.fr/article-jboss-7.html
    article java
  • FrAndroid - Applications Android : [Dossier] Les différents émulateurs de jeux disponibles sur Android
    June 20, 2012 - permalink - http://www.frandroid.com/applications/96469_dossier-les-differents-emulateurs-consoles-disponibles-sur-android/
    android emulateur nes
  • Solution: Converting flac to mp3 advanced (supports drag ‘n drop) « Linux Tutorial Blog
    June 20, 2012 - permalink - http://www.linuxtutorialblog.com/post/solution-converting-flac-to-mp3-advanced-supports-drag-n-drop
    flac mp3
  • Tutorial: Conditions in bash scripting (if statements) « Linux Tutorial Blog
    June 20, 2012 - permalink - http://www.linuxtutorialblog.com/post/tutorial-conditions-in-bash-scripting-if-statements
    bash shell
  • Bash - Les paramètres
    June 20, 2012 - permalink - http://www.commentcamarche.net/faq/5444-bash-les-parametres
    bash shell
  • Shell – Opérateur sur les variables | Blog de C-quad
    June 20, 2012 - permalink - http://blog.cquad.eu/2012/06/17/shell-operateur-sur-les-variables/
    bash shell
  • MUSIC SMASHER
    June 17, 2012 - permalink - http://www.musicsmasher.net/
    music
  • Bayart - YouTube
    June 16, 2012 - permalink - https://www.youtube.com/watch?v=eKFjW2IqJI4&feature=player_embedded
    conf
  • AFNIC : le .fr se porte bien avec plus de deux millions de noms de domaines
    June 16, 2012 - permalink - http://www.zdnet.fr/actualites/afnic-le-fr-se-porte-bien-avec-plus-de-deux-millions-de-noms-de-domaines-39772997.htm?google_editors_picks=true
    dns
  • gTLD : Google et Amazon s'affrontent pour les nouvelles extensions
    June 16, 2012 - permalink - http://www.zdnet.fr/actualites/gtld-google-et-amazon-s-affrontent-pour-les-nouvelles-extensions-39772912.htm
    dns
▼ Load 50 more