Skip to content

Instantly share code, notes, and snippets.

@bilenkonito
bilenkonito / README.md
Created April 26, 2024 18:49 — forked from acidicoala/README.md
Generic Unlocker Installation Instructions

ℹ Introduction

This document aims to provide comprehensive installation instructions for various unlockers that I have released. These unlockers share the same installation procedure and caveats, hence the detailed instructions are listed here to avoid repetition. These instructions apply to the following unlockers:

The following steps assume a 64-bit game. If you are interested in a 32-bit game, then repeat the same steps with 32-bit versions of the binaries instead. 64-bit binaries have 64 in their name, while 32-bit binaries have 32 in their name. If a binary name is missing both 32 and 64, then it's probably a 32-bit binary.

@lijikun
lijikun / dkms-kmod-auto-mok-signing.md
Last active April 26, 2024 18:50
Automatic Signing of DKMS-Generated Kernel Modules for Secure Boot

Automatic Signing of DKMS-Generated Kernel Modules for Secure Boot (Nvidia Driver on CentOS 8 as Example)

First I thank Nvidia for sponsoring the video card.

Secure Boot isn't exactly easy to configure to work with Linux and disabling it isn't really a good idea. Many modern Linux distributions provide the Microsoft-signed shim EFI binary to interpose between Secure Boot and the grub2 bootloader, making booting Linux easy enough if you only ever use kernels and drivers from the official repos. Still, enabling Secure Boot prevents the loading of kernel or modules without a proper digital signature. For example, the propriatary Nvidia GPU driver won't work, unless your distro really went to great lengths to distribute a signed version of the kernel module.

To make Secure Boot play nicely with the driver (i.e. to work at all), we can generate and import a Machine Owner Key (MOK)

@acidicoala
acidicoala / README.md
Last active April 26, 2024 18:49
Generic Unlocker Installation Instructions

ℹ Introduction

This document aims to provide comprehensive installation instructions for various unlockers that I have released. These unlockers share the same installation procedure and caveats, hence the detailed instructions are listed here to avoid repetition. These instructions apply to the following unlockers:

The following steps assume a 64-bit game. If you are interested in a 32-bit game, then repeat the same steps with 32-bit versions of the binaries instead. 64-bit binaries have 64 in their name, while 32-bit binaries have 32 in their name. If a binary name is missing both 32 and 64, then it's probably a 32-bit binary.

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active April 26, 2024 18:51
Complete Recent Discord Quest

Complete Recent Discord Quest

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory
  2. Join a vc
  3. Stream any window (can be notepad or something)
  4. Press Ctrl+Shift+I to open DevTools
  5. Go to the Console tab
  6. Paste the following code and hit enter:
let wpRequire;
@bakavets
bakavets / kubernetes-certifications.md
Last active April 26, 2024 18:47
How I passed Kubernetes KCNA, CKAD, CKA, and CKS exams. My experience. Exam tips and tricks.
@Sh4yy
Sh4yy / clx.go
Created April 25, 2024 20:39
Generate CLI commands for common tasks.
package main
import (
"context"
"errors"
"fmt"
"io"
"log"
"os"
"runtime"
@renzocastro
renzocastro / Calculadora.rb
Created February 19, 2010 02:43
Ruby: Calculadora Example
class Calculadora
def Calculadora.sumar(n,m)
n+m
end
def Calculadora.restar(n,m)
n-m
end
def Calculadora.multiplicar(n,m)
n*m
end