Skip to content

Instantly share code, notes, and snippets.

View jrandiny's full-sized avatar
🎯
Focusing

Joshua jrandiny

🎯
Focusing
View GitHub Profile
@jrandiny
jrandiny / autoinstall.yml
Last active March 28, 2025 14:09
Fresh Install of Ubuntu 24.04 Desktop to existing LVM PV/LV partition
autoinstall:
version: 1
interactive-sections:
- identity
- locale
- keyboard
source:
search_drivers: true
storage:
version: 1
@jrandiny
jrandiny / generate_humble_tier_list.js
Last active April 7, 2024 14:02
Generate humble bundle tier list (only tested using usd and english language)
function generateTierSummary() {
const tierList = document.querySelectorAll(".tier-item-details-view");
const output = Array.from(tierList).map((entry)=>{
const title = entry.querySelector(".heading-medium").textContent;
const rawPrice = entry.querySelector(".tier-price").textContent.trim();
const price = rawPrice.match(/\d+/)[0];
return `${price} | ${title}`
});
diff --git a/dsdt.dsl b/dsdt.dsl
index 09358bf..047ef2a 100644
--- a/dsdt.dsl
+++ b/dsdt.dsl
@@ -26,7 +26,7 @@ DefinitionBlock ("", "DSDT", 1, "LENOVO", "CB-01 ", 0x00000001)
External (_SB_.AWAK, MethodObj) // 1 Arguments
External (_SB_.CMSO, MethodObj) // 2 Arguments
External (_SB_.PCI0.GFX0.VGA_.LCD_, DeviceObj)
- External (_SB_.PCI0.GP17.VGA_.AFN7, UnknownObj)
+ External (_SB_.PCI0.GP17.VGA_.AFN7, MethodObj) // 1 Arguments