This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @charset "UTF-8"; | |
| /* Thème sombre Catppuccin (variante Mocha) pour LinuxFr.org */ | |
| /* Palette : https://github.com/catppuccin/catppuccin */ | |
| /* Distributed under GNU AGPL v3 License */ | |
| /* == Palette Catppuccin Mocha == */ | |
| /* == Mapping des constantes du thème de base vers la palette == */ | |
| /* Copyright 2010 Eve Schoonbroodt (design) https://www.studiomagenta.be/ */ | |
| /* Copyright 2010 Nicolas Schoonbroodt (css) <nicolas@elsewhere.be> */ | |
| /* Distributed under GNU AGPL v3 License */ | |
| /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ! Plonkage linuxfr | |
| ! Version: 2026-02-01 | |
| ! hellpe | |
| ! https://linuxfr.org/users/san_guickoo/journaux/retour-d-experience-sur-le-developpement-d-une-application-par-l-utilisation-d-ia#comment-2012107 | |
| linuxfr.org##li.comment:has(a[href^="/users/hellpe"]) | |
| html body#users-show.logged.visitor section#container.container main#contents article.node.hentry.score8.diary.new-node header div.meta span.posted_by_spanblock a | |
| linuxfr.org##article:has(a[href^="/users/hellpe"]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def find_quadruplet_sum(numbers, target): | |
| ''' | |
| Finds four integers within `numbers` whose sum amounts to | |
| exactly `target`, and returns them. | |
| There will always be a valid quadruplet, and the same number | |
| can be picked several times. | |
| ''' | |
| for a in numbers: | |
| for b in numbers: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/zsh | |
| c=$(git branch | grep -c -- "$1") | |
| if [[ "$c" -eq 1 ]]; then | |
| git checkout $(git branch | grep -- "$1") | |
| else | |
| echo "Pattern \"$1\" is ambigus" | |
| git branch | grep --color -- "$1" | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.io.IOException; | |
| import java.net.URI; | |
| import java.net.http.HttpClient; | |
| import java.net.http.HttpRequest; | |
| import java.net.http.HttpResponse; | |
| public class HealthCheck { | |
| public static void main(String[] args) { | |
| HttpClient client = HttpClient.newHttpClient(); | |
| HttpRequest request = HttpRequest.newBuilder() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name AutoFill Push | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author You | |
| // @match https://qlf-sun-admin.sfr.com/sun/push/ng/bundles/*/campaigns/add/* | |
| // @match https://sun-admin.sfr.com/sun/push/ng/bundles/*/campaigns/add/* | |
| // @match https://dev-sun-admin.inovatel.com/sun/push/ng/bundles/*/campaigns/add/* | |
| // @grant none |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # install in /etc/NetworkManager/dispatcher.d/02tarsnap | |
| IF=$1 | |
| STATUS=$2 | |
| RETENTION_DAYS=7 | |
| RETENTION_COUNT=5 | |
| [[ "$STATUS" != 'up' ]] && exit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Non je rigole on va attendre un peu tout de même ;) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://pastebin.com/raw/u67CjRJZ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sub MAIN ($length){say (1...$length).map({("*" x $length).comb.join("_").subst(/\*_/," ", :x($length-$_))}).join("\n")} |
NewerOlder