Skip to content

Instantly share code, notes, and snippets.

View codgician's full-sized avatar
👋
Adieu

codgician codgician

👋
Adieu
View GitHub Profile
@codgician
codgician / nVAppAppApp.ps1
Created March 18, 2025 15:37 — forked from JPersson77/nVAppAppApp.ps1
nVAppAppApp - workaround NVIDIA DLSS4 whitelisting
<# Workaround for NVIDIA's DLSS4 whitelisting
DLSS4 was launched alongside the RTX 5000 series and comprise several new and interesting
features, f.e. additional presets for Super Resolution, using a newer Transformer model.
Arguably these features increase image quality significantly. To various degrees these
features are also available for older RTX cards, and older games using DLSS3/2.
Using third party apps like DLSS Swapper etc remains a convenient way to, on a manual basis,
swap out DLLs which contain the above mentioned functionality, per game. Downsides to this is
primarily that swapping out DLLs for online multi-player games may trigger an Anti-Cheat
system, and there is of course also some manual work of updating to newer versions/DLLs.
This file has been truncated, but you can view the full file.
Program version: 1.5.1, Extraction mode: UEFI
FormSet Guid: E14F04FA-8706-4353-92F2-9C2424746F9F, Title: "Intel Advanced Menu", Help: "Intel Advanced Menu Settings"
Guid Guid: 0F0B1735-87A0-4193-B266-538C38AF48CE, ExtendedOpCode: Class, Class: 0x2
Guid Guid: 0F0B1735-87A0-4193-B266-538C38AF48CE, ExtendedOpCode: SubClass, SubClass: 0x0
DefaultStore DefaultId: 0x0, Name: "Standard Default"
DefaultStore DefaultId: 0x1, Name: ""
VarStoreEfi Guid: 72C5E28C-7783-43A1-8767-FAD73FCCAFA4, VarStoreId: 0x2, Attributes: 0x7, Size: 0x28F, Name: "SaSetup"
VarStoreEfi Guid: 5432122D-D034-49D2-A6DE-65A829EB4C74, VarStoreId: 0x4, Attributes: 0x7, Size: 0x60, Name: "MeSetup"
VarStoreEfi Guid: B08F97FF-E6E8-4193-A997-5E9E9B0ADB32, VarStoreId: 0x3, Attributes: 0x7, Size: 0x2A0, Name: "CpuSetup"
VarStoreEfi Guid: 4570B7F1-ADE8-4943-8DC3-406472842384, VarStoreId: 0x5, Attributes: 0x7, Size: 0x7B2, Name: "PchSetup"
@codgician
codgician / openwrt-upgrade-builder.sh
Last active February 28, 2025 13:21
Personal script for building OpenWrt upgrade image with configurations included
#!/bin/sh
# OpenWrt image generation script
# This is only intended for dot build upgrades!
# Execute inside a new folder.
# Parameters: change to your configuration!
routerUser="root"
routerIp="192.168.0.1"
version="23.05.1"
baseUrl="https://downloads.immortalwrt.org/releases/${version}/targets/x86/64"
@codgician
codgician / 7080mff-setup-ifr.txt
Created January 12, 2023 16:06
Setup IFR of Dell 7080MFF
This file has been truncated, but you can view the full file.
FormSet GUID: 7B59104A-C00D-4158-87FF-F04D6396A915, Title: "Setup", Help: "Setup"
Guid Guid: 0F0B1735-87A0-4193-B266-538C38AF48CE, ExtendedOpCode: Class, Class: 1
Guid Guid: 0F0B1735-87A0-4193-B266-538C38AF48CE, ExtendedOpCode: SubClass, SubClass: 0
DefaultStore DefaultId: 0, Name: ""
DefaultStore DefaultId: 1, Name: ""
VarStore GUID: EC87D643-EBA4-4BB5-A1E5-3F3E36B20DA9, VarStoreId: 1, Size: 0xF3D, Name: "Setup"
VarStore GUID: 8BE4DF61-93CA-11D2-AA0D-00E098032B8C, VarStoreId: 2, Size: 0x2, Name: "PlatformLang"
VarStore GUID: 8BE4DF61-93CA-11D2-AA0D-00E098032B8C, VarStoreId: 3, Size: 0x2, Name: "PlatformLangCodes"
VarStore GUID: E770BB69-BCB4-4D04-9E97-23FF9456FEAC, VarStoreId: 4, Size: 0x1, Name: "SystemAccess"
VarStore GUID: 9CF0F18E-7C7D-49DE-B5AA-BBBAD6B21007, VarStoreId: 5, Size: 0x2, Name: "AMICallback"
@codgician
codgician / winget-server-2022.ps1
Last active April 4, 2022 14:37
A PowerShell script that installs winget for Windows Server 2022 x64 with Desktop Experience.
# This PowerShell script installs winget for Windows Server 2022 x64 with Desktop Experience
# Direct links are retrieved from store.rg-adguard.net
function Install-Package {
param (
[string]$PackageFamilyName
)
Write-Host "Querying latest $PackageFamilyName version and its dependencies..."
$response = Invoke-WebRequest `
@codgician
codgician / hw3_challenge_test.sml
Created April 27, 2021 08:49
Simple tests for Hw3 challenge problem (coursera/programming-languages)
(* Homework3 challenge problem simple test *)
(* Source of test cases: https://www.coursera.org/learn/programming-languages/supplement/FEymH/hints-and-gotchas-for-section-3 *)
use "hw3.sml";
val challenge_test1 = typecheck_patterns (
[],
[ConstP 10, Variable "a"]
) = SOME IntT
@codgician
codgician / monadic-parsing-example.hs
Last active March 16, 2021 16:43
An example of monadic parsing written in Haskell.
{-# LANGUAGE LambdaCase #-}
import Control.Applicative
import Data.Char
newtype Parser a = P { parse :: String -> [(a, String)] }
instance Functor Parser where
-- fmap :: (a -> b) -> Parser a -> Parser b
-- applies a function to the result value of the parser if
@codgician
codgician / calculator.hs
Created March 28, 2020 14:38
A naive calculator implemented in Haskell
-- Declare priority of operators
prior :: String -> Integer
prior "(" = 1
prior ")" = 1
prior "+" = 2
prior "-" = 2
prior "*" = 3
prior "/" = 3
prior _ = 0
@codgician
codgician / ga_tsp.cpp
Created May 22, 2019 14:39
Naive genetic algorithm code that solves the TSP Problem
#include <bits/stdc++.h>
using std::cin;
using std::cout;
using std::cerr;
using std::endl;
using std::vector;
/* Random Number Generator (time based) */
std::random_device rd;