Skip to content

Instantly share code, notes, and snippets.

View ihutornoy's full-sized avatar

Ilya Hutornoy ihutornoy

View GitHub Profile
echo PASS | AnyDesk.exe --set-password
@echo off
for /f "delims=" %%i in ('"C:\Program Files (x86)\AnyDesk\AnyDesk.exe" --get-id') do set CID=%%i
echo AnyDesk ID is: %CID%
pause
@echo off
AnyDesk.exe --install "C:\Program Files (x86)\AnyDesk" --start-with-win --silent
patator http_fuzz url="127.0.0.1" method="POST" body="username=admin&password=FILE0"
0=dic.txt header="Cookie: security=low; PHPSESSID={SESSID}"
accept_cookie=1 -x ignore:fgrep="Wrong" -t 50
CUDA
-hwaccel cuda
//*.mp4 compressed
ffmpeg -hwaccel cuda -i input.mp4 -vcodec libx264 -crf 24 output.mp4
//*.webm for web
ffmpeg -hwaccel cuda -i input.mp4 -c:v libvpx -crf 30 -b:v 1M -b:a 128k -c:a libopus -an output.webm
//save poster
ffmpeg -hwaccel cuda -i input.mp4 -ss 00:00:00 -vframes 1 output.jpg