Skip to content

Instantly share code, notes, and snippets.

Hello. I've decided to share a lot more of my knowledge in public forums from now on, and to not divert any of my focus away from improving the world in a way that stays written in history.

This Gist is about discussing on how to improve AV1 decoding performance on 2 fronts: improving performance through more efficient decoding, and through decoding aware encoding.

Improving decoding performance through more efficient decoding.

Here are many tips on how to improve decoding performance on any machine:

1. Keep your favorite media player up to date!

@eugenesvk
eugenesvk / StatusBar2LnCol.py
Created October 17, 2022 11:54
Sublime Text's status bar with →5↓6 instead of Line 6, Column 5
import sublime, sublime_plugin
import Default # use save_selections function to do ⇥ to ␠ calculations
class ShowLnColInStatusCommand(sublime_plugin.EventListener):
def on_selection_modified_async(self, view):
statusName = '02_LnCol'
selection = view.sel()
if len(selection) == 0:
view.erase_status(statusName)

Using an Access Token for the first time

Follow the instructions on Github to Create an Access Token in Github

Configure Git to use the osxkeychain

By default, git credentials are not cached so you need to tell Git if you want to avoid having to provide them each time Github requires you to authenticate. On Mac, Git comes with an “osxkeychain” mode, which caches credentials in the secure keychain that’s attached to your system account.

You can tell Git you want to store credentials in the osxkeychain by running the following:-

@eugenesvk
eugenesvk / nw.js-plotly.js
Last active March 31, 2016 18:20
generate plotly.js images using nw.js
We couldn’t find that file to show.
@eugenesvk
eugenesvk / karma-plotly.js
Last active March 31, 2016 17:38
generate plotly.js images with the karma runner
We couldn’t find that file to show.
anon true, if the space may be omitted in anonymous function declarations
bitwise true, if bitwise operators should be allowed
browser true, if the standard browser globals should be predefined
cap true, if upper case HTML should be allowed
continue true, if the continuation statement should be tolerated
css true, if CSS workarounds should be tolerated
debug true, if debugger statements should be allowed
devel true, if logging should be allowed (console, alert, etc.)
eqeq true, if == should be allowed
es5 true, if ES5 syntax should be allowed
@eugenesvk
eugenesvk / fish_shell_local_install.sh
Last active March 16, 2016 12:24 — forked from masih/fish_shell_local_install.sh
Installs Fish Shell without root access
# Bash script for installing Fish Shell on systems without root access
# Fish Shell will be installed in $HOME/local/bin
# It's assumed that wget and a C/C++ compiler are installed
set -e # exit on error
FISH_VER=2.2.0
mkdir -p $HOME/local $HOME/fish_shell_tmp # create our directories
cd $HOME/fish_shell_tmp
wget http://fishshell.com/files/${FISH_VER}/fish-${FISH_VER}.tar.gz # download source files for Fish Shell
@eugenesvk
eugenesvk / osx-10.11-setup.md
Created January 12, 2016 22:14 — forked from kevinelliott/osx-10.11-setup.md
Mac OS X 10.11 El Capitan Setup

Mac OS X 10.11 El Capitan

Custom recipe to get OS X 10.11 El Capitan running from scratch, setup applications and developer environment. This is very similar (and currently mostly the same) as my 10.10 Yosemite setup recipe (as found on this gist https://gist.github.com/kevinelliott/0726211d17020a6abc1f). Note that I expect this to change significantly as I install El Capitan several times.

I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.

This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.

You are encouraged to fork this and modify it to your heart's content to match your own needs.