Skip to content

Instantly share code, notes, and snippets.

View willwm's full-sized avatar

Will Wolff-Myren willwm

View GitHub Profile
@willwm
willwm / Reboot to UEFI from Ubuntu.md
Last active November 4, 2023 06:21
Reboot to UEFI from Ubuntu

Yes, you can reboot directly from Ubuntu into your computer's UEFI interface without holding down any keyboard buttons. Here's how you can do it:

  1. Open a terminal window.

  2. Type the following command and press Enter:

sudo systemctl reboot --firmware-setup

@milnak
milnak / garlic-os-tips.md
Last active November 15, 2024 11:25
My set of GarlicOS tips #rg35xx

Garlic OS Tips (Windows-based)

GarlicOS Cookbook

Follow these instructions for an easy way to get up and going quickly! These are complete instructions, and will be the easiest way to get started on a new RG35XX.

Set up SD Card

Get a high quality SD (e.g. SanDisk Extreme) card, 128GB or larger, 256GB is recommended. Don't skimp here, they're cheap, and don't use the card that comes with the RG35XX as it's crap.

@willwm
willwm / vial-qmk.md
Last active November 11, 2022 13:29
Vial QMK BrainDump
@willwm
willwm / sudo-touchid.md
Last active November 11, 2022 01:11
Use TouchID to Authenticate sudo

Source: https://it.digitaino.com/use-touchid-to-authenticate-sudo-on-macos/

  1. Run sudo micro /etc/pam.d/sudo
  2. Add auth sufficient pam_tid.so below auth sufficient pam_smartcard.so, so that the file looks like this:
# sudo: auth account password session
auth        sufficient      pam_smartcard.so
auth        sufficient      pam_tid.so
auth required pam_opendirectory.so
@Sam0230
Sam0230 / utm-arch-linux-installation-guide.md
Last active September 23, 2024 13:47
Installing Arch Linux ARM in a UTM virtual machine

Installing Arch Linux ARM in a UTM virtual machine

Steps:

  1. Create a new virtual machine.
  2. Go to System tab, change architecture to `ARM64 (aarch64)' and increase memory as needed.
  3. Download Alpine Linux LiveCD:
mirror=https://dl-cdn.alpinelinux.org/alpine
curl -o alpine-virt-latest-aarch64.iso "$mirror/latest-stable/releases/aarch64/$(curl "$mirror/latest-stable/releases/aarch64/latest-releases.yaml" | /usr/bin/grep -E 'file: alpine-virt-[0-9\.]+-aarch64\.iso' | head -n 1 | sed 's/ //g' | sed 's/\t//g' | sed 's/^file://')"
  1. Go to Drives tab, New Drive, set size to 20GiB or larger, then Inport Drive, choose the file you just downloaded.
@willwm
willwm / colors.scss
Last active April 26, 2021 21:52
Color Reference (RGB)
/* Common Lighting, by Color Temp */
$white-2850k: rgb(255,214,170);
$white-3250k: rgb(255,241,224);
/* Drop CTRL Teal→Salmon Colors */
/* https://github.com/willwm/layouts-ctrl */
$ctrl-teal: rgb(24,215,204);
$ctrl-salmon: rgb(255,114,118);
@davidteren
davidteren / nerd_fonts.md
Last active November 13, 2024 19:26
Install Nerd Fonts via Homebrew [updated & fixed]
@willwm
willwm / campbell.json
Last active November 15, 2024 12:09
Campbell Color Scheme
{
"name" : "Campbell",
"cursorColor": "#FFFFFF",
"selectionBackground": "#FFFFFF",
"background" : "#0C0C0C",
"foreground" : "#CCCCCC",
"black" : "#0C0C0C",
@willwm
willwm / preamble.tex
Last active January 23, 2022 02:06
preamble.tex: LaTeX Preamble Template (Will Wolff-Myren)
%% preamble.tex: LaTeX Preamble Template (Will Wolff-Myren) %%
\usepackage{amsmath, amsthm, amssymb, enumerate, setspace}
\usepackage{mathtools} % https://ctan.org/pkg/mathtools
\usepackage{fancyhdr} % Fancy header. ;-)
\usepackage{titlesec} % For chapter/section/subsection customizations
\usepackage{hyperref} % https://www.andy-roberts.net/writing/latex/pdfs
\usepackage{tcolorbox} % For references from the book
\usepackage{relsize} % For resizing fractions in displaymath
\usepackage{marvosym} % For the contradiction lightning bolt
# Get all enabled Windows Features, sorted by FeatureName
Get-WindowsOptionalFeature -Online | Where-Object State -eq "Enabled" | Sort-Object -Property "FeatureName" | Foreach { $_.FeatureName }