Skip to content

Instantly share code, notes, and snippets.

View lhw's full-sized avatar

Lennart Weller lhw

View GitHub Profile
@Jip-Hop
Jip-Hop / boot.sh
Last active July 18, 2024 21:35
Using Docker on TrueNAS SCALE (no Kubernetes)
#!/usr/bin/env bash
#
# Enable docker and docker-compose on TrueNAS SCALE (no Kubernetes)
#
# This script is a hack! Use it at your own risk!!
# Using this script to enable Docker is NOT SUPPORTED by ix-systems!
# You CANNOT use SCALE Apps while using this script!
#
# 1 Create a dedicated Docker zvol on one of your zpools: zfs create -V 100G data/_docker
@phiresky
phiresky / motioninterpolation.vpy
Last active June 4, 2024 05:19
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()
#!/usr/bin/env python
from PyKDE4.kdeui import KWallet
from PyQt4 import QtGui
import re
from sys import argv
from os import execvp
# Path to the real mpv. You can just use 'mpv' if it's in your path,
# but then you'll get an infinite loop if this script is the first mpv