Skip to content

Instantly share code, notes, and snippets.

View hamargyuri's full-sized avatar

Hamar Gyuri hamargyuri

View GitHub Profile
ffmpeg -i <source> -filter:v "setpts=<speed>*PTS" -an <output>
ffmpeg -i <source> -c copy -an <output>
ffmpeg -i <source> -s <output_res> -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=<quality(1,2,3...)> --delay=<speed(1,2,3...)> > <output_filename>.gif
sudo crontab -e
@reboot /usr/sbin/usb_modeswitch -c /etc/usb_modeswitch.conf
DefaultVendor=0x12d1
DefaultProduct=0x1f02
TargetVendor=0x12d1
TargetProduct=0x1f02
MessageContent="55534243123456780000000000000011062000000101000100000000000000"