Extract stuff from .mkv with ffmpeg
Full documentation: https://ffmpeg.org/ffmpeg.html
ffmpeg -i input.mkv
track indexes are zero-based.
Full documentation: https://ffmpeg.org/ffmpeg.html
ffmpeg -i input.mkv
track indexes are zero-based.
/* | |
* euromillions generator code golf. unique numbers. in javascript. because. | |
* change the parameters for games other than euromillions. | |
* paste the code in the browser console and press enter. | |
*/ | |
// non "RFC compliant" version (does not allow collisions between numbers and stars) | |
for(a=[],r=_=>Math.ceil(Math.random()*(i<5?50:12)),i=0;i<7;i++){n=r();while(a.includes(n))n=r();a[i]=n};a; | |
// zero fucks given (globals, no sorting) |
TL;DR; A keyed-hash string encoding function.
Useful for setting strong passwords that you will not remember but can regenerate.
Use any hash function you like.
HMAC with BASE64 (no special chars)
echo -n "username" | openssl sha256 -hmac "password" | cut -d " " -f 2 | base64 | cut -c 1-64