Skip to content

Instantly share code, notes, and snippets.

@cnlohr
cnlohr / forgot_to_check_out_with_recurse_submodules.md
Last active August 9, 2025 09:26
Git forgot to clone recursively (forgot to check out with recurse submodules)
brew install --cask font-cascadia-code
brew install --cask font-cascadia-code-pl
brew install --cask font-cascadia-mono
brew install --cask font-cascadia-mono-pl
@xacnio
xacnio / telegram_video_sticker_ffmpeg.md
Last active July 20, 2025 23:05
Telegram - Create Video Sticker (.WEBM) with FFMPEG

Command

ffmpeg -y -i animated_sticker.mov -r 30 -t 2.99 -an -c:v libvpx-vp9 -pix_fmt yuva420p -s 512x512 -b:v 400K output.webm
  • If .webm file size greater than 256 KB, you should reduce "-b:v 400K"
  • .mov video file may has alpha channel but not required.
  • My video sticker pack for example: https://t.me/addstickers/msn_animations

Telegram Sticker Command