Shaare your links...
3342 links
L!NKS Retour au blog Login RSS Feed ATOM Feed Tag cloud Picture wall Daily
Links per page: 20 50 100
◄Older
page 39 / 168
Newer►
  • À propos de libmcrypt et php-mcrypt - Remi's RPM repository - Blog
    via http://sebsauvage.net/links/?x4gS0g
    permalink -
    - http://blog.remirepo.net/post/2015/07/07/A-propos-de-libmcrypt-et-php-mcrypt
    crypt
  • Beautiful Soup Documentation — Beautiful Soup 4.4.0 documentation
    encoding guessing !

    from bs4 import UnicodeDammit
    dammit = UnicodeDammit("Sacr\xc3\xa9 bleu!")
    print(dammit.unicode_markup)
    # Sacré bleu!
    dammit.original_encoding
    # 'utf-8'
    permalink -
    - https://beautiful-soup-4.readthedocs.org/en/latest/#unicode-dammit
    beautifulsoup encoding python
  • How to get the uptime in windows - Stack Overflow
    net stat srv
    systeminfo | find "Heure"
    wmic os get lastbootuptime

    3 méthodes rapides pour connaitre l'uptime sur un systeme windows !
    permalink -
    - https://stackoverflow.com/questions/11606774/how-to-get-the-uptime-in-windows
    memo windows
  • Tutoriel : installer Android 4.3 sur votre PC - PhonAndroid
    iso android 4.3 pour monter dans virtualbox : http://android-x86.googlecode.com/files/android-x86-4.3-20130725.iso

    Possibilité de mettre en place un environnement lollipop -> http://www.phonandroid.com/tutoriel-installer-android-pc.html (avec le SDK)

    voir aussi : http://www.andyroid.net/

    et http://www.bluestacks.com/
    permalink -
    - http://www.phonandroid.com/tutoriel-installer-android-4-3-sur-votre-pc.html
    android
  • JS: The Right Way
    best practice
    permalink -
    - http://jstherightway.org/
    javascript
  • Strong SSL Security on nginx - Raymii.org
    permalink -
    - https://raymii.org/s/tutorials/Strong_SSL_Security_On_nginx.html
    nginx sécurité
  • Youtube-dlG by MrS0m30n3
    GUI for youtube-dl
    permalink -
    - https://mrs0m30n3.github.io/youtube-dl-gui/
    youtube
  • Winexe : un outil PsExec-like pour Unix ou Linux [kabs.homeunix.org]
    équivalent de pstools depuis linux
    permalink -
    - http://kabs.homeunix.org/user/pc/sysadmin/winexe_psexec_pour_unix
    pstools
  • GitLab on Raspberry Pi 2! | GitLab
    permalink -
    - https://about.gitlab.com/2015/04/21/gitlab-on-raspberry-pi-2/
    git raspberry
  • Serveur Gogs sur Raspbian | Anderson69s
    permalink -
    - http://anderson69s.com/2015/06/22/serveur-gogs-sur-raspbian/
    git
  • comment installer python sous linux debian ubuntu, formation DIF python à Grenoble Lyon
    permalink -
    - http://www.rasadacrea.com/fr/cours-informatiques/comment-installer-python
    python
  • Extensions Registry | Flask (A Python Microframework)
    flask extensions :
       flask-Login
       flask_seasurf (anti CSRF)
       flask-sijax (AJAX)
       flask-uploads
       flask-WTF (forms with anti CSRF)
    permalink -
    - http://flask.pocoo.org/extensions/
    flask python
  • [Python] Python ctypes BigEndianStructure - Pastebin.com
    en lien avec : http://sametmax.com/lire-un-format-binaire-en-python-avec-struct/

    decode header with ctypes :

    import ctypes

    class Header_Decoder(ctypes.BigEndianStructure): # {
       _pack_ = 1
       _fields_ = [
           ('protocol_id', ctypes.c_uint8, 8),      # 1 byte:  byte 1,      bits 00-07
           ('segmentation', ctypes.c_uint8, 3),     # 3 bits:  byte 2,      bits 08-10
           ('transaction_type', ctypes.c_uint8, 5), # 5 bits:  byte 2,      bits 11-15
           ('packet_length', ctypes.c_uint32),      # 4 bytes: bytes 3-6,   bits 16-47
           ('checksum', ctypes.c_uint16),           # 2 bytes: bytes 7-8,   bits 48-63
       ]
    # } Header_Decoder

    HEADER_LENGHT_BYTES = ctypes.sizeof(Header_Decoder)

    packet = b'\xFF\x10\x00\x00\x00\x0C\x00\xE3\x48\x65\x79\x21'

    header = Header_Decoder.from_buffer_copy(packet[0 : 0 + HEADER_LENGHT_BYTES])

    print("Protocol ID:", header.protocol_id)
    print("Segmentation:", header.segmentation)
    print("Transaction type:", header.transaction_type)
    print("Checksum:", header.checksum)
    print("Data:", packet[HEADER_LENGHT_BYTES : header.packet_length].decode('ascii'))
    permalink -
    - http://pastebin.com/G7FjUJLh
    python
  • Python Patterns - An Optimization Anecdote | Python.org
    Rule number one: only optimize when there is a proven speed bottleneck. Only optimize the innermost loop. (This rule is independent of Python, but it doesn't hurt repeating it, since it can save a lot of work. :-)
       Small is beautiful. Given Python's hefty charges for bytecode instructions and variable look-up, it rarely pays off to add extra tests to save a little bit of work.
       Use intrinsic operations. An implied loop in map() is faster than an explicit for loop; a while loop with an explicit loop counter is even slower.
       Avoid calling functions written in Python in your inner loop. This includes lambdas. In-lining the inner loop can save a lot of time.
       Local variables are faster than globals; if you use a global constant in a loop, copy it to a local variable before the loop. And in Python, function names (global or built-in) are also global constants!
       Try to use map(), filter() or reduce() to replace an explicit for loop, but only if you can use a built-in function: map with a built-in function beats for loop, but a for loop with in-line code beats map with a lambda function!
       Check your algorithms for quadratic behavior. But notice that a more complex algorithm only pays off for large N - for small N, the complexity doesn't pay off. In our case, 256 turned out to be small enough that the simpler version was still a tad faster. Your mileage may vary - this is worth investigating.
       And last but not least: collect data. Python's excellent profile module can quickly show the bottleneck in your code. if you're considering different versions of an algorithm, test it in a tight loop using the time.clock() function.
    permalink -
    - https://www.python.org/doc/essays/list2str/
    optimisation python
  • Dossier sur la e-santé - Korben
    permalink -
    - http://korben.info/e-sante.html#more-68727
    santé
  • Petits flans courgette, curry et feta : la recette facile
    bon j'en ai fait aussi une deuxième tournée avec chorizo/feta...
    A voir...
    permalink -
    - http://cuisine.journaldesfemmes.com/recette/345343-petits-flans-courgette-curry-et-feta
    cuisine
  • Remove items from Frequent Places list from Windows 8 File Explorer
    Effacer l'historique de la barre d'adresse de l'explorateur de fichiers dans windows8 : Explorateur de fichier -> fichier -> supprimer historique -> historique de la barre d'adresse

    Ne pas enregistrer les jumplists : clic-droit sur barre des tâches -> propriétés -> liste des raccourcis (jumplist) -> décocher

    Supprimer l'historique de recherche dans l'explorateur de fichiers :
    http://www.eightforums.com/tutorials/11298-search-history-file-explorer-clear-reset-windows-8-a.html et http://www.techcular.com/delete-search-history-in-windows-8-file-explorer/

        create a .bat file, open notepad and copy paste the entries below

    Windows Registry Editor Version 5.00
    REG Delete “HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\WordWheelQuery” /F

    Pour effacer l'historique des chemins dans la barre de l'explorateur de fichiers : (http://www.sevenforums.com/performance-maintenance/36762-clear-windows-explorer-history-windows-7-how.html). Il faut faire clic-droit dans la barre d'adresse -> effacer historique

    Pour effacer la liste des fichiers consultés depuis l'explorateur de fichiers, aller ici : C:\Users\username\AppData\Local\Microsoft\Windows\History (https://answers.microsoft.com/en-us/windows/forum/windows_7-files/in-windows-7-i-am-wondering-how-i-can-delete-my/1b2727c6-2b33-4aa8-8d52-d94a16f1706a)
    et effacer les dossiers...

    Pour un apercu de l'historique de votre PC sous windows : http://www.historyviewer.net/
    permalink -
    - http://www.thewindowsclub.com/frequent-places-list-windows-8-file-explorer
    forensic viePrivée windows8
  • Mes applications Android 2014 | Tuxicoman
    permalink -
    - https://tuxicoman.jesuislibre.net/2014/10/mes-applications-android-2014.html/comment-page-1#comment-53944
    android application
  • F-Droid
    via http://sebsauvage.net/links/?I0bkiA
    permalink -
    - https://f-droid.org/repository/browse/?fdid=acr.browser.lightning
    android navigateur software
  • Configurer ses APN Free Mobile sous Android pour profiter d'Internet et des MMS
    et aussi ici : https://mobile.free.fr/assistance/46.html

    Paramètres de configuration réseau à renseigner dans le terminal connecté au réseau mobile Free (inutile aux mobiles achetés chez Free ou autres terminaux pré-configurés)

    APN Internet
    Nom : Free
    APN : free
    MCC : 208
    MNC : 15

    APN MMS
    Nom : Free MMS
    APN : mmsfree
    MMSC : http://mms.free.fr
    MCC : 208
    MNC : 15
    Type d'APN : mms

    Centre de message SMS
    +33695000695

    Numéro du répondeur vocal

       depuis votre téléphone mobile :
       666
       ou +33 695600011 (notamment utile depuis l'étranger)
       depuis un autre poste :
       composer votre numéro de téléphone, une fois sur la messagerie, appuyez sur Dièse. Il vous faudra indiquer le code préalablement renseigné (lors du paramétrage de votre messagerie vocale) suivi de Dièse à nouveau.

    Code PIN et code PUK
    Indiqués au dos du support carte SIM envoyé par courrier postal. Le code PIN2 est identique au code PIN.
    permalink -
    - http://www.tomsguide.fr/faq/id-2891444/configurer-apn-free-mobile-android-profiter-internet-mms.html
    free
Links per page: 20 50 100
◄Older
page 39 / 168
Newer►
Shaarli 0.0.41 beta - The personal, minimalist, super-fast, no-database delicious clone. By sebsauvage.net. Theme by idleman.fr.