Skip to content

Instantly share code, notes, and snippets.

View okwalerie's full-sized avatar

Valerie Kim okwalerie

  • 100 Macondo Lane
View GitHub Profile
@vr-greycube
vr-greycube / ubuntu frappe development in docker .md
Created October 27, 2024 03:48
set up frappe development in Docker on ubuntu
sudo apt update && sudo apt upgrade && sudo apt autoremove

sudo apt install git curl

https://docs.docker.com/engine/install/ubuntu/

for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do sudo apt-get remove $pkg; done
{
"input": {
"blocklist": [],
"compressor#0": {
"attack": 15.0,
"boost-amount": 0.0,
"boost-threshold": -72.0,
"bypass": false,
"dry": -80.01,
"hpf-frequency": 10.0,
0.0.0.0 us.rdx2.lgtvsdp.com
0.0.0.0 us.info.lgsmartad.com
0.0.0.0 us.ibs.lgappstv.com
0.0.0.0 CA.ibs.lgappstv.com
0.0.0.0 us.lgtvsdp.com
0.0.0.0 ad.lgappstv.com
0.0.0.0 smartshare.lgtvsdp.com
0.0.0.0 ibis.lgappstv.com
# added after fork
@vijaywm
vijaywm / frappe-reference-guide.md
Last active August 27, 2025 14:30
Frappe Reference Guide
@MaxXor
MaxXor / btrfs-guide.md
Last active June 30, 2026 06:43
Btrfs guide to set up an LUKS-encrypted btrfs raid volume with included maintenance & recovery guide

Encrypted Btrfs storage setup and maintenance guide

Initial setup with LUKS/dm-crypt

This exemplary initial setup uses two devices /dev/sdb and /dev/sdc but can be applied to any amount of devices by following the steps with additional devices.

Create keyfile:

dd bs=64 count=1 if=/dev/urandom of=/etc/cryptkey iflag=fullblock
chmod 600 /etc/cryptkey
@lostmsu
lostmsu / LifeSpan.cs
Last active April 12, 2025 01:14
Control LifeSpan treadmill from C# (treadmill drops connection if not kept alive)
// License: MIT
using System;
using System.Collections.Concurrent;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
public class LifeSpanTreadmill: IDisposable
{
import serial
class Lifespan(object):
def __init__(self):
self.connect()
def connect(self):
self.port = serial.Serial('/dev/tty.IHP-Serialport', 19200, timeout=1)
while self.port.read(1) != '':