Shaare your links...
3325 links
L!NKS Retour au blog Login RSS Feed ATOM Feed Tag cloud Picture wall Daily
Links per page: 20 50 100
◄Older
page 72 / 167
Newer►
  • Javascript - Wait 5 seconds before executing next line - Stack Overflow
    wait...
    if (newState == -1) {
               alert('VIDEO HAS STOPPED');
           }
       }, 5000);
    permalink -
    - https://stackoverflow.com/questions/14226803/javascript-wait-5-seconds-before-executing-next-line
    javascript
  • Native JavaScript Equivalents of jQuery Methods: the DOM and Forms
    permalink -
    - http://www.sitepoint.com/jquery-vs-raw-javascript-1-dom-forms/
    javascript nojquery
  • Initiation au positionnement CSS : 3. position absolue et fixe | Openweb.eu.org
    permalink -
    - http://openweb.eu.org/articles/initiation_absolue
    css memo
  • Testing Multiple Pi Camera Options With Python | Raspberry Pi Spy
    Contrôler la picamera avec python
    et aussi :
    http://www.raspberryconnect.com/hardware-add-ons/item/137-raspberry-pi-camera-module
    permalink -
    - http://www.raspberrypi-spy.co.uk/2013/06/testing-multiple-pi-camera-options-with-python/
    picamera python raspberry
  • php - Perrmission to run specific command by sudo as www-data users without password - Super User
    voir aussi :
    http://blogmotion.fr/systeme/executer-un-script-shell-avec-permission-root-en-php-1312
    permalink -
    - https://superuser.com/questions/464971/perrmission-to-run-specific-command-by-sudo-as-www-data-users-without-password
    linux sudo
  • [Python] Lancer une appli via python [Résolu]
    Pour passer des paramètre, il suffit de les donner sous forme de liste à popen.

    Exemple: Je lance le programme compress et je lui passe 2 options:
    -V et un nom de fichier:

    p = subprocess.Popen(args=["compress","-V",nomdefichier], stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=True)
    outputlines = p.stdout.readlines()
    p.wait()
    print outputlines
    permalink -
    - http://www.commentcamarche.net/forum/affich-2231600-python-lancer-une-appli-via-python
    memo python
  • Gérer les profils de réseau sans fil - Aide de Windows
    permalink -
    - http://windows.microsoft.com/fr-fr/windows-8/manage-wireless-network-profiles
    wifi windows
  • G'MIC - GREYC's Magic for Image Computing: An Open and Full-Featured Framework for Image Processing
    voir aussi :
       http://doc.ubuntu-fr.org/gmic

    et là pour les dernières avancées du projet :
       http://linuxfr.org/news/g-mic-1-5-8-3-quelques-avancees-supplementaires-pour-le-traitement-d-image-libre

    et pour débuter :
       http://sourceforge.net/p/gmic/wiki/Initiation%20%C3%A0%20la%20ligne%20de%20commande%20G%27mic/
       http://gmic.sourceforge.net/tutorial/basics.shtml
    permalink -
    - http://gmic.sourceforge.net/
    cli g'mic gimp image imagemagick
  • Ouvrir un port sur un serveur avec Iptables | Sam & Max: Python, Django, Git et du cul
    Dans la série “les commandes dont je me souviens jamais”, voici la commande qui permet d’ouvrir un port sur le firewall iptable de son serveur (il faut les droits admin) :

    iptables -A INPUT -p tcp -m tcp --dport 7777 -j ACCEPT # ouvrir le port 777
    iptables -D INPUT -p tcp -m tcp --dport 7777 -j ACCEPT # annuler l'ouverture
    iptables -L # regarder ce qui est ouvert et ce qui l'est pas

    service iptables save # pour conserver les règles... sinon elles n'existeront plus au prochain démarrage !

    et sinon :
    Dans /etc/init.d/firewall:
    http://pastebin.com/zSa6UHGw

    Dans /etc/firewall/firewall-start.sh:
    http://pastebin.com/Ekhai1hU

    Dans /etc/firewall/firewall-stop.sh:
    http://pastebin.com/wBNsmEWd

    Usage:
    service firewall {start/stop/restart}
    OU
    /etc/init.d/firewall {start/stop/restart}

    Ne pas oublier les droits, on peut aussi lancer le script “firewall-start.sh”, etc.
    permalink -
    - http://sametmax.com/ouvrir-un-port-sur-un-server-avec-iptables/
    iptables
  • Set -e for the win | Sam & Max: Python, Django, Git et du cul
    set -e marche avec tous les shells mais a des limites, notamment pour les subshells et les pipes.

    Avec bash, on peut aller un peu plus loin :
    set -o posix # les sous-shells héritent de ces options
    set -o errexit # équivalent long de set -e
    set -o pipefail # intercepte les erreurs de commandes suivies d’un pipe
    permalink -
    - http://sametmax.com/set-e-for-the-win/
    bash linux
  • Loli Cries! - FAQ
    How do I extract my favorite loli shout?
       If you are running Linux, it's quite easy. Just use the following command: ffmpeg -i My-great-anime.avi -vn -ss 14:22.4 -t 00:00:03.230 -aq 7 -ac 2 -acodec libvorbis -y out.ogg and that's all. -ss and -t are timestamps following the hh:mm:ss.ms format.
       You can use whichever method you like (or can use) as soon as you ouput an Ogg/Vorbis file.
       Note: if the video has multiple audio streams and the japanese one isn't selected, what you're searching for is certainly the -map option.
    How do I extract my favorite loli pic?
       On Linux – yeah, again – it's quite easy. You can use: ffmpeg -i My-great-anime.avi -ss 1094.1 -r 1 -f image2 My-great-anime.png
    How do I convert my loli pic to the right resolution?
       Linux answer, use ImageMagick: mogrify -resize 300x200 My-great-anime.png
    permalink -
    - http://lolicri.es/faq.html
    ffmpeg linux memo
  • [FFMPEG] – Encoder un répertoire entier en mp3 | Sam & Max: Python, Django, Git et du cul
    sudo apt-get install libavcodec-unstripped-52 libavdevice-unstripped-52 libavformat-unstripped-52 libavutil-unstripped-50 libpostproc-unstripped-51 libswscale-unstripped-0 ffmpeg

    for file in *.*; do `ffmpeg -i "$file" "$file.mp3"`;done
    permalink -
    - http://sametmax.com/ffmpeg-encoder-un-repertoire-entier-en-mp3/
    linux mp3
  • Organisation d’une application Django | Sam & Max: Python, Django, Git et du cul
    permalink -
    - http://sametmax.com/organisation-dune-application-django/
    django
  • Get DreamPie
    Shell python :
    sous windows, nécessite :
       * python (of course)
       * PyGTK (http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/)
       * pygtksourceview (http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtksourceview/2.10/)

    via Sam&Max : http://sametmax.com/mon-environnement-de-travail/
    permalink -
    - http://www.dreampie.org/download.html
    python
  • Taille d’un dossier en bash | Sam & Max: Python, Django, Git et du cul
    du -sh /chemin/vers/dossier

    et dans les comments :
    recherche incrémentale :

    ctrl-r + taper la string cherchée, et si la ligne affichée ne convient pas s’acharner sur ctrl-r jusqu’à pécho la ligne voulue ;)

    ou :
    !1234 pour rappeler la commande de la ligne 1234 (qui fait 15km de long)

    ou :
    !s
    rappellera la dernière commande commençant par “s”
    permalink -
    - http://sametmax.com/taille-dun-dossier-en-bash/
    bash linux memo
  • Remplacer sed, awk, cut et Perl par Python (= orgasme pour sysadmin) | Sam & Max: Python, Django, Git et du cul
    permalink -
    - http://sametmax.com/remplacer-sed-awk-cut-et-perl-par-python-orgasme-pour-sysadmin/
    python
  • Les time zones en Python | Sam & Max: Python, Django, Git et du cul
    permalink -
    - http://sametmax.com/les-time-zones-en-python/
    python
  • ipython 2.1.0 : Python Package Index
    permalink -
    - https://pypi.python.org/pypi/ipython#downloads
    python
  • Download Console from SourceForge.net
    permalink -
    - http://sourceforge.net/projects/console/files/latest/download
    console
  • Comparatif grep, ack et grin | ascendances
    permalink -
    - http://ascendances.wordpress.com/2012/02/17/comparatif-grep-ack-et-grin/
    grep
Links per page: 20 50 100
◄Older
page 72 / 167
Newer►
Shaarli 0.0.41 beta - The personal, minimalist, super-fast, no-database delicious clone. By sebsauvage.net. Theme by idleman.fr.