Skip to content

Instantly share code, notes, and snippets.

@eladkarako
eladkarako / windows curl example batch file that includes downloading and dns resolving via tor open port of tor browser.cmd
Created April 11, 2026 13:32
windows curl example batch file that includes downloading and dns resolving via tor open port of tor browser.
@echo off
chcp 65001 1>nul 2>nul
goto MAIN
::-------------------------------------------------------------------------------------
:PROCEDURE_CURL
echo. 1>&2
set "url=%~1"
@eladkarako
eladkarako / extracting some raw data from semi binary files.md
Created April 7, 2026 02:16
extracting some raw data from semi binary files

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 control manually from start run, then navigating to the section manually.
@eladkarako
eladkarako / all_pnp_devices__to_json_on_desktop - notes.md
Last active April 25, 2026 16:03
pnp devices. all imaging image capturing capable devices. ps1 powershell windows. class image. wmi object Win32_PnPEntity. properties sorted. json file output.

how about that,
i was trying to install the printer using USB cable,
but it was unable to register scan task in the printer!

after 10 uninstalls in some variations,
where i don't understand why the UI has missing sections,
and trying to run the exe for registring the computer in the printer manually,
nothing worked,

the uninstall was deep, and included also removing all HP related folders using the search programs everything.

@eladkarako
eladkarako / favor side-by-side external manifest instead of embedded one {INSTALL}.reg
Created March 31, 2026 09:51
favor side-by-side external manifest instead of embedded one
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide]
"PreferExternalManifest"=dword:00000001
;note. this is probably not needed, or wrong.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion]
"PreferExternalManifest"=dword:00000001
@eladkarako
eladkarako / oracle virtualbox post-uninstall cleanup.txt
Last active March 29, 2026 21:46
oracle virtualbox post-uninstall cleanup
************
* installing over dead or broken installation can help with uninstallation process in case you are stuck https://download.virtualbox.org/virtualbox/7.2.6/VirtualBox-7.2.6a-172322-Win.exe
* run as admin (or run cmd.exe as admin and run either of those from there):
* appwiz.cpl
* %SystemRoot%\System32\control.exe "appwiz.cpl",%*
* %SystemRoot%\System32\rundll32.exe shell32.dll,Control_RunDLLAsUser "appwiz.cpl",
* now try again uninstalling
* try placing your vm folder on a non ssd drive, and if possible (you've got sufficient disk space) - pre assign the entire disk space.
* before deleting the configuration files under "..../.VirtualBox/" take a look to familiar yourself with possible junk leftout..
* folders are deleted in two steps to help various access issues.
@eladkarako
eladkarako / WinPython as main python for windows.md
Last active March 28, 2026 21:29
WinPython as main python for windows.md

WinPython as a single, preferred python client,
in a "single user as admin", Windows 11 machine.


this will make everything to be launched as admin

Windows Registry Editor Version 5.00
@eladkarako
eladkarako / ffmpeg quick audio visualization.cmd
Last active May 14, 2026 03:25
ffmpeg quick audio visualization
::@echo off
chcp 65001 1>nul 2>nul
pushd "%~dp0"
set "BASE=%CD%"
popd
set "BASE=%BASE:\=/%"
set "FILE_GIF=%BASE%/--_resources/green_ninja.gif"
::set "FILE_TTF=%BASE%/--_resources/courbd_with_slashed_zero.ttf"
@eladkarako
eladkarako / Auto-Login Even With No Password Windows 11.reg
Created March 7, 2026 11:19
Auto-Login Even With No Password Windows 11
Windows Registry Editor Version 5.00
;-- allow passwordless login in Windows11
;https://www.tenforums.com/tutorials/138564-enable-disable-passwordless-sign-microsoft-accounts.html
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device]
"DevicePasswordLessBuildVersion"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DisableLockWorkstation"=dword:00000001
@eladkarako
eladkarako / ffmpeg_h265_to_h264.cmd
Last active January 17, 2026 14:57
run to auto loop all videos in a folder. takes a lot of time (you can copy audio to speed it up).
::@echo off
chcp 65001 1>nul 2>nul
for %%a in (*.mkv *.mp4) do (
call :PROCEDURE_DELETE_THUMBNAIL "%%a"
call :PROCEDURE_FFMPEG "%%a"
)
goto :END
@eladkarako
eladkarako / sponsorblock mirrors (both db and api).txt
Created May 12, 2025 19:40
sponsorblock mirrors (both db and api)
https://sponsorblock.kavin.rocks
https://sponsorblock.gleesh.net
https://sb.theairplan.com
https://sb.doubleuu.win
https://sponsorblock.hankmccord.dev
----------------------------------------------------
for SponsorBlock web-extension: