A list of useful commands for the FFmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
A list of useful commands for the FFmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
Update in 2024
In 2024 I'm actually having a good time using mupdf.
About my experience with mupdf:
It's written in C, but you can use it in many ways. Command line, python lib (pymupdf), js, and others.
I still coundn't find issues that I had with other tools and weird broken PDFs, so I'd say pretty good.
I was looking for a SVG Optimizer tool, cli tool preferably. SVG generated when converting from pdf to svg are kinda big.
More about PDF to SVG: https://gist.github.com/douglasmiranda/9c19f23c4570a7b7e02137791880ab43
SVGO is awesome, you can get thin svg files from it. =]
It's a cli tool, but keep in mind it's a nodejs tool, so you have to install node, it doesn't have an official compiled binary. https://github.com/svg/svgo
brew install ImageMagick
ffmpeg -ss 14:55 -i video.mkv -t 5 -s 480x270 -f image2 %04d.png
#!/usr/bin/expect -f | |
set prompt "#" | |
set address [lindex $argv 0] | |
spawn sudo bluetoothctl -a | |
expect -re $prompt | |
send "remove $address\r" | |
sleep 1 | |
expect -re $prompt |
The STM32CubeMX tool is written in portable java, but unfortunately it is distributed as a Windows executable embedded in a Windows installer.
To install it on Linux:
sudo java -jar SetupSTM32CubeMX-4.11.0.exe
/home/you/stm32/cubemx
sudo chown -R you:you /home/you/stm32/cubemx
/* | |
* The MIT License (MIT) | |
* | |
* Copyright (c) 2014 Matthieu Harlé | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is |
CC = arm-none-eabi-gcc | |
LD = arm-none-eabi-ld -v | |
AR = arm-none-eabi-ar | |
AS = arm-none-eabi-as | |
CP = arm-none-eabi-objcopy | |
OD = arm-none-eabi-objdump | |
CFLAGS = -I./ -I./stdlib/inc -DSTM32F10X_MD -fno-common -O0 -g -mcpu=cortex-m3 -mthumb | |
AFLAGS = -ahls -mapcs-32 | |
LFLAGS = |