Skip to content

Instantly share code, notes, and snippets.

@rvrsh3ll
rvrsh3ll / windows-keys.md
Created February 18, 2024 22:44
Windows Product Keys

NOTE

These are NOT product / license keys that are valid for Windows activation.
These keys only select the edition of Windows to install during setup, but they do not activate or license the installation.

Index

@semenko
semenko / generate-xbox-ntfs-offline-update.sh
Created June 12, 2022 01:22
Generate NTFS image for Xbox OSU updater
#!/bin/bash
set -x
# By Nick Semenkovich https://nick.semenkovich.com
#
# Largely derived from:
# https://gist.github.com/kumbasar/49906cb704ce9213c972a3e008c74c0c
# I found myself needing to update an Xbox S via USB (with the Offline System Update OSU1 patch)
# See: https://support.xbox.com/en-US/help/hardware-network/console/system-update-solution/offline-system-update

Install Wifi Drivers on Ubuntu 20.04 with Ubuntu Kernel 5.13

If wifi drivers are not installed during 1st boot up, it's likely that graphics and wifi drivers are not installed when you start your pc for the 1st time. First attach your pc with internet through ethernet cable in order to access internet during package installation. Do the following:

sudo apt install net-tools
ifconfig

It will show something like this:

arghya@arghya-Pulse-GL66-12UEK:~$ ifconfig
enp5s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
@pich4ya
pich4ya / magisk.txt
Last active October 11, 2024 00:49
Unlock bootloader / install TWRP / *root* with Magisk / install Magisk Manager on Google Pixel 1 using MacOS
@author LongCat (Pichaya Morimoto)
-- Unlock bootloader
Note: this will unlock bootloader & perform factory reset.
1. Prepare the device
Remove all screen unlock methods.
Enable Developer Mode: Settings > About phone > tap seven times on "Build number"
Enable USB Debgging: Settings > Developer options > Select "USB debugging"
Enable OEM Unlock: Settings > Developer options > Select "OEM unlocking"
Assuming the username of the Ubuntu user is "ubuntu".
Preparation
-----------
```
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install mysql-server libmysqlclient-dev