Skip to content

Instantly share code, notes, and snippets.

@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"
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"
@ChuckMichael
ChuckMichael / npp_locale_RunAsAdmin.bat
Created September 30, 2021 22:23
Batch script to open NppShell Settings where you can change text "Edit with Notepad++" to your own.
@echo off
@rem based on https://stackoverflow.com/questions/4051883/batch-script-how-to-check-for-admin-rights and https://github.com/notepad-plus-plus/notepad-plus-plus/issues/2444
goto check_Permissions
:check_Permissions
echo Administrative permissions required. Detecting permissions...
net session >nul 2>&1
if %errorLevel% == 0 (
echo Success: Administrative permissions confirmed.
goto do_magic
) else (
@ChuckMichael
ChuckMichael / addons.md
Created September 10, 2021 18:24
A few awesome addons for web browser
  • UblockOrgin
  • SponsorBlock
  • YouTubeNonStop
  • Simple Translate
  • Swift Selection Search
  • Bitwarden
  • I don't care about cookies
  • PolskaZgodaCiasteczkowa
  • AutoTabDiscard
  • NoScript
@ChuckMichael
ChuckMichael / readme.md
Last active July 6, 2021 15:16
Windows 10 Hardcore optimalization

Check system optimalizations first: https://gist.github.com/ChuckMichael/4afee9b344d57a3abc46231c4225c0cb

  • Intel C-state off
  • HPET off
  • Hardware-accelerated GPU scheduling on
  • Hibernate off (test needed)
  • Game Mode turn on or turn off (test which is better)
  • Unlock Highest Performance Power Scheme Open PowerShell with admin rights and enter: powercfg -duplicatescheme e9a42b02-d5df-448d-aa00-03f14749eb61 If want to easy switch between diffrent power schemes: PowerPlanSwitcher (https://www.microsoft.com/en-us/p/powerplanswitcher/9nblggh556l3?activetab=pivot:overviewtab) + Ultimate Power Scheme or Bitsum Highest Performance
@ChuckMichael
ChuckMichael / postinstall.md
Last active September 9, 2021 12:23
Post install
@ChuckMichael
ChuckMichael / list.md
Last active February 22, 2024 21:04
Moja lista dodatkowych filtrów do Ublock Orgin/Adguard
https://hole.cert.pl/domains/domains_adblock.txt
https://raw.githubusercontent.com/PolishFiltersTeam/KAD/master/KAD.txt
https://raw.githubusercontent.com/PolishFiltersTeam/PolishAnnoyanceFilters/master/PPB.txt
https://www.i-dont-care-about-cookies.eu/abp/
https://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/cookies_filters/adblock_cookies.txt
https://raw.githubusercontent.com/hoshsadiq/adblock-nocoin-list/master/nocoin.txt
https://raw.githubusercontent.com/bogachenko/fuckfuckadblock/master/fuckfuckadblock.txt?_=raw
https://raw.githubusercontent.com/bogachenko/fuckfuckadblock/master/fuckfuckadblock-mining.txt?_=raw
https://raw.githubusercontent.com/DandelionSprout/adfilt/master/Dandelion%20Sprout%27s%20Anti-Malware%20List.txt
@ChuckMichael
ChuckMichael / file.md
Last active September 9, 2021 12:24
PiHole list
https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/hosts/spy.txt
https://raw.githubusercontent.com/Perflyst/PiHoleBlocklist/master/SmartTV.txt
https://raw.githubusercontent.com/Perflyst/PiHoleBlocklist/master/android-tracking.txt
https://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/polish-pihole-filters/kad_host.txt
https://zerodot1.gitlab.io/CoinBlockerLists/list.txt
https://raw.githubusercontent.com/hoshsadiq/adblock-nocoin-list/master/hosts.txt
https://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/polish-pihole-filters/hostfile.txt
https://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/polish-pihole-filters/hole_cert_pl.txt
https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts
@ChuckMichael
ChuckMichael / vcredistr.md
Last active April 19, 2024 21:47
Visual C++ Redistributable Packages
Nieodpowidam za jakiekolwiek szkody! Robisz to na własne ryzyko!!!
1. Pobierz 2 pliki zip : http://downloads.sourceforge.net/gtk-win/gtk2-themes-2009-09-07-win32_bin.zip?download i http://downloads.sourceforge.net/gtk-win/gtk2_prefs-0.4.1.bin-win32.zip?download .
2. Wypakuj oba.
3. Przejdź do pierwszego wypakowanego folderu (gtk2-themes-2009-09-07-win32_bin). Wejdź do \share\themes , zaznacz wszystkie foldery i skopiuj do C:\Program Files (x86)\Pidgin\Gtk\share\themes (jeśli pojawi się pytanie, że folder istnieje, poprostu kliknij pomiń).
4. Przejdź do drugiego wypakowanego folderu (gtk2_prefs-0.4.1.bin-win32). Skopiuj plik "gtk2_prefs.exe" do C:\Program Files (x86)\Pidgin\Gtk\bin .
5. Przejdź do C:\Program Files (x86)\Pidgin\Gtk\bin i uruchom plik "gtk2_prefs.exe" (jeśli pojawi się błąd o braku pliku, doinstaluj http://downloads.sourceforge.net/gtk-win/gtk2-runtime-2.24.10-2012-10-10-ash.exe?download )
6. Wybierz motyw i kliknij OK.
7. Uruchom Pidgina i ciesz się nowym motywem :)
---
English version: https:/