Skip to content

Instantly share code, notes, and snippets.

@ChuckMichael
ChuckMichael / config.xml
Created October 18, 2023 15:24
config MS365
View config.xml
<Configuration>
<Add OfficeClientEdition="64" Channel="Current" AllowCdnFallback="true">
<Product ID="O365HomePremRetail">
<Language ID="pl-pl" />
<ExcludeApp ID="Access" />
<ExcludeApp ID="OneDrive" />
<ExcludeApp ID="OneNote" />
<ExcludeApp ID="Outlook" />
<ExcludeApp ID="Publisher" />
</Product>
View runme.bat
curl parrot.live
@ChuckMichael
ChuckMichael / sandbox-secure-nointernet.wsb
Last active July 29, 2023 22:00
Windows Sandbox configuration file (no internet, clipboard sharing disabled, enabled protected client)
View sandbox-secure-nointernet.wsb
<Configuration>
<Networking>Disable</Networking>
<ClipboardRedirection>Disable</ClipboardRedirection>
<ProtectedClient>Enable</ProtectedClient>
</Configuration>
@ChuckMichael
ChuckMichael / dotnet_telemetry_disable.bat
Created June 25, 2023 09:25
Disable .NET telemetry
View dotnet_telemetry_disable.bat
set DOTNET_CLI_TELEMETRY_OPTOUT=1
@ChuckMichael
ChuckMichael / 0x00000704_fix.reg
Last active June 18, 2023 09:03
Error fix for "Operation could not be completed (error 0x00000704). The specified port is unknown" when installing Brother printer software. It also fixed problem with not working Brother Monitor Status. Read more on my blog:
View 0x00000704_fix.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Monitors]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Monitors\Local Port]
"Driver"="localspl.dll"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Monitors\Standard TCP/IP Port]
"Driver"="tcpmon.dll"
@ChuckMichael
ChuckMichael / rgb_alt_software.md
Last active May 28, 2023 19:55
Compare of alternative RGB software
View rgb_alt_software.md
Name License Supported? Supported devices Platform Notes
JackNet RGB Sync GPL-2.0 ❌ No activity from 3 years Windows
SignalRGB Propertiary Windows
OpenRGB GPL-2.0 Windows, Linux, MacOS
Aurora MIT
@ChuckMichael
ChuckMichael / vc_redistr.md
Last active June 16, 2023 00:20
Install all Visual C++ Redistributables using only one command! You can save it and run as batch file. App Installer https://apps.microsoft.com/store/detail/app-installer/9NBLGGH4NNS1 must be installed on Win10/11.
View vc_redistr.md
winget install --id=Microsoft.VC++2005Redist-x86 -e  && winget install --id=Microsoft.VC++2005Redist-x64 -e  && winget install --id=Microsoft.VC++2008Redist-x86 -e  && winget install --id=Microsoft.VC++2008Redist-x64 -e  && winget install --id=Microsoft.VC++2010Redist-x86 -e  && winget install --id=Microsoft.VC++2010Redist-x64 -e  && winget install --id=Microsoft.VC++2012Redist-x86 -e  && winget install --id=Microsoft.VC++2012Redist-x64 -e  && winget install --id=Microsoft.VC++2013Redist-x86 -e  && winget install --id=Microsoft.VC++2013Redist-x64 -e  && winget install --id=Microsoft.VC++2015-2022Redist-x86 -e  && winget install --id=Microsoft.VC++2015-2022Redist-x64 -e 
@ChuckMichael
ChuckMichael / openwrt_reboot.sh
Last active August 4, 2022 15:17
restart router every Saturday on 4:00.
View openwrt_reboot.sh
# source https://openwrt.org/docs/guide-user/base-system/cron#periodic_reboot
crontab -e
# Restart router at 04:00 on Saturday
0 4 * * 6 sleep 70 && touch /etc/banner && reboot
# crontab must end with the last line as space or a comment
@ChuckMichael
ChuckMichael / notepadplusplus_win11.reg
Last active October 8, 2023 23:56
***/!\Not needed starting from Notepad++ v8.5.1/!\*** It adds "Edit with Notepad++" option to new context menu under Windows 11. Thanks to @AveYo!
View notepadplusplus_win11.reg
Windows Registry Editor Version 5.00
; Edit with Notepad++ in Windows 11 contextmenu - by AveYo (https://gist.github.com/AveYo)
[-HKEY_CURRENT_USER\Software\Classes\*\shell\extract]
[HKEY_CURRENT_USER\Software\Classes\*\shell\extract]
"MuiVerb"="Edit with &Notepad++"
"Icon"="C:\\Program Files\\Notepad++\\notepad++.exe,0"
"MultiSelectModel"="Player"
"NeverDefault"=""
"AppliesTo"="NOT .zip"
View oeminfo.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation]
"Manufacturer"="Chuck"
"Model"="Chuck Space Rocket 2000"
"SupportURL"="https://github.com/chuckmichael"