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
| #!/home/augustin64/.venv/global/bin/python3 | |
| import subprocess | |
| import argparse | |
| import json | |
| import sys | |
| import enquiries | |
| def main(internal_display, ext_name, side, interactive=False): | |
| output = subprocess.check_output(["hyprctl", "monitors", "-j"]).decode("utf-8") |
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 Pédantix/Cémantix helper | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description Prefill Pédantix, copy cemantix if you want | |
| // @author augustin64 | |
| // @match https://cemantix.certitudes.org/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=certitudes.org | |
| // @grant none | |
| // ==/UserScript== |
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 RPi.GPIO as GPIO | |
| import subprocess | |
| import datetime | |
| import time | |
| SLEEPING_PERIOD=(21, 7) | |
| MAX_TEMP=50 | |
| GPIO.setmode(GPIO.BOARD) | |
| GPIO.setup(8, GPIO.OUT) |
OlderNewer