Skip to content

Instantly share code, notes, and snippets.

@Siss3l
Siss3l / thm24.md
Last active January 1, 2025 20:33
TryHackMe Advent of Cyber 2024 SideQuests

TryHackMe - Advent of Cyber 2024 Side Quests

In addition to the Advent of Cyber 2024 room, we have an annex Side Quest task.

Side

Description

Five tasks need to be completed to finish the side quests.
The keycards to the machines will be scattered around the main Advent of Cyber 2024 room, hidden in some of the core event challenges.

An guide how to activate Windows 11 Pro for free

Why?

Because you will get some more features like an Bitlocker and host your device as an External Desktop which can be accessed through the internet

Am i also able to switch from any other edition to Pro?

The answer is yes! You can switch from almost any edition to Pro completely for free!

Note for users with unactivated Pro edition

People which already have Pro, but not activated, can skip to this step.

Getting started

What you first need to do is open CMD (Command Prompt) as Administrator using this keyboard key:

@aminalhazwani
aminalhazwani / send-books-from-calibre-to-kindle.md
Last active January 1, 2025 20:31
Send books from Calibre.app to Kindle Paperwhite and Kindle apps

Send books from Calibre.app to Kindle Paperwhite and Kindle apps

Create GMX email account

  1. Create an email account on www.gmx.com
  2. Open "Settings" and check "Enable access to this account via POP3 and IMAP"

Add GMX email to Calibre.app Preferences

  1. Open "Preferences"
@ehsan18t
ehsan18t / processor-boost-mode.md
Last active January 1, 2025 20:30
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?

The thing is if your laptop cpu is getting really hot and you are trying to undervolt it then chances are 99% that there are no method to do so. I have also tried to do undervolt my Ryzen 7 5800H but no luck. Because the bios doesn't allow that much control over the cpu. I don't know the specific reasons for the manufactures to restrict such a great thing. But with this you can disable the Turbo Boost. While this might sounds stupid but trust me you won't see a massive difference in performance after turned it off.

When You should Do It?

_ _ _ ____ _ _
| | | | __ _ ___| | __ | __ ) __ _ ___| | _| |
| |_| |/ _` |/ __| |/ / | _ \ / _` |/ __| |/ / |
| _ | (_| | (__| < | |_) | (_| | (__| <|_|
|_| |_|\__,_|\___|_|\_\ |____/ \__,_|\___|_|\_(_)
A DIY Guide
@TheRayTracer
TheRayTracer / bitcoin_bip_0039.py
Created April 7, 2018 21:22
Custom implementation of BIP 39.
import sys
import binascii
import hashlib
import random
import hmac
import pbkdf2
PBKDF2_ROUNDS = 2048
# Custom implementation of BIP 39: https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki
@fnky
fnky / ANSI.md
Last active January 1, 2025 20:25
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@ongrid
ongrid / bip44_generator.py
Last active January 1, 2025 20:23
BIP-44 mnemonic generator
# This snippet generates BIP-39 mnemonic (seed phrase)
# then derives 10 Ethereum private keys from it (with their addresses)
# The same algorithm and paths are used in Metamask, Trust Wallet, Ganache, hardhat
# and other popular wallets and tools.
from bip44 import Wallet
from bip44.utils import get_eth_addr
from mnemonic import Mnemonic
mnemo = Mnemonic("english")
words = mnemo.generate()
@andyyou
andyyou / gist:3052671
Created July 5, 2012 09:46
C# Controls abbreviation
btn Button chk CheckBox ckl CheckedListBox
cmb ComboBox dtp DateTimePicker lbl Label
llb LinkLabel lst ListBox lvw ListView
mtx MaskedTextBox cdr MonthCalendar icn NotifyIcon
nud NumeircUpDown pic PictureBox prg ProgressBar
rdo RadioButton rtx RichTextBox txt TextBox
tip ToolTip tvw TreeView wbs WebBrowser
容器
flp FlowLayoutPanel grp GroupBox pnl Panel
@richard512
richard512 / js-packer-unpacker.htm
Created April 7, 2017 09:08
JavaScript Packer UnPacker
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>UnPacker</title>
</head>
<style> textarea {width: 100%} </style>
<body>