Skip to content

Instantly share code, notes, and snippets.

View biosmanager's full-sized avatar

Matthias Albrecht biosmanager

View GitHub Profile
@biosmanager
biosmanager / Start-ScheduledAutostart.ps1
Last active August 26, 2022 16:58
Scheduled autostart using PowerShell. Programs only start within the specified time frame and not on your days off. Use task scheduler to run at logon. Repository at: https://github.com/biosmanager/scheduled-autostart
param (
$StartTime = '09:00',
$EndTime = '18:00',
$DaysOff = @('Saturday', 'Sunday')
)
$StartTimeDate = Get-Date $StartTime
$EndTimeDate = Get-Date $EndTime
$Date = Get-Date
@biosmanager
biosmanager / userChrome.css
Last active January 27, 2024 13:12
Firefox Proton macOS Close Tab Left (updated for version 113)
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
.tabbrowser-tab .tab-close-button {
opacity: 0;
margin-left: -4.5px !important;
margin-right: 2px !important;
}
.tabbrowser-tab:not(:hover) .tab-close-button {
display: none;
@biosmanager
biosmanager / Start-BotwCemuWithResolution.ps1
Created August 8, 2020 13:58
Launches The Legend of Zelda: Breath of the Wild in CEMU with a given resolution and framerate, changing the corresponding graphics pack. Afterwards it restores the previous display settings.
##########################################################################################################
# Launches The Legend of Zelda: Breath of the Wild in CEMU with a given resolution and restores the #
# previous resolution after exit. #
# Also changes the graphics pack resolution. #
# Uses my other tool DisplaySettingsChanger (https://github.com/biosmanager/DisplaySettingsChanger). #
# Make sure you have that tool in the same path as this script or in PATH. #
# #
# I use this script to easily switch the resolution when playing on different monitors. #
##########################################################################################################
@biosmanager
biosmanager / restart-corsair-link.ps1
Created July 29, 2019 18:31
Restart Corsair Link 4