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 | |
| # | |
| # Filename: vbmtool-0.7.sh | |
| # Version 0.7 | |
| # Date: 2009/09/29 19:56 | |
| # Licence: GNU GPL2 | |
| # Author: Sergey "Qiwichupa" Pavlov <qiwichupa@gmail.com> | |
| # | |
| # | |
| # Easy to use, lightweight, interactive shell for VBoxManage |
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 python | |
| #Copyright (C) 2009 Allen Sanabria | |
| #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 2 of the License, or (at your option) any later version. | |
| #This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; | |
| #without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
| #See the GNU General Public License for more details. You should have received a copy of i |
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 | |
| #Runs mednafen server, restarts it if it fails, and catch output to log file | |
| import subprocess | |
| import time | |
| import sys | |
| import pty | |
| import os | |
| def reader(fd): |
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 | |
| """ | |
| Script: avmerge.py | |
| Author: Sergey "Qiwichupa" Pavlov | |
| Version: 2.04 | |
| This script was created for merging stream parts from twitch.tv service (but should be versatile). | |
| Sometimes it is very simple task, but sometimes resizing and reencoding is needed. | |
| Ok, to the code. First of all this script was written for executing in current directory. | |
| I use 'os.listdir' for searching files by extension ('fileExt' variable). |
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
| blueprint: | |
| name: Sensor Light (~qiwichupa) | |
| description: > | |
| # Sensor Light | |
| **Version: 2.5~qiwichupa** | |
| Bypass switch logic reversed: on - automation works, off - automation is disabled. So bypass is automation switch now. | |
| You can find original blueprint here: : [Click Here](https://community.home-assistant.io/t/sensor-light/481048) |
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
| BASE: | |
| Share - System Menu; | |
| Options - Map; | |
| ✖ - Jump; | |
| R1 (hold) - Run; | |
| R3 - Interact; | |
| ● (hold) - Close; | |
| L1 (hold) - Sneak; | |
| Down - Mount; |
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 | |
| # Usage: ./zabbix_check_availability.sh my-server.local | |
| # | |
| # If you run it as root: | |
| # You need to have "zabbix_get" executable binary on each proxy | |
| # in the /root dir, and set passwordless ssh authentication. | |
| # v. 20240118 | |
| # https://gist.github.com/qiwichupa/39e47db270a070e1dafa2eb14033d1c5 | |
| PROXYLIST=(zabbix-proxy1.local |
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 | |
| ''' | |
| script to automatically disable the bluetooth gamepad when there is no activity for a specified time. | |
| Written for Steam and SteamDeck (requires "/dev/input/js0" device). | |
| Change maxidletime and devid variables. | |
| Мake the script executable and add it to autorun in desktop mode. | |
| ''' | |
| import struct | |
| from datetime import datetime as dt |
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/python3 | |
| import time | |
| import config | |
| import telebot | |
| import sys | |
| import os | |
| from emoji import emojize | |
| bottoken="<token>" | |
| proxy = '<IP>:<PORT>' |
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 | |
| # v. 2023.06.29 | |
| MOUNTPOINTS=('/home' '/') | |
| SNAPSHOTDIRNAME='.snapshots' | |
| # snapshots in SNAPSHOTDIRNAME | |
| RETAINSNAPS=2 | |
| # send to BACKUPDIR: yes or no | |
| SENDTOBACKUP=no |
OlderNewer