Skip to content

Instantly share code, notes, and snippets.

View rpardini's full-sized avatar
😶‍🌫️
Lost

Ricardo Pardini rpardini

😶‍🌫️
Lost
View GitHub Profile
@timothyham
timothyham / ipv6guide.md
Last active February 27, 2025 09:05
A Short IPv6 Guide for Home IPv4 Admins

A Short IPv6 Guide for Home IPv4 Admins

This guide is for homelab admins who understand IPv4s well but find setting up IPv6 hard or annoying because things work differently. In some ways, managing an IPv6 network can be simpler than IPv4, one just needs to learn some new concepts and discard some old ones.

Let’s begin.

First of all, there are some concepts that one must unlearn from ipv4:

Concept 1

@htr3n
htr3n / macos-ramdisk.md
Last active January 31, 2025 13:03
Creating RAM disk in macOS

Built-in

diskutil erasevolume HFS+ 'RAM Disk' `hdiutil attach -nobrowse -nomount ram://XXXXX`

where XXXXX is the size of the RAM disk in terms of memory blocks.

Notes:

@smoser
smoser / .gitignore
Last active April 1, 2024 07:38
cloud-init ubuntu nocloud example with network config
*.img
*.raw
@schlarpc
schlarpc / gist:a327d4aa735f961555e02cbe45c11667
Last active November 18, 2024 20:03
USB Armory libcomposite init script (RNDIS and serial)
#!/bin/bash
set -euo pipefail
GADGET_NAME=usbarmory
LANGUAGE=0x409 # English
MANUFACTURER="Inverse Path"
PRODUCT="USB Armory"
HOST_ADDRESS="1a:55:89:a2:69:42"
@george-hawkins
george-hawkins / arm64.md
Last active December 5, 2024 08:41
Running virtualized x86_64 and emulated arm64 Ubuntu cloud images using QEMU

QEMU arm64 cloud server emulation

This is basically a rehash of an original post on CNXSoft - all credit (particularly for the Virtio device arguments used below) belongs to the author of that piece.

Download the latest uefi1.img image. E.g. ubuntu-16.04-server-cloudimg-arm64-uefi1.img from https://cloud-images.ubuntu.com/releases/16.04/release/

Download the UEFI firmware image QEMU_EFI.fd from https://releases.linaro.org/components/kernel/uefi-linaro/latest/release/qemu64/

Determine your current username and get your current ssh public key: