4144 links
742 private links
  • Doo's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
  • ► Jouer les vidéos
Links per page: 20 50 100
◄Older
page 2 / 171
Newer►
  • bash_completion/nft-completion at main · Zulugitt/bash_completion
    _nft()
    {
        local cur prev
        COMPREPLY=()
        cur="${COMP_WORDS[COMP_CWORD]}"
        prev="${COMP_WORDS[COMP_CWORD-1]}"
    
        local families="ip ip6 arp bridge inet netdev"
        local sets=$(nft list sets | grep -i "set" | awk '{print $2 }' | tr -d ' ')
    
        if [ $COMP_CWORD -eq 1 ]; then
            COMPREPLY=( $(compgen -W "add flush list" -- $cur) )
        elif [ $COMP_CWORD -eq 2 ]; then
            case "$prev" in
                "add")
                    command="${prev}"
                    COMPREPLY=( $(compgen -W "element map table set" -- $cur) )
                    ;;
                "list")
                    COMPREPLY=( $(compgen -W "chains ruleset set sets table tables" -- $cur) )
                    ;;
                "flush")
                    COMPREPLY=( $(compgen -W "table" -- $cur) )
                    ;;
                *)
                    ;;
            esac
        elif [ $COMP_CWORD -eq 3 ]; then
            case "$prev" in
                "table")
                    COMPREPLY=( $(compgen -W "${families}" -- $cur) )
                    ;;
                "set"|"element"|"map")
                    local tables=$(nft list tables | awk '{print $3 }' | tr -d ' ')
                    COMPREPLY=( $(compgen -W "${tables}" -- $cur) )
                    ;;
                *)
                    ;;
            esac
        elif [ $COMP_CWORD -eq 4 ]; then
            local tables=$(nft list tables | awk '{print $3 }' | tr -d ' ')
            if [[ "$families" =~ "$prev" ]]; then
                local tables=$(nft list tables "${prev}" | awk '{print $3 }' | tr -d ' ')
                COMPREPLY=( $(compgen -W "${tables}" -- $cur) )
            fi
    
            if [ "${COMP_WORDS[1]}" != "add" ] && [[ "$tables" =~ "$prev" ]]; then
                COMPREPLY=( $(compgen -W "${sets}" -- $cur) )
            fi
    
            if [ "${COMP_WORDS[1]}" == "add" ] && [ "${COMP_WORDS[2]}" == "element" ] && [[ "$tables" =~ "$prev" ]]; then
                COMPREPLY=( $(compgen -W "${sets}" -- $cur) )
            fi
        fi
    
        return 0;
    }
    
    complete -F _nft nft
    January 7, 2025 02:42:01 PM GMT+01:00 * - permalink -
    QRCode
    - https://github.com/Zulugitt/bash_completion/blob/main/nft-completion
    nftables
  • Le Li-Fi à l’école maternelle, pas vraiment une idée de génie

    Le Li-Fi a été installé dès 2022 à la maternelle Chantefleur (L’Isle Adam), censée être un exemple en Île-de-France. Après quelques mois, le bilan s’avère toutefois « contrasté » :

    Installation et performances : Quatre salles de classe et la bibliothèque sont équipées d’émetteurs Li-Fi fixés en hauteur. Les tests montrent un débit jusqu’à 86 Mbit/s en téléchargement (bien inférieur aux promesses théoriques) et de fréquentes déconnexions.

    Tablettes inutilisées : Les tablettes LiFiMAX Tab, fournies pour les enfants, ont été rapidement rangées au placard. Elles souffrent d’une autonomie jugée « famélique » et posent des soucis logistiques (aucun hub de charge, stockage compliqué, gestion du matériel dans un environnement avec de très jeunes élèves).

    Manque de suivi : Oledcomm, l’entreprise responsable, n’est pas revenue pour résoudre les problèmes. La municipalité semble peu impliquée dans la maintenance. Une tablette pend littéralement au bout de fils électriques, sans réparation.

    Usage pédagogique remis en cause : Les professeurs ne souhaitent pas multiplier l’exposition aux écrans pour des enfants de 3 à 5 ans, préférant d’autres activités plus adaptées.

    Conclusion : Le Li-Fi n’a pas gagné d’autres écoles, d’autant que la loi Abeille ne bannit formellement le Wi-Fi qu’en crèche et garderie. La technologie semble davantage promise à des domaines comme l’aérospatial ou le militaire, où le Wi-Fi n’est pas envisageable.

    January 1, 2025 10:51:05 AM GMT+01:00 * - permalink -
    QRCode
    - https://www.comptoir-hardware.com/actus/articles/business/47907-le-li-fi-a-lecole-maternelle-pas-vraiment-une-idee-de-genie.html
    lifi wifi internet
  • L’ANGOISSE D’ÊTRE UN INDIVIDU dans un monde néolibéral en crise - Marcel Gauchet - YouTube
    November 16, 2024 04:25:22 PM GMT+01:00 * - permalink -
    QRCode
    - https://www.youtube.com/watch?v=T0nW5QhEKNI
    elucid
  • Skymoth is an open source service which allows you to share the content you post on Mastodon over to Bluesky. This allows you to stay in touch with your followers on both platforms.

    https://github.com/thilobillerbeck/skymoth

    November 15, 2024 08:19:17 PM GMT+01:00 * - permalink -
    QRCode
    - https://skymoth.app/
    mastodon bluesky
  • Tips and Tricks for Clean, Readable Python Code - The New Stack

    petite cheatsheet sur le code propre qui est très bien écrite

    November 14, 2024 09:37:38 AM GMT+01:00 * - permalink -
    QRCode
    - https://thenewstack.io/tips-and-tricks-for-clean-readable-python-code/
    python cheatsheet
  • thumbnail
    Observability With eBPF - DZone

    Take an in-depth look at eBPF, a technology that allows you to run sandboxed programs within the Linux kernel.

    October 7, 2024 08:02:18 AM GMT+02:00 * - permalink -
    QRCode
    - https://dzone.com/articles/observability-with-ebpf
    observability monitoring ebpf bpf
  • Relabeler - The playground for Prometheus relabeling rules

    A playground for Prometheus relabeling rules

    September 4, 2024 02:40:09 PM GMT+02:00 * - permalink -
    QRCode
    - https://relabeler.promlabs.com/
    relabeling prometheus
  • Unintentionally troubleshooting a new way to filter traffic

    One of the newer tricks in systemd is that you can do "IPAddressDeny=" and then "IPAddressAllow" and keep a program from exchanging traffic with the rest of the world. For a program that's only ever supposed to talk to the local network, this was a good idea.

    August 5, 2024 09:38:37 AM GMT+02:00 * - permalink -
    QRCode
    - https://rachelbythebay.com/w/2024/07/17/bpf/
    systemd
  • OpenSSL generate self signed certificate with SAN in one command (subject alternative name) - Raymii.org
    openssl req -nodes -x509 -sha256 -newkey rsa:4096 \
      -keyout example.org.key \
      -out example.org.crt \
      -days 356 \
      -subj "/C=NL/ST=Zuid Holland/L=Rotterdam/O=ACME Corp/OU=IT Dept/CN=example.org"  \
      -addext "subjectAltName = DNS:localhost,DNS:example.org" 
    July 25, 2024 08:27:31 AM GMT+02:00 * - permalink -
    QRCode
    - https://raymii.org/s/tutorials/OpenSSL_generate_self_signed_cert_with_Subject_Alternative_name_oneliner.html
    oneliner bash openssl
  • thumbnail
    Isaac Asimov - Wikiquote

    Individual science fiction stories may seem as trivial as ever to the blinder critics and philosophers of today — but the core of science fiction, its essence, the concept around which it revolves, has become crucial to our salvation if we are to be saved at all.

    July 14, 2024 10:15:52 PM GMT+02:00 * - permalink -
    QRCode
    - https://en.wikiquote.org/wiki/Isaac_Asimov
    science fiction citation
  • thumbnail
    tanelpoder/0xtools: 0x.Tools: X-Ray vision for Linux systems
    July 8, 2024 09:39:03 AM GMT+02:00 * - permalink -
    QRCode
    - https://github.com/tanelpoder/0xtools
    tool linux benchmark performance monitoring top htop bpytop
  • Les 144 Quatrains d’Omar Khayyam - Wikisource
    June 22, 2024 06:37:58 PM GMT+02:00 * - permalink -
    QRCode
    - https://fr.wikisource.org/wiki/Les_144_Quatrains_d%E2%80%99Omar_Khayyam
    loumis citron poésie poète poème bière
  • thumbnail
    Marion Séclin, les masculinistes décomplexés pré-MeToo - YouTube
    June 19, 2024 09:28:30 PM GMT+02:00 * - permalink -
    QRCode
    - https://www.youtube.com/watch?v=x7ysCMQOwMY
    vidéo féminisme
  • Mesop
    June 4, 2024 03:53:54 PM GMT+02:00 * - permalink -
    QRCode
    - https://google.github.io/mesop/
    python gui ui framework google
  • thumbnail
    Unraid | Community Apps

    via Clém

    May 17, 2024 03:01:35 PM GMT+02:00 * - permalink -
    QRCode
    - https://unraid.net/community/apps/p58#r
    raid nas syno
  • thumbnail
    How to build a thermal battery
    May 3, 2024 02:03:42 PM GMT+02:00 * - permalink -
    QRCode
    - https://www.technologyreview.com/2024/04/18/1091481/how-to-build-a-thermal-battery/
    énergie
  • thumbnail
    EndeavourOS – A terminal-centric distro with a vibrant and friendly community at its core
    April 28, 2024 02:17:14 PM GMT+02:00 * - permalink -
    QRCode
    - https://endeavouros.com/
    gaming linux
  • thumbnail
    CachyOS — Blazingly Fast OS based on Arch Linux — CachyOS
    April 28, 2024 02:17:09 PM GMT+02:00 * - permalink -
    QRCode
    - https://cachyos.org/
    gaming linux
  • FYI: Be sure to do this BEFORE you update to Fedora 40/Gnome 46 next week. : r/Fedora

    good to know!

    April 20, 2024 09:32:33 AM GMT+02:00 * - permalink -
    QRCode
    - https://www.reddit.com/r/Fedora/comments/1c7u3mg/fyi_be_sure_to_do_this_before_you_update_to/
    fedora gnome
  • https://www.cgedd.fr/prix-immobilier-friggit.pdf
    April 19, 2024 11:10:24 AM GMT+02:00 * - permalink -
    QRCode
    - https://www.cgedd.fr/prix-immobilier-friggit.pdf
    économie
Links per page: 20 50 100
◄Older
page 2 / 171
Newer►
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation