Skip to content

Instantly share code, notes, and snippets.

View CounterPillow's full-sized avatar

Nicolas F. CounterPillow

View GitHub Profile
@brogier
brogier / README.md
Last active October 17, 2023 15:16
Acer XB270HU EDID fix for Linux

How to fix the default 640x480 resolution for linux for the Acer XB270HU by providing the EDID.

Works here on Linux Mint based on ubuntu.

  1. Put the edid_monitor.bin in /lib/firmware/edid_monitor.bin

sudo nano /etc/initramfs-tools/hooks/edid

#!/bin/sh
PREREQ=""
@fur-q
fur-q / auth.lua
Last active June 21, 2017 08:49
nginx rtmp/hls server setup
-- add users:
-- $ htpasswd -s -c /etc/nginx-rtmp/.htpasswd streamname
-- stream:
-- $ ffmpeg -i foo.mp4 -c copy -f flv rtmp://abc.de/streamname?auth=password
local users = {}
for line in io.lines("/etc/nginx-rtmp/.htpasswd") do
local user, pass = line:match("([^:]+):{SHA}([^\n]+)")
users[user] = pass
end
@agrif
agrif / bottlecaps.md
Last active August 6, 2016 21:13
Bottle Cap Bag Breakdown
(╯‵Д′)╯彡┻━┻