This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pathlib import Path | |
from urllib.parse import urlparse | |
from urllib.request import urlopen, urlretrieve | |
from xml.etree import ElementTree | |
import gzip | |
with urlopen("https://cdn.fwupd.org/downloads/firmware.xml.gz") as response: | |
xml = gzip.decompress(response.read()).decode() | |
root = ElementTree.fromstring(xml) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Kernel</key> | |
<dict> | |
<key>Patch</key> | |
<array> | |
<dict> | |
<key>Arch</key> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/configure.ac b/configure.ac | |
index 4ffb68f..445f677 100644 | |
--- a/configure.ac | |
+++ b/configure.ac | |
@@ -7,6 +7,7 @@ AC_PREREQ(2.60) | |
AC_CONFIG_HEADERS(config.h) | |
AC_CONFIG_SRCDIR(src/sbsign.c) | |
+AM_PROG_AR | |
AM_PROG_AS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/inc/elf.h b/inc/elf.h | |
new file mode 100644 | |
index 0000000..04aa7e8 | |
--- /dev/null | |
+++ b/inc/elf.h | |
@@ -0,0 +1,2819 @@ | |
+/* | |
+ Original file: https://gist.github.com/mlafeldt/3885346 | |
+ | |
+ Modified by SamJakob on August 23rd 2021 to include changes suggested |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Library/OcMainLib/OpenCoreUefi.c b/Library/OcMainLib/OpenCoreUefi.c | |
index fb1ec184..88ff8a95 100644 | |
--- a/Library/OcMainLib/OpenCoreUefi.c | |
+++ b/Library/OcMainLib/OpenCoreUefi.c | |
@@ -808,6 +808,52 @@ OcReserveMemory ( | |
} | |
+STATIC | |
+VOID |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
import argparse | |
import datetime | |
import pathlib | |
import shutil | |
import ssl | |
import struct | |
import subprocess |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c | |
index 8d4ebe095..586279e41 100644 | |
--- a/drivers/pci/pci.c | |
+++ b/drivers/pci/pci.c | |
@@ -1066,6 +1066,13 @@ static int pci_raw_set_power_state(struct pci_dev *dev, pci_power_t state) | |
|| (state == PCI_D2 && !dev->d2_support)) | |
return -EIO; | |
+ /* | |
+ * Check if we have a bad combination of bridge controller and nvidia |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 4d4919ba08fcf95e4d6e727f369737ac513b3540 Mon Sep 17 00:00:00 2001 | |
From: Alex James <theracermaster@gmail.com> | |
Date: Sun, 11 Jul 2021 21:26:50 -0500 | |
Subject: [PATCH] macOS build: add script to generate app bundle | |
--- | |
packaging/macos/build_app_bundle.sh | 72 +++++++++++++++++++++++++++++ | |
1 file changed, 72 insertions(+) | |
create mode 100755 packaging/macos/build_app_bundle.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ==UserStyle== | |
@name SoundCloud - Quite Dark | |
@namespace USO Archive | |
@author pawelos076232 | |
@description `Quite dark style for the SoundCloud` | |
@version 20231102.0.1 | |
@license NO-REDISTRIBUTION | |
@preprocessor uso | |
@updateURL https://gist.githubusercontent.com/al3xtjames/321c7750cf952551e47c4824c0aae387/raw/soundcloud-quite-dark.user.css?cache=false | |
==/UserStyle== */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 0e8718ee00902ebcc5910ed953b45d67ed665cc5 Mon Sep 17 00:00:00 2001 | |
From: Alex James <theracermaster@gmail.com> | |
Date: Sun, 14 Mar 2021 20:12:15 -0500 | |
Subject: [PATCH] init: Fix shell prompts on Termux | |
Backport of https://github.com/sorin-ionescu/prezto/pull/1561 | |
--- | |
init.zsh | 11 +++++++++++ | |
1 file changed, 11 insertions(+) |