| "use strict"; | |
| //note: wrap it however you like ;) no dependencies. | |
| //javascript base64 pretty fast using pre calculated reverse lookup for decoding. string input string output. modern aproach no escape/unescape/encodeURIComponent/decodeURIComponent. | |
| //https://gist.github.com/eladkarako/b8f34c063157112a646cffb4b3c635ab#file-javascript-base64-pretty-fast-using-pre-calculated-reverse-lookup-for-decoding-js | |
| /* reverse-lookup table to speed up decoding. | |
| * avoid indexOf/charAt (string search and returning strings), repeated string concatenation, and join. | |
| * Standard Base64: A–Z → 0–25, a–z → 26–51, 0–9 → 52–61, '+' (43) → 62, '/' (47) → 63. |
| @echo off | |
| chcp 65001 1>nul 2>nul | |
| pushd "%~dp0" | |
| set "PATH=%CD%;%PATH%" | |
| "magick.exe" "%~1" -filter Lanczos -define "icon:auto-resize=256,128,64,48,32,16" -unsharp "0x1+0.75+0.02" "%~sdp1%~n1_converted.ico" | |
| pause | |
| popd | |
| exit /b 0 | |
| ::https://imagemagick.org/download/#windows&gsc.tab=0 |
| native to linux: | |
| sudo apt update && sudo apt install -y gnome-terminal nautilus | |
| nautilus . | |
| ------------------------------------------------------------------------ | |
| native to windows (explorer) | |
| use "specia" network folder: | |
| \\wsl$ | |
| \\wsl.localhost |
| #Requires AutoHotkey v2.0 | |
| #SingleInstance force ; skip prompt and replace old instance automatically. | |
| ListLines false ; disable key history / script lines listing for efficiency. | |
| SetWorkingDir A_ScriptDir ; set working folder to be the script's folder. | |
| ;--------------------------------------------------------------------- | |
| ; WIN+1 - my computer | |
| ; WIN+3 - C:\ | |
| ; WIN+SHIFT+3 - karakocom c | |
| ; WIN+5 - D:\ |
20250831 - 100 Things Science Still Cant Explain.txt https://gist.github.com/eladkarako/04e3550ee548101ca910a2ff7f7f75e9#file-20250831-100-things-science-still-cant-explain-txt
20251004 - 300 Physics Facts.txt https://gist.github.com/eladkarako/04e3550ee548101ca910a2ff7f7f75e9#file-20251004-300-physics-facts-txt
20251020 - 101 Biology Facts.txt https://gist.github.com/eladkarako/04e3550ee548101ca910a2ff7f7f75e9#file-20251020-101-biology-facts-txt
| @echo off | |
| :: you can also add a nice context-menu entry for right-clicking .msi files. | |
| ::--------------------------------------------------------------------------- | |
| ::Windows Registry Editor Version 5.00 | |
| :: | |
| ::[HKEY_CLASSES_ROOT\Msi.Package\shell\msi_extractor] | |
| ::"Icon"="%SystemRoot%\\System32\\msiexec.exe,0" | |
| ::@="MSI Extractor" | |
| :: | |
| ::[HKEY_CLASSES_ROOT\Msi.Package\shell\msi_extractor\command] |
| @echo off | |
| chcp 65001 1>nul 2>nul | |
| goto MAIN | |
| ::------------------------------------------------------------------------------------- | |
| :PROCEDURE_CURL | |
| echo. 1>&2 | |
| set "url=%~1" |
well like most times I need to do something quickly I tend to make it into a tool I (and maybe others) could/will use again..
tried to debug some programs and wanted a way to access, "for real", the uninstall section,
yeah yeah you've got 3rd parties such as ccleaner..
the problem is Windows 11 hides everything under explorer and pin-pointing the window using process explorer,
isn't really useful since the sections are "created".
here are most ways of calling the uninstall and remove programs.
- calling good old
controlmanually from start run, then navigating to the section manually.


