Skip to content

Instantly share code, notes, and snippets.

View davidlondono's full-sized avatar

David Alejandro Londoño davidlondono

View GitHub Profile
@maratori
maratori / .golangci.yml
Last active January 23, 2025 10:28
Golden config for golangci-lint
# This file is licensed under the terms of the MIT license https://opensource.org/license/mit
# Copyright (c) 2021-2025 Marat Reymers
## Golden config for golangci-lint v1.63.4
#
# This is the best config for golangci-lint based on my experience and opinion.
# It is very strict, but not extremely strict.
# Feel free to adapt it to suit your needs.
# If this config helps you, please consider keeping a link to this file (see the next comment).
@StephanWagner
StephanWagner / docker-cleanup.sh
Created September 12, 2019 09:02
Prune docker system and remove all containers, images, volumes with one command.
docker system prune
docker container stop $(docker container ls -aq)
docker container rm $(docker container ls -aq)
docker rmi $(docker images -aq)
docker volume prune
@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()