Skip to content

Instantly share code, notes, and snippets.

View MartyLake's full-sized avatar

Matthieu Talbot MartyLake

  • Expressive
  • France
View GitHub Profile
@MartyLake
MartyLake / gist:01c42a805e144f759d9b4c4e4cb3e8c4
Created March 14, 2024 19:04
convert ffmpeg video to vertical with overlay
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
set -x
FILTERGRAPH="[0:v]pad=iw:2*trunc(iw*16/18):(ow-iw)/2:(oh-ih)/2[padded];[padded]scale=1080:1920[resized];[resized][1:v]overlay"
echo "nullscr,$FILTERGRAPH,nullsink" | graph2dot
false
for f in $(find input -type f); do
@MartyLake
MartyLake / .vimrc
Last active September 21, 2024 22:01
vimwiki table formula integration
set nocompatible
filetype off
let vundleVimPath = "~/.vim/bundle/Vundle.vim"
let vundleVimInstallPluginPath = "$HOME/.vim/bundle"
exe 'set rtp+=' . expand(vundleVimPath)
call vundle#begin(vundleVimInstallPluginPath)
Plugin 'VundleVim/Vundle.vim'
"" End of Vundle package manager preamble
"""""""""""""""""""""""""""""""""""""""""