Skip to content

Instantly share code, notes, and snippets.

View wtdcode's full-sized avatar
👀
Work harder

lazymio wtdcode

👀
Work harder
View GitHub Profile
@wtdcode
wtdcode / Download a Windows 10 ISO.md
Created July 27, 2023 12:09 — forked from ezracb/Download a Windows 10 ISO.md
Download a Windows 10 ISO directly from Microsoft (without the media creation tool)
@wtdcode
wtdcode / Self-Signed SSL with SAN.md
Created November 24, 2022 22:02 — forked from KeithYeh/Self-Signed SSL with SAN.md
Create self-signed SSL certificate with SubjectAltName(SAN)

How to create a self-signed SSL Certificate with SubjectAltName(SAN)

After Chrome 58, self-signed certificate without SAN is not valid anymore.

Step 1: Generate a Private Key

openssl genrsa -des3 -out example.com.key 2048

Step 2: Generate a CSR (Certificate Signing Request)

@wtdcode
wtdcode / README.md
Created March 16, 2022 15:23 — forked from oznu/README.md
QEMU + Ubuntu ARM aarch64

QEMU + Ubuntu ARM aarch64

These are the steps I used to get Ubuntu ARM aarch64 running with QEMU on OSX.

Get Ubuntu Image and QEMU EFI:

wget https://cloud-images.ubuntu.com/releases/16.04/release/ubuntu-16.04-server-cloudimg-arm64-uefi1.img
wget https://releases.linaro.org/components/kernel/uefi-linaro/latest/release/qemu64/QEMU_EFI.fd
@wtdcode
wtdcode / UB18-Qemu-AARCH64.md
Created March 16, 2022 15:23 — forked from itzurabhi/UB18-Qemu-AARCH64.md
Run Ubuntu 18.04 on Qemu AARCH64 / ARM64

Install the dependecies

sudo apt install qemu-system-arm qemu-system-mips qemu-efi-aarch64 qemu-kvm qemu-efi cloud-image-utils

Prepare the EFI partition

dd if=/dev/zero of=flash0.img bs=1M count=64
dd if=/usr/share/qemu-efi/QEMU_EFI.fd of=flash0.img conv=notrunc