- htttp://twitter.com/sturmen
View .inputrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"\e[A": history-search-backward | |
"\e[B": history-search-forward |
View config.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# nick's yt-dl config | |
# get automatic captions | |
--write-auto-sub | |
# put them in the file | |
--embed-subs | |
# get the video description | |
--add-metadata | |
# 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 |
View my-ublock-static-filters.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
androidpolice.com###comment-policy | |
twitter.com##.js-wtf-module | |
facebook.com###homepage_panel_pagelet | |
##[id^="ac-lre-player-ph"] | |
##[class$="recvontent"] | |
slickdeals.net##.fpGridBox:has-text(Bank Advertiser) |
View keybase,md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am sturmen on github. | |
* I am sturmen (https://keybase.io/sturmen) on keybase. | |
* I have a public key ASD9flhSNpM6cHMBocIgZZeR9fpdXZHMb72sPq8u6QqD_wo | |
To claim this, I am signing this object: |
View mp4_to_webm.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
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 \ |