Shaare your links...
410 links
peacecoLiens Home Login RSS Feed ATOM Feed Tag cloud Picture wall Daily
Voir tous les commentaires(24)
Links per page: 20 50 100
page 1 / 1
13 results for tags astuce x
  • Linux - Commandes - Mémento [Netensis - TechniNotes]
    Archives - tar, 7z
    tar

    Création d'une archive :

       sans compression :

       tar -cvf CHEMIN_ARCHIVE.tar FICHIERS_ET_OU_REPERTOIRES_A_STOCKER

       avec compression gzip :

       tar -cvzf CHEMIN_ARCHIVE.tar.gz FICHIERS_ET_OU_REPERTOIRES_A_STOCKER

    Lister le contenu d'une archive :

    tar -tvf CHEMIN_ARCHIVE.tar
    tar -tvf CHEMIN_ARCHIVE.tar.gz

    Décompresser le contenu d'une archive (dans le répertoire courant) :

       archive sans compression :

       tar -xvf CHEMIN_ARCHIVE.tar

       archive avec compression gzip :

       tar -xvzf CHEMIN_ARCHIVE.tar.gz

    7z

       Archive 7-Zip avec compression maximale (-mx=9 : niveau de compression de 0 = aucun à 9 = maximum, le standard est 5), contenu et entêtes chiffrés par mot de passe (-mhe=on -p) :

       7z a -ms=on -mx=9 -mhe=on -p ARCHIVE FICHIERS_ET_OU_REPERTOIRES
       
       # Exemple
       7z a -ms=on -mx=9 -mhe=on -p ~/backup/confidentiel.7z ~/Documents ~/.evolution

       Archive au format zip au lieu de 7z :

       7z a -tzip ARCHIVE.zip FICHIERS_ET_OU_REPERTOIRES
       
       # Exemple
       7z a -tzip ~/backup/images.zip ~/Images

       Chiffrer/déchiffrer du texte avec 7z (AES 256 Bits) :

       # Chiffrage
       echo -n "Texte" | 7z a -si -mx=9 -ms=on -mhe=on -pMOT_DE_PASSE ARCHIVE.7z
       
       # Déchiffrage sur la sortie standard, la redirection de stderr est obligatoire
       7z e -so -pMOT_DE_PASSE ARCHIVE.7z 2>/dev/null

    tar et 7z combinés

    7-Zip n'est pas adapté seul à la sauvegarde de tous les attributs des fichiers Linux. On peut combiner tar et 7-Zip (pour remplacer la compression gzip).

    Création d'une archive "tar.7z" :

    # "-si" compresse l'entrée standard (stdin)
    tar -c FICHIERS_ET_OU_REPERTOIRES 2>/dev/null | 7z a -si OPTIONS_7Z ARCHIVE.tar.7z

    Décompression d'une archive "tar.7z" :

    7z x -so ARCHIVE.tar.7z | tar xf -
    Sat 07 Sep 2013 09:10:39 PM UTC - permalink -
    - http://netensis.net/linux:commandes:memento
    7zip astuce

    Commentaires(0)













  • SSH Troubleshooting - Metawerx Java Wiki
    Failed to add the host to the list of known hosts (/home/USERNAME/.ssh/known_hosts)
    Connection works, but the following warning is issued

    Failed to add the host to the list of known hosts (/home/USERNAME/.ssh/known_hosts)

    This error occurs when:

       The user's HOME folder has incorrect permissions
       The user's HOME/.ssh folder or HOME/.ssh/known_hosts file has incorrect permissions (such as when the folder has been copied into location by root, or permissions have been manually set incorrectly)

    To fix, execute these commands (as root) to reset the permissions to their correct values (replace USERNAME with the appropriate username)

    cd ~
    chown USERNAME /home/username
    chown USERNAME -R /home/username/.ssh
    chmod 700 /home/USERNAME/.ssh
    chmod 600 /home/USERNAME/.ssh/*
    Tue 03 Sep 2013 07:08:29 AM UTC - permalink -
    - http://wiki.metawerx.net/wiki/SSHTunnelTroubleshooting
    ssh astuce

    Commentaires(0)













  • locale configuration
    edit: ça ne fonctionne plus... je ne sais pas pourquoi. mais après un  sudo dpkg-reconfigure locales  et un reboot ça a fonctionné.

    Pour avoir les accents sur mon raspberry pi, avec raspbmc j'ai du faire cette manip:

    add it in /etc/profile
    export LANG=fr_FR.utf-8
    export LC_ALL=fr_FR.utf-8
    export LC_CTYPE=fr_FR.utf-8
    export LANGUAGE=fr_FR

    reboot.

    run locale.
    voilá!
    Sun 01 Sep 2013 01:22:39 PM UTC - permalink -
    - http://forum.stmlabs.com/showthread.php?tid=5612
    raspberry astuce

    Commentaires(0)













  • Crawler un site Web avec wget
    ça me servira sûrement un jour!
    Sun 21 Jul 2013 04:33:35 AM UTC - permalink -
    - http://quack1.me/wget_website.html
    astuce wget

    Commentaires(0)













  • Achat de billets de train en moins d’une minute - Capitaine Train
    ça à l'air bien pratique!

    via sebsauvage
    Sun 21 Jul 2013 04:31:56 AM UTC - permalink -
    - http://www.capitainetrain.com/
    astuce sncf billet

    Commentaires(0)













  • Roundup: 10 DIY Garage Organization Ideas » Curbly | DIY Design Community
    Quelques idées bien sympa pour ranger ses outils dans son garage.

    Via tontof
    Thu 20 Jun 2013 12:13:21 AM UTC - permalink -
    - http://www.curbly.com/users/diy-maven/posts/15010-round-up-10-diy-garage-organization-ideas
    insolite astuce

    Commentaires(0)













  • Ajouter un chemin à la variable d’environnement PATH sous Windows | Sam & Max: Python, Django, Git et du cul
    Bon à savoir.
    Fri 08 Mar 2013 10:37:51 PM UTC - permalink -
    - http://sametmax.com/ajouter-un-chemin-a-la-variable-denvironnement-path-sous-windows/
    path windows astuce

    Commentaires(0)













  • Requests, urllib2 de Python simplifié
    Un module python qui à l'air très interressant!
    Fri 08 Mar 2013 05:10:48 PM UTC - permalink -
    - http://fr.nicosphere.net/requests-urllib2-de-python-simplifie-2432/
    request python urlib astuce module

    Commentaires(0)













  • MattsBits - Disable Windows Media Player Network Service In Windows 7
    Pour désactiver le serveur Dlna de windows media player qui se lance sans me demander mon avis non mais !
    Fri 08 Mar 2013 12:00:05 PM UTC - permalink -
    - http://www.mattsbits.co.uk/item-108.html
    windows astuce dlna wmp

    Commentaires(0)













  • Note : PHP : supprimer les accents dans un texte - Timo - Le Hollandais Volant
    ça peut servir
    via sebsauvage
    Sun 10 Feb 2013 03:10:39 PM UTC - permalink -
    - http://lehollandaisvolant.net/?mode=links&id=20130209141245
    php astuce script accent

    Commentaires(0)













  • minidlna
    Note pour plus tard:
    Si comme moi vous avez installé un petit serveur virtualisé sous Virtualbox avec un Minidlna dessus. Le démarrage en automatique de minidlna peut poser problèmes si c'est le cas penser a changer la priorité de démarrage du script "/etc/init.d/minidlna start"  en le passant après celui des guest addon de virtualbox.
    Moi j'ai fait ça grace à webmin mais je vous invite à regarder ici sinon:
    http://forum.ubuntu-fr.org/viewtopic.php?pid=12037471
    Thu 10 Jan 2013 10:18:31 AM UTC - permalink -
    - ?hqMxmQ
    virtualbox minidlna init.d astuce

    Commentaires(0)













  • Sublime Text 2 ou Notepad++ « SmartRock Labs Blog
    quelque astuce pour sublimeText
    Sat 15 Dec 2012 10:20:30 PM UTC - permalink -
    - http://www.smartrock.fr/blog/general/sublime-text-2-ou-notepad/
    sublimetext2 application astuce

    Commentaires(0)













  • Petite astuce pour Youtube et les vidéos avec HTML5 | Tontof - Liens en vrac de sebsauvage
    Excellent pour les video en html5 :D
    Fri 05 Oct 2012 12:20:39 PM UTC - permalink -
    - http://sebsauvage.net/links/?52802w
    astuce video youtube html5 Tontof sebsauvage bookmarklet

    Commentaires(0)













Links per page: 20 50 100
page 1 / 1
Shaarli 0.0.40 beta - The personal, minimalist, super-fast, no-database delicious clone. By sebsauvage.net. Theme by idleman.fr.