Skip to content

Instantly share code, notes, and snippets.

@1337-server
1337-server / gist:979d4cc76866af22876c66727d2a0ab4
Last active May 15, 2021 14:04 — forked from bgulla/gist:ec28e7f9f8653bc6b8dd53dc003a9b07
LIRC config file for RGB LED light strips.
# Please make this file available to others
# by sending it to <[email protected]>
#
# this config file was automatically generated
# using lirc-0.9.0-pre1(default) on Tue Nov 29 03:27:29 2016
#
# contributed by bgulla
# Product url: https://www.amazon.co.uk/gp/product/B07YLXR9T6
# brand: Letion
# model no. of remote control: 5050 LED
@1337-server
1337-server / gist:20707bf937c03552408f2df7b3315a40
Last active May 21, 2021 02:30
lirc codes for 5050 letion remote
# Unbranded Chinese RGB LED Remote (NEC protocol) LIRC configuration file
# source is one of these
# https://gist.github.com/bgulla/ec28e7f9f8653bc6b8dd53dc003a9b07
# http://woodsgood.ca/projects/2015/02/13/rgb-led-strip-controllers-ir-codes/
begin remote
name RGBLED
bits 16
flags SPACE_ENC|CONST_LENGTH
eps 30
import functools
import arrow
import datetime
import itertools
from collections import Counter
from typing import List, Dict, Union, Generator
from datapipelines import NotFoundError
from merakicommons.cache import lazy, lazy_property
from merakicommons.container import searchable, SearchableList, SearchableLazyList, SearchableDictionary
@1337-server
1337-server / install_amdgpu__vce_mesa_opencl.sh
Created February 17, 2023 08:32 — forked from nebadon2025/install_amdgpu__vce_mesa_opencl.sh
Install amdgpu-pro packages on Debian (openCL, mesa, VCE) only.
#!/bin/bash
# -------------------------------------------------------------------------------------------------------------------------#
# 1st: Download the amdgpu-drivers from here: https://www.amd.com/de/support/kb/release-notes/rn-amdgpu-unified-navi-linux #
# -------------------------------------------------------------------------------------------------------------------------#
#=============================#
### CONFIG ###
# ADJUST VERSIONS ACCORDINGLY!
PACKAGE="amdgpu-pro"