Skip to content

Instantly share code, notes, and snippets.

View TripleK2004's full-sized avatar

TripleK TripleK2004

View GitHub Profile
@t-mart
t-mart / netrw quick reference.md
Last active March 8, 2025 20:58
A quick reference for Vim's built-in netrw file selector.
Map Action
<F1> Causes Netrw to issue help
<cr> Netrw will enter the directory or read the file
<del> Netrw will attempt to remove the file/directory
- Makes Netrw go up one directory
a Toggles between normal display, hiding (suppress display of files matching g:netrw_list_hide) showing (display only files which match g:netrw_list_hide)
c Make browsing directory the current directory
C Setting the editing window
d Make a directory
@phiresky
phiresky / motioninterpolation.vpy
Last active January 12, 2025 07:39
Realtime motion interpolating 60fps playback in mpv
# vim: set ft=python:
# see the README at https://gist.github.com/phiresky/4bfcfbbd05b3c2ed8645
# source: https://github.com/mpv-player/mpv/issues/2149
# source: https://github.com/mpv-player/mpv/issues/566
# source: https://github.com/haasn/gentoo-conf/blob/nanodesu/home/nand/.mpv/filters/mvtools.vpy
import vapoursynth
core = vapoursynth.get_core()
@lennart
lennart / aliases
Created June 3, 2015 11:05
Bash Alias for converting rgb values to hex, Usage: rgb2hex 12 245 14
alias rgb2hex='printf "#%02x%02x%02x\n"'