This file contains 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
;;(defcfg | |
;; linux-dev /dev/input/by-path/platform-i8042-serio-0-event-kbd | |
;;) | |
;;(defcfg | |
;; linux-dev-names-include ( | |
;; "Logitech MX Ergo" | |
;; "TPPS/2 Elan TrackPoint" | |
;; "Yubico YubiKey OTP+FIDO+CCID" | |
;; "LogiOps Virtual Input" |
This file contains 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
switch: | |
- platform: gpio | |
pin: D1 | |
inverted: False | |
id: relay | |
- platform: gpio | |
pin: D2 | |
inverted: False | |
id: right | |
- platform: gpio |
This file contains 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
tuxflo@flo-x390 ~ % yt-dlp --verbose https://manifest.prod.boltdns.net/manifest/v1/dash/live-baseurl/bccenc/6057955896001/68abd0b6-e2db-43f1-907e-77de67a1fd53/6s/manifest.mpd?behavior_id=6653bcfa-b258-4bc9-8f30-4b702ead02d8&fastly_token=NjFiMzc4NmZfMTc1NmU1YzY4ZWY2Y2NkM2QyOTM4ZDg4ZGIxMjljYzI4NTdkMjk3NDhmMjAyY2Q0NjIzYTY2MzNmNjA1MGFhYw%3D%3D | |
[1] 13766 | |
tuxflo@flo-x390 ~ % [debug] Command-line config: ['--verbose', 'https://manifest.prod.boltdns.net/manifest/v1/dash/live-baseurl/bccenc/6057955896001/68abd0b6-e2db-43f1-907e-77de67a1fd53/6s/manifest.mpd?behavior_id=6653bcfa-b258-4bc9-8f30-4b702ead02d8'] | |
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8 | |
[debug] yt-dlp version 2021.12.01 [91f071af6] (zip) | |
[debug] Python version 3.9.7 (CPython 64bit) - Linux-5.15.2-2-MANJARO-x86_64-with-glibc2.33 | |
[debug] exe versions: ffmpeg 4.4.1 (setts), ffprobe 4.4.1, rtmpdump 2.4 | |
[debug] Optional libraries: Crypto, keyring, sqlite | |
[debug] Proxy map: {} | |
[debug] [generic] Extracting URL: https://manifest.pr |
This file contains 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 | |
FILE=$1$2 #hier wird der komplette Dateiname der Datei (Pfad + Name) erstellt | |
DEST=$3 | |
if [ -e $FILE.xmp ]; then # xmp vorhanden, kopiere sie in den neuen Pfad | |
cp $FILE.xmp $DEST | |
fi |
This file contains 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 | |
# | |
# rotate_desktop.sh | |
# | |
# Rotates modern Linux desktop screen and input devices to match. Handy for | |
# convertible notebooks. Call this script from panel launchers, keyboard | |
# shortcuts, or touch gesture bindings (xSwipe, touchegg, etc.). | |
# | |
# Using transformation matrix bits taken from: | |
# https://wiki.ubuntu.com/X/InputCoordinateTransformation |
This file contains 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 bash | |
lat=$1 | |
if (( $(echo "$lat > 0" |bc -l) )); then | |
latref="N" | |
else | |
latref="S" | |
fi | |
lon=$2 |
This file contains 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 | |
INPUT=/srv/input | |
OUTPUT=/srv/output | |
cd $INPUT | |
if [[ $1 != *.pdf ]]; then | |
echo "not a pdf file, do nothing" | |
exit | |
fi |
This file contains 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
#include <stdio.h> | |
#include <unistd.h> | |
#include <sys/types.h> | |
#include <sys/wait.h> | |
#include <stdlib.h> | |
#define NUM_CHILDS 5 | |
#define NUM_FILEOPERATIONS 20000 | |
int filework(FILE *fp); |