Skip to content

Instantly share code, notes, and snippets.

View mightyjoe781's full-sized avatar
💭
noli timere

smk mightyjoe781

💭
noli timere
View GitHub Profile
@mateuszkwiatkowski
mateuszkwiatkowski / vscode-remote-ssh-freebsd.md
Last active August 28, 2024 03:10
Configure FreeBSD to work with VScode's remote ssh extension

This procedure was tested on FreeBSD-CURRENT build from d8819d88af52.

  1. Enable linuxulator and install linux userland:
    # sysrc linux_enable="YES"
    # service linux start
    # pkg install linux_base-c7
    
#/bin/sh
# download from https://dl-cdn.alpinelinux.org/alpine/edge/releases/x86_64/netboot/
qemu-system-x86_64 \
-m 512 \
-kernel ~/Downloads/alpine-edge-x86_64/vmlinuz-lts \
-initrd ~/Downloads/alpine-edge-x86_64/initramfs-lts \
-append "console=ttyS0 ip=dhcp alpine_repo=http://dl-cdn.alpinelinux.org/alpine/edge/main/" \
-nographic
@ctsrc
ctsrc / README.md
Last active September 11, 2024 19:51 — forked from niw/README.en.md
Guide: Run FreeBSD 13.1-RELEASE for ARM64 in QEMU on Apple Silicon Mac (MacBook Pro M1, etc) with HVF acceleration (Hypervisor.framework)
@jryio
jryio / Prepend YAML Front Matter to Markdown Files
Last active July 12, 2023 12:06
Adding YAML front matter to markdown files (title)
# For each result of find call our script to run on the filename
$ find . -name "*.md" -print0 | xargs -0 -I file ./prepend.sh file
@xero
xero / irc.md
Last active October 29, 2024 15:25
irc cheat sheet