Uses PyGame, so it should work with all gamepads that work in actual games.
Nasty code ;)
It requires the gamepad to have at least one analog stick.
Modify the script and set DRY_RUN to True to avoid contacting Valetudo during gamepad testing.
| :: ################################################################ | |
| :: ## 🔥 WinMasterBlocker 🔥 # | |
| :: ################################################################ | |
| :: # Author: https://github.com/ph33nx # | |
| :: # Repo: https://github.com/ph33nx/WinMasterBlocker # | |
| :: # # | |
| :: # This script blocks inbound/outbound network access # | |
| :: # for major apps like Adobe, Autodesk, Corel, Maxon, # | |
| :: # and more using Windows Firewall. # | |
| :: # # |
| #!/bin/bash | |
| # unraid_array_fan.sh v0.6n | |
| # v0.1: By xamindar: First try at it. | |
| # v0.2: Made a small change so the fan speed on low doesn't fluctuate every time the script is run. | |
| # v0.3: It will now enable fan speed change before trying to change it. I missed | |
| # it at first because pwmconfig was doing it for me while I was testing the fan. | |
| # v0.4: Corrected temp reading to "Temperature_Celsius" as my new Seagate drive | |
| # was returning two numbers with just "Temperature". | |
| # v0.5: By Pauven: Added linear PWM logic to slowly ramp speed when fan is between HIGH and OFF. | |
| # v0.6: By kmwoley: Added fan start speed. Added logging, suppressed unless fan speed is changed. |
| blueprint: | |
| name: Aqara Wireless Switch (single, double, hold, release) | |
| description: 'Control anything using Aqara Wireless Switch. | |
| Customizable actions for each press. | |
| This version of the blueprint is for buttons supporting single, double, hold and | |
| release actions. ' | |
| domain: automation |
| *{box-sizing: content-box !important;} | |
| body {background:transparent !important;} | |
| #time, #togglemin, #ajaxtimeout, #summary {display:none !important;} | |
| .double-val-label > span, #center, #stats, .col-lg-4, .btnoffline, .btnunknown, .btnonline {box-shadow: none !important; -webkit-box-shadow:none !important;} | |
| #stats { | |
| background-color:transparent !important; | |
| } |
| # This is a blocklist to block samsung smart tv's sending meta data at home. | |
| # Please help to collect domains! | |
| # It could be that the TV does not receive any more updates or other services no longer work. Please report such an incident. | |
| abtauthprd.samsungcloudsolution.com | |
| acr0.samsungcloudsolution.com | |
| ad.samsungadhub.com | |
| ads.samsungads.com | |
| amauthprd.samsungcloudsolution.com | |
| api-hub.samsungyosemite.com |
This a collection of notes and files used in my quest to create "Reboot to Windows" and "Reboot to Linux" scripts (and desktop shortcuts) for Linux and Windows respectively that automatically reboot my system and instruct rEFInd to auto-select the appropriate OS entry.
The key for achieving this is to modify the EFI Variable PreviousBoot with GUID 36d08fa7-cf0b-42f5-8f14-68df73ed3740, which rEFInd uses to store the last entry selected in the menu and, if using the + default entry, will be used to select the default OS. By doing this, we trick rEFInd into booting the OS we choose without having to be physically there to press the keyboard.