Skip to content

Instantly share code, notes, and snippets.


Nicholas Tinsley sturmen

  • Facebook
  • New York, NY
View GitHub Profile
sturmen / .inputrc
Created December 17, 2018 00:20
the two most important lines any terminal user should have in their configuration
View .inputrc
"\e[A": history-search-backward
"\e[B": history-search-forward
sturmen / config.txt
Last active November 29, 2018 16:33
Nick's youtube-dl Config File
View config.txt
# nick's yt-dl config
# get automatic captions
# put them in the file
# get the video description
# prefer free formats but also get other formats as necessary for maximum quality
-f 'bestvideo[fps<=30][height<=1440][ext=webm]+bestaudio[ext=webm]/bestvideo[fps<=30][height<=1440][ext=webm]+bestaudio[ext=m4a]/bestvideo[fps<=30][height<=1440][ext=mp4]+bestaudio[ext=m4a]/best'
# custom naming for files that makes more sense to me
sturmen / my-ublock-static-filters.txt
Last active November 28, 2018 18:48
sturmen's uBlock Origin filters
View my-ublock-static-filters.txt
##[class$="recvontent"] Advertiser)
View keybase,md
### Keybase proof
I hereby claim:
* I am sturmen on github.
* I am sturmen ( on keybase.
* I have a public key ASD9flhSNpM6cHMBocIgZZeR9fpdXZHMb72sPq8u6QqD_wo
To claim this, I am signing this object:
sturmen /
Created May 12, 2017 18:15
Conversion Script from MP4 to WebM in good quality
set -ex
for i in *.mp4; do
ffmpeg -y -i "$i" -c:v libvpx-vp9 -pass 1 -b:v 2M -crf 30 -threads 8 -speed 4 \
-pix_fmt yuv420p -tile-columns 6 -frame-parallel 1 \
-an -f webm /dev/null
ffmpeg -i "$i" -c:v libvpx-vp9 -pass 2 -b:v 2M -crf 30 -threads 8 -speed 2 \