Skip to content

Instantly share code, notes, and snippets.

View Kingtous's full-sized avatar
♥️
study/work/play with joy and be a life lover

Tousking Kingtous

♥️
study/work/play with joy and be a life lover
  • X
  • The Moon
View GitHub Profile
@Kingtous
Kingtous / dsdt.dsl
Last active September 29, 2025 11:47
Thinkbook 14p patched DSDT for enabling S3 suspend state and fixing ACPI Error for \.SB_.LID0 (Based on BIOS version 39WW)
/*
* Intel ACPI Component Architecture
* AML/ASL+ Disassembler version 20211217 (64-bit version)
* Copyright (c) 2000 - 2021 Intel Corporation
*
* Disassembling to symbolic ASL+ operators
*
* Disassembly of dsdt.dat, Fri Apr 8 00:35:05 2022
*
* Original Table Header:
@hostilefork
hostilefork / listener.c
Last active November 24, 2025 13:30
Simple listener and sender for UDP multicast
//
// Simple listener.c program for UDP multicast
//
// Adapted from:
// http://ntrg.cs.tcd.ie/undergrad/4ba2/multicast/antony/example.html
//
// Changes:
// * Compiles for Windows as well as Linux
// * Takes the port and group on the command line
//