border-radius shorthand, complete

border-radius: 1px 2px 3px 4px / 5px 6px 7px 8px; is the same as border-top-left-radius: 1px / 5px; border-top-right-radius: 2px / 6px; border-bottom-right-radius: 3px / 7px; border-bottom-left-radius: 4px / 8px; The order is border-top-left-radius x border-top-right-radius x border-bottom-right-radius x border-bottom-left-radius x / border-top-left-radius y border-top-right-radius y border-bottom-right-radius y border-bottom-left-radius y ;

zsh globbing: global expansion shortcuts

ls **/*
list all, recursive
ls **/*.(png|jpg|gif)
list all images
ls *foo*~*bar*
list all with foo except those containing bar
ls *(*)
list all executable
ls *(.m-1)
list files modified within the last day
ls **/*(.m-1)
list files modified within the last day recursively
ls **/*(Lk+100)
list all files larger than 100k recursively
ls **/*(Lm+100)
list all files larger than 100M recursively
ls…

ffmpeg karaoke version

ffmpeg -i file.mp3 -af pan="stereo|c0=c0|c1=-1*c1" -ac 1 novocal/file.mp3 ffmpeg -i novocal/file.mp3 -af "bass=g=6:f=100:w=0.5" bassboost/file.mp3 ffmpeg -i novocal/file.mp3 -i file.mp3 -filter_complex "[0:a]volume=1.0[a0];[1:a]volume=0.3[a1];[a0][a1]amix=inputs=2[a]" -map "[a]" done/file.mp3 ffmpeg -i $file -i mix/$file -map 0:v -map 1:a -map_metadata 0 -map_metadata:s:a 0:s:a -c: copy done/$file original song copies at /Volumes/sneakernet/karaoke for file in *.mp3 do ffmpeg -i $file -af pan="stereo|c0=c0|c1=-1*c1"…