View Start-ScheduledAutostart.ps1
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
param ( | |
$StartTime = '09:00', | |
$EndTime = '18:00', | |
$DaysOff = @('Saturday', 'Sunday') | |
) | |
$StartTimeDate = Get-Date $StartTime | |
$EndTimeDate = Get-Date $EndTime | |
$Date = Get-Date |
View userChrome.css
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
@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; | |
} |
View Start-BotwCemuWithResolution.ps1
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
########################################################################################################## | |
# 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. # | |
########################################################################################################## |
View restart-corsair-link.ps1
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
# Sometimes my Corsair H110i GT randomly spins up one of its fans. | |
# Restart Corsair Link and its service to fix this. | |
# I suggest to schedule a Windows task that runs this script periodically. | |
Stop-Process -Force -Name "CorsairLink4" | |
Restart-Service -Force -Name CLink4Service | |
Start-Process "C:\Program Files (x86)\CorsairLink4\CorsairLink4.exe" -ArgumentList "-startup" -WindowStyle Minimized |