Skip to content

Instantly share code, notes, and snippets.

$argon2id$v=19$m=512,t=256,p=1$yS5vXFQBSpl8JabcgPKHxQ$r3MFLFurUZEvdsMAJSDVtQ+zY8pzSH0kUQ82uVshhBE

@srd424
srd424 / gist:3693bb35ed3770d8523974371ce8ad99
Created September 17, 2023 09:13
dependencies required to install OBS-studio-webrtc
# dependencies required to install broken deb packages from
# https://github.com/CoSMoSoftware/OBS-studio-webrtc/releases
# to run binary
apt-get install libavcodec58 libavformat58 libpython3.10 libqt6widgets6 libqt6svg6 libqt6xml6 libmbedtls14 libc++1-14 libswscale5 libpulse0 qt6-qpa-plugins
# to startup
apt-get install libavdevice58 libavfilter7
# for plugins:
@srd424
srd424 / fzf_readline.c
Created September 9, 2023 10:54
Terrible hack for preloading custom readline functions
/* gcc -Wall -fPIC -shared -o fzf_readline.so fzf_readline.c -ldl */
/* a much nastier version of https://github.com/lincheney/rl_custom_function,
* but works with readline in Debian/Ubuntu
*/
#define _GNU_SOURCE
#include <stdlib.h>
#include <stdio.h>
#! /bin/bash
set -e
#DEFBUILDARCHS="amd64 armhf"
build () {
local _arch=$1; shift
export ARCH="${_arch}"