Skip to content

Instantly share code, notes, and snippets.

@gnat
gnat / davinci_resolve_linux.md
Last active October 4, 2025 09:05
Davinci Resolve Install Linux

Davinci Resolve Nvidia on Linux / Ubuntu / Kubuntu 24.04 25.04

  • Install
  • Remove old built-in libraries sudo rm -r /opt/resolve/libs/libgio* ; rm -r /opt/resolve/libs/libglib* ; rm -r /opt/resolve/libs/libgmodule* ; rm -r /opt/resolve/libs/libgobject*
  • Restore control bars on KDE Window Rules ➡️ Description / Class: resolve ➡️ Appearance & fixes: No titlebar and frame = NO ➡️ Force On
  • No sound? sudo apt install pipewire-alsa Reboot.
  • No .mp4 rendering (h.264 / h.265) ? Microsoft / Apple license these. Free: No ): Studio: Yes.
    • Studio: Awesome NVENC accellerated AV1 support in .MP4 using 4000+ series Nvidia on Linux.
@relthyg
relthyg / mysql-dsn
Last active October 11, 2021 21:54
mysql-dsn: Connect to a mysql database from the command line using a DSN as argument
#!/usr/bin/env python3
#
# mysql-dsn
# Takes a DSN as argument and tries to connect to the specified database using the "mysql"-command.
# Passwords must be quoted ("url-encoded").
#
# Example:
# $ mysql-dsn mysqli://me:top_secret@hostname:33006/db-name
import re