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 | |
## +info: ## | |
## https://docs.openmediavault.org/en/latest/administration/general/notifications.html#third-party-notifications | |
## https://forum.openmediavault.org/index.php?thread/14919-guide-use-telegram-as-notification-service/ | |
BOT_TOKEN="<BOT_TOKEN>" | |
CHAT_ID="<CHAT_ID>" | |
URL="https://api.telegram.org/bot${BOT_TOKEN}" |
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
sobbing-paca - Logitech G502 X LIGHTSPEED | |
Model: usb:046d:c098:0 | |
Number of Buttons: 11 | |
Number of Leds: 0 | |
Number of Profiles: 5 | |
Profile 0: | |
Name: n/a | |
Report Rate: 1000Hz | |
Resolutions: | |
0: 800dpi |
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 | |
## related docs: ## | |
## https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-json-web-token-jwt-for-a-github-app | |
## https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-as-a-github-app-installation | |
################### | |
import sys | |
import time |
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
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="04c8", ATTR{idProduct}=="e678", GOTO="usb_disable_autosuspend" # QVEX Lynepad | |
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="cb10", ATTR{idProduct}=="6456", GOTO="usb_disable_autosuspend" # Keebio Iris Keyboard | |
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="046d", ATTR{idProduct}=="c52b", GOTO="usb_disable_autosuspend" # Logitech Unifying Receiver | |
ACTION=="add", SUBSYSTEM=="usb", TEST=="power/control", ATTR{power/control}="on" LABEL="usb_disable_autosuspend" |
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
{ | |
"theme": { | |
"gfxmode": "1920x1080", | |
"file": "/ventoy/theme/virtual_future/theme.txt", | |
"ventoy_color": "#15f4ee" | |
}, | |
"menu_class": [ | |
{ | |
"key": "debian", | |
"class": "debian" |
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 calendar | |
import dataclasses | |
import json | |
import sys | |
from datetime import datetime, timedelta, UTC | |
from math import floor | |
TZ_OFFSET = timedelta(hours=1) |
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 | |
URL=$1 | |
if [[ ${URL} =~ ^https://.+\.work\.com.+$ ]]; then | |
exec firefox -P work "$URL" | |
elif [[ ${URL} =~ ^https://meet\.google\.com.+$ ]]; then | |
exec gtk-launch google-chrome "$URL" | |
else | |
exec gtk-launch firefox "$URL" |
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
global | |
log 127.0.0.1 local2 | |
chroot /var/lib/haproxy | |
pidfile /var/run/haproxy.pid | |
user haproxy | |
group haproxy | |
daemon | |
stats socket /var/lib/haproxy/stats |
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/python | |
# -*- coding: utf-8 -*- | |
# Copyright (C) 2015 Eduardo Bellido Bellido | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# |
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/python | |
# -*- coding: utf-8 -*- | |
# Copyright (C) 2015-2022 Eduardo Bellido Bellido | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# |
NewerOlder