Skip to content

Instantly share code, notes, and snippets.

View ChuckMichael's full-sized avatar
🐧

M ChuckMichael

🐧
View GitHub Profile
@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!
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"
@ChuckMichael
ChuckMichael / openwrt_reboot.sh
Last active August 4, 2022 15:17
restart router every Saturday on 4:00.
# 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 / vc_redistr.md
Last active May 4, 2024 00:25
Install all Visual C++ Redistributables using only one command!

Warning

App Installer must be installed on Win10/11.

CMD

Tip

You can save it and run as batch file (.bat).

winget install --id=Microsoft.VCRedist.2005.x86 -e  && winget install --id=Microsoft.VCRedist.2005.x64 -e  && winget install --id=Microsoft.VCRedist.2008.x86 -e  && winget install --id=Microsoft.VCRedist.2008.x64 -e  && winget install --id=Microsoft.VCRedist.2010.x86 -e  && winget install --id=Microsoft.VCRedist.2010.x64 -e  && winget install --id=Microsoft.VCRedist.2012.x86 -e  && winget install --id=Microsoft.VCRedist.2012.x64 -e  && winget install --id=Microsoft.VCRedist.2013.x86 -e  && winget install --id=Microsoft.VCRedist.2013.x64 -e  && winget install --id=Microsoft.VCRedist.2015+.x86 -e  && winget install --id=Microsoft.VCRedist.2015+.x64 -e 
@ChuckMichael
ChuckMichael / rgb_alt_software.md
Last active May 28, 2023 19:55
Compare of alternative RGB software
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 / 0x00000704_fix.reg
Last active April 10, 2024 17:56
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:
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 / dotnet_telemetry_disable.bat
Created June 25, 2023 09:25
Disable .NET telemetry
set DOTNET_CLI_TELEMETRY_OPTOUT=1
@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)
<Configuration>
<Networking>Disable</Networking>
<ClipboardRedirection>Disable</ClipboardRedirection>
<ProtectedClient>Enable</ProtectedClient>
</Configuration>
curl parrot.live
@ChuckMichael
ChuckMichael / config.xml
Created October 18, 2023 15:24
config MS365
<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>
@ChuckMichael
ChuckMichael / 7zip-config.md
Created February 10, 2024 19:57
7-Zip and NanaZip - Editor Tab configuration

7-Zip and NanaZip - Editor tab configuration

window

View

Path to text editor

Notepad.exe

Editor

Path to text editor