This file contains hidden or 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
| <# 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.
This file contains hidden or 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
| 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" |
This file contains hidden or 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
| #!/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" |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
| 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" |
This file contains hidden or 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
| # 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 ` |
This file contains hidden or 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
| (* 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 |
This file contains hidden or 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
| {-# 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 |
This file contains hidden or 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
| -- Declare priority of operators | |
| prior :: String -> Integer | |
| prior "(" = 1 | |
| prior ")" = 1 | |
| prior "+" = 2 | |
| prior "-" = 2 | |
| prior "*" = 3 | |
| prior "/" = 3 | |
| prior _ = 0 |
This file contains hidden or 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
| #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; |