Skip to content

Instantly share code, notes, and snippets.

Avatar

Nicholas Tinsley sturmen

  • Facebook
  • New York, NY
View GitHub Profile
@sparrc
sparrc / install-ffmpeg.sh
Last active Jun 16, 2022
Installs ffmpeg with libaom and libx265 enabled for av1 and hevc encoding (tested on Ubuntu 16.04)
View install-ffmpeg.sh
#!/usr/bin/env bash
# Installs ffmpeg from source (HEAD) with libaom and libx265, as well as a few
# other common libraries
# binary will be at ~/bin/ffmpeg
sudo apt update && sudo apt upgrade -y
mkdir -p ~/ffmpeg_sources ~/bin
export PATH="$HOME/bin:$PATH"
@dmwyatt
dmwyatt / remove_chrome_other_search_engines.js
Last active Mar 20, 2021
[Remove chrome "other search engines"] #chrome
View remove_chrome_other_search_engines.js
// 1. open chrome://settings/searchEngines
// 2. press Ctrl-Shift-J to open console
// 3. paste the following code
// note: you may have to run it multiple times to get rid of all of them
// If you have search engines you want to use add the text "(KEEP)" to their name
// and by name i mean the "Search engine" field when you add/edit one of the search engines
settings.SearchEnginesBrowserProxyImpl.prototype.getSearchEnginesList()
.then(function (val) {