Skip to content

Instantly share code, notes, and snippets.

View droM4X's full-sized avatar
🐽
It's a socket!

Gabor Lengyel droM4X

🐽
It's a socket!
  • Budapest, Hungary
View GitHub Profile
@ygotthilf
ygotthilf / jwtRS256.sh
Last active May 19, 2025 21:24
How to generate JWT RS256 key
ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key
# Don't add passphrase
openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub
cat jwtRS256.key
cat jwtRS256.key.pub
@protrolium
protrolium / ffmpeg.md
Last active April 27, 2025 21:52
ffmpeg guide

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

You can get the list of installed codecs with:

@plentz
plentz / nginx.conf
Last active May 21, 2025 05:22
Best nginx configuration for improved security(and performance)
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048