Skip to content

Instantly share code, notes, and snippets.

View andrimarjonsson's full-sized avatar

Andri Mar Jónsson andrimarjonsson

View GitHub Profile
@packerdl
packerdl / lxc_plex_intel_quicksync.md
Last active May 25, 2024 19:18
Intel QuickSync passthrough to an unprivileged LXC container running plex.

Running Plex in an Unprivileged LXC with Intel QuickSync Passthrough

First setup an unprivileged Ubuntu container with Plex Media Server installed. Inside the container take note of the id of the plex group.

# Your Plex group's ID may be different
$ getent group plex | cut -d : -f3
998
@metacollin
metacollin / Polycarbonate.ini
Last active May 6, 2024 10:17
Slic3r settings for high quality, low-warp, high-strength printing of polycarbonate without an enclosure on a Prusa i3 MK2S
# generated by Slic3r 1.37.2-prusa3d on Thu Dec 7 09:48:20 2017
# Figured out by trial and error engineer metacollin
# Released as public domain.
# USE GLUESTICK FOR PRINT BED ADHESION
avoid_crossing_perimeters = 0
bed_shape = 0x0,250x0,250x210,0x210
bed_temperature = 110
before_layer_gcode = ;BEFORE_LAYER_CHANGE\n;[layer_z]\n\n
bottom_solid_layers = 8
bridge_acceleration = 1000
@mcgdb
mcgdb / ycm_extra_conf.py
Created April 20, 2016 23:30
AVR youcompleteme configuration
# For God's sake, don't forget to rename this .ycm_extra_conf.py
# Note the leading dot! I downloaded this, configured it endlessly and nothing
# seemed to improve...Only to find out I didn't put the dot in the beginning because it got replaced
# with an underscore by my browser...Maybe I'm an idiot, but don't let this happen to you!
import os
import ycm_core
from clang_helpers import PrepareClangFlags
@datagrok
datagrok / ergodox.md
Last active January 14, 2019 07:45
Reflections on my ErgoDox keyboard
@Thermionix
Thermionix / auth-basic.conf
Last active November 4, 2021 00:56
nginx reverse proxy for sickbeard, couchpotato etc.
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/htpasswd;