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
| services: | |
| error-pages: | |
| image: ghcr.io/tarampampam/error-pages:3.7 | |
| restart: unless-stopped | |
| labels: | |
| - "traefik.enable=true" | |
| - "traefik.http.routers.error-pages.rule=Host(`example.com`) && !ClientIP(`192.0.2.1`)" | |
| - "traefik.http.routers.error-pages.priority=9000" | |
| - "traefik.http.routers.error-pages.entrypoints=websecure" | |
| - "traefik.http.routers.error-pages.tls=true" |
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
| /* Put custom css here: ~/.config/gtk-4.0/gtk.css */ | |
| window.background { color: #3c3c3c; background-color: #cecece; } | |
| window.background:backdrop { color: #858585; background-color: #cecece; text-shadow: none; -gtk-icon-shadow: none; } | |
| .top-bar { color: #3c3c3c; background-color: #cecece; } |
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
| { | |
| "authenticators": [ | |
| { | |
| "name": "Identity Provider Selector", | |
| "fileName": "login-idp.js", | |
| "description": "(Guillaume Genty, 2025)" | |
| } | |
| ] | |
| } |
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
| #!/usr/bin/env python3 | |
| import sys | |
| from scapy.all import * | |
| import re | |
| in_file = open(sys.argv[1], "rt") | |
| out_file = open(sys.argv[2], "wb") | |
| buffer = b"" |
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 | |
| tar -cPzf /var/backups/etc.tgz /etc | |
| lftp -c " | |
| open ftpback-rbxX-X.mybackup.ovh.net | |
| user nsXXXXX.ip-X-X-X.eu XXXXXXXXXX | |
| mirror --reverse --only-newer --delete /var/backups var-backups | |
| mirror --reverse --only-newer --delete /var/lib/vz/dump vz-dump | |
| quit |
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
| Uninstall all stock apps from new android device: | |
| ``` | |
| adb shell pm list packages -f | grep /preloadapp/ | cut -d= -f2 | xargs -I% adb uninstall % | |
| adb shell rm /sdcard/test.mp4 | |
| ``` |
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
| DOCUMENTATION = ''' | |
| name: sqlite | |
| callback_type: store | |
| author: Guillaume "Elektordi" Genty <[email protected]> | |
| requirements: | |
| - enable in configuration | |
| - install sqlite3 | |
| short_description: Store playbook results in sqlite | |
| version_added: "1.0" # for collections, use the collection version, not the Ansible version | |
| description: |
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://www.aliexpress.com/item/1005007861441274.html | |
| (with connector on right, like on manual) | |
| Short video mode | |
| UP press: BTN_TOUCH/BTN_TOOL_PEN/ABS_Y | |
| UP hold: KEY_VOLUMEDOWN | |
| UP double: BTN_TOUCH/BTN_TOOL_PEN/ABS_X | |
| MID press: BTN_TOUCH/BTN_TOOL_PEN/ABS_Y/ABS_Y | |
| MID hold: KEY_POWER |
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 | |
| kubeadm certs check-expiration | grep -B999 "CERTIFICATE AUTHORITY" | grep -E "no +$" | grep -E "( [0-9]d |invalid)" | |
| if [[ $? == 0 ]]; then | |
| echo "Certificates to renew!" | |
| kubeadm certs renew all | |
| crictl ps --label io.kubernetes.pod.namespace=kube-system -q | xargs crictl stop | |
| echo "OK" | |
| else |
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
| GET http://localhost:5500/api/internal/rundown/?rundownId=default.rundown.json | |
| POST http://localhost:5500/api/internal/playGroup/?rundownId=default.rundown.json&groupId=aa1LYW7C | |
| POST http://localhost:5500/api/internal/stopGroup/?rundownId=default.rundown.json&groupId=aa1LYW7C | |
| POST http://localhost:5500/api/internal/playPart/?rundownId=default.rundown.json&groupId=aa1LYW7C&partId=sPtWQfd9 | |
| To find args: https://github.com/SuperFlyTV/SuperConductor/blob/3b49349a3492615d801d49c65136eff8126c3b5a/apps/app/src/ipc/IPCAPI.ts#L99 |
NewerOlder