vnc root permissions

xhost +si:localuser:root

anki randomize new cards.

search = is:new -is:suspended -tag:<excluded_tag>.

select cards, Cards > Reposition.

  • start position: 0
  • step: 1
  • randomize order: check
  • shift position of existing cards: check

instagram ffmpeg

INFILE="./input.gif"
loops=4
OUTFILE=output.mp4
ffmpeg -i "${INFILE}" \
       -filter_complex "loop=${loops}:32767:0,scale=trunc(iw/2)*2:trunc(ih/2)*2" \
       -f mp4 \
       -y \
       -preset slow \
       -pix_fmt yuv420p \
  "${OUTFILE}" >/dev/null 2>&1