Skip to content

Instantly share code, notes, and snippets.

View wrecklesswun's full-sized avatar

Randall Okwei wrecklesswun

View GitHub Profile
@ehsan18t
ehsan18t / processor-boost-mode.md
Last active December 9, 2025 20:18
Enable Processor Boost Mode Control in Advanced Power Settings

Enable Processor Boost Mode Control in Windows

Disable Turbo Boost to Reduce Power Consumption and Heat

Why Do We Need It?

If your laptop’s CPU is running very hot and you’ve tried to undervolt it, you’ve probably discovered there’s no easy way to do so—especially on laptops whose BIOS doesn’t expose those controls. I ran into the same issue with my Ryzen 7 5800H, despite numerous attempts, I couldn’t undervolt because the firmware simply wouldn’t allow it. While it may seem drastic, disabling Turbo Boost is one workaround—and you might be surprised how little real-world performance you lose by turning it off.

@FriedrichWeinmann
FriedrichWeinmann / DomainCryptographyScan.ps1
Last active October 24, 2024 16:27
Scans an Active Directory domain's and its principal's kerberos encryption configuration.
<#
.SYNOPSIS
Scans an Active Directory domain's and its principal's kerberos encryption configuration.
.DESCRIPTION
Scans an Active Directory domain's and its principal's kerberos encryption configuration.
It will generate all data via LDAP, and analyze the results for possible authentication issues.
It supports three ways to report:
- Print: Write analysis of results to screen
@00p513-dev
00p513-dev / commands.md
Last active December 3, 2025 10:56
Useful fastboot commands
Command Purpose
fastboot devices Lists attached devices, along with their serial number
fastboot oem unlock Unlocks bootloader on most phones
fastboot oem unlock UNLOCK_CODE Use this if you have an unlock code
fastboot flashing unlock May be needed on older devices and some weird mtk phones (Tecno ke5k needed this for some reason)
fastboot flash PARTITION_NAME PATH_TO_IMAGE Flashes the partition with the image file
--disable-verity --disable-verification Add to a vbmeta flash command to disable verified boot
fastboot erase PARTITION NAME Erases the partition USE WITH CAUTION
fastboot -w
@MrHallows
MrHallows / fastboot_help.md
Last active December 10, 2025 10:38
fastboot commands

Command:

$ fastboot help

Output:

usage: fastboot [OPTION...] COMMAND...

flashing:
@ashafer01
ashafer01 / ad_sudo_schema.ldif
Created February 9, 2019 00:09
Active Directory Schema for sudo ldap - tested working with AWS Directory Service - replace DC=EXAMPLE,DC=COM with your domain
dn: CN=SudoUser,CN=Schema,CN=Configuration,DC=EXAMPLE,DC=COM
changetype: add
objectCategory: CN=Attribute-Schema,CN=Schema,CN=Configuration,DC=EXAMPLE,DC=COM
objectClass: attributeSchema
objectClass: top
cn: SudoUser
attributeID: 1.3.6.1.4.1.15953.9.1.1
attributeSyntax: 2.5.5.12
isSingleValued: FALSE
lDAPDisplayName: sudoUser