schurger.org

  • À propos
  • JEAN SCHURGER
  • Archive
  • Tags
  • Search
  • Home
  • Tags
  • Python
  • Playing with e-paper and Micropython

    • Get and upload the image.py
    • [[#upload-the-driver-from-waveshare-with-my-pr-to-get-micropython-implementation][Upload the driver from Waveshare (with my PR to get MicroPython implementation)]]
    • Upload the main.py

    I wanted to do some proof of concept using a Pycom LoPy4 and a e-paper display (epd2in13V2).

    Hardware

    • Waveshare e-Paper V2 (V2 is important here)
    • Pycom …
    février 23, 2021
     · Jean Schurger
  • Terminal minimaliste utilisant VTE

    La bibliothèque VTE fournit un composant graphique d'émulation de terminal. Python et et Gobject rendent son utilisation vraiment facile. C'est aussi la seule émulation de terminal que je trouve satisfaisante pour afficher Unicode. L'illustration simplicime ci-dessous me sert de terminal quotidiennement.

    [[https://github.com/jeansch/terminal][]]https://github.com/jeansch …

    juillet 10, 2019
     · Jean Schurger
  • Kenny

    Attention, Kenny à changé son site internet donc ce programme ne fonctionne plus

    C'est ma principale source de pièces détachées d'autos (une scrap / casse).

    Le site internet Kenny u-pull liste les "Nouveaux arrivages" de voiture mortes. À en juger par la quantité, il s'agit plus de la liste complète.

    La …

    mai 26, 2017
     · Jean Schurger
  • Transporter sa collection de musique de Rdio à Google Play Music

    C'est la fin de Rdio :(

    [[http://blog.rdio.com/us/2015/11/important-news-from-rdio.html][]]http://blog.rdio.com/us/2015/11/important-news-from-rdio.html

    Voila un moyen d'exporter la collection de Rdio à Google Play Music.

    Créer une "application" dans le portail développeurs de rdio en

    suivant les indications.

    [[http://www …

    novembre 23, 2015
     · 1 min read
     · Jean Schurger
  • Identifier les paquets suspects installés sur votre Debian

    Il y a maintes raisons (souvent mauvaise) pour se retrouver avec des paquets installés sur un système Debian (ou basé sur Debian) dont on a perdu l'origine.

    Le script suivant permet de les lister

    #!/usr/bin/env python
    import apt
    print "\n".join(p.name for p in apt.Cache …
    septembre 01, 2015
     · Jean Schurger
  • Notification basique pour Maildir

    Je collecte mes courriels avec offlineimap et les lis avec mu/mu4e. L'ensemble fonctionne bien et rapidement, mais il me manquait les notifications de nouveau courriel. Voila une solution basique mais efficace.

    #!/usr/bin/env python
    
    import os
    import dbus
    
    from email.parser import Parser
    from pyinotify import WatchManager, Notifier …
    février 10, 2015
     · Jean Schurger
  • Py-Asterisk maintainer

    I'm honnored to succeed David Wilson as Py-Asterisk maintainer.

    Py-Asterisk is a small Python module to interact with the Asterisk PBX.

    janvier 04, 2015
     · Jean Schurger
  • Changer de sortie 'pulseaudio' en ligne de commande mais facilement

    • Lister les sorties
    • Choisir une sortie par son numéro
    • Choisir une sortie par son nom

    Problématique

    J'ai souvent besoin de changer sur quel matériel je veux que le son de mon ordinateur soit joué. En général, j'ai le choix entre la carte son intégrée à mon laptop, la carte son …

    mai 16, 2014
     · 1 min read
     · Jean Schurger
  • IBM X201 Fan control 'disangager'

    I'm the lucky owner of a Thinkpad X201 since several years.

    For some reason, (buggy firmware, dust, buddy drivers), the fan managment is very debious, especialy when your CPU reach high temperatures.

    It's really disapointing to get the 'critical temperature reached(100 C),shutting down' message and see the system …

    novembre 15, 2013
     · Jean Schurger
  • Prevent multiple heads when pushing to a Mercurial repository

    Mercurial heads and push -f

    Mercurial is a fascinating tool but when several people work on the same project, dealing with 'heads' can quickly become a nightmare.

    You know, you want to push your last super-fantastic commits to give them to the world, and Mercurial barks:

    "push creates new remote …

    mai 16, 2013
     · Jean Schurger
©2022 • Powered by Pelican &  Papyrus