Skip to content

Instantly share code, notes, and snippets.

View michaelnugent's full-sized avatar

Michael Nugent michaelnugent

  • Sr. Staff SRE, Shopify | Ex FB, eBay
  • Outside of NYC
View GitHub Profile
@iamacarpet
iamacarpet / 4.41.16.txt
Created November 26, 2021 21:43
Ubiquiti G3 Bullet / G3 Flex firmware for standalone mode
https://fw-download.ubnt.com/data/uvc/c50c-s2l-4.41.16-bcf8b0e1872741b780e45c3d4114f711.bin
@heppu
heppu / ARCH_INSTALL.MD
Last active May 1, 2025 18:13
Installing Arch with GPT, dm-crypt, LUKS, LVM and systemd-boot

Create bootable USB

dd bs=4M if=/path/to/archlinux.iso of=/dev/sdx status=progress oflag=sync

Boot from USB and set prepare system

loadkeys <your-keymap>
@MicahElliott
MicahElliott / colortrans.py
Created November 29, 2010 07:57
Convert values between RGB hex codes and xterm-256 color codes.
#! /usr/bin/env python
""" Convert values between RGB hex codes and xterm-256 color codes.
Nice long listing of all 256 colors and their codes. Useful for
developing console color themes, or even script output schemes.
Resources:
* http://en.wikipedia.org/wiki/8-bit_color
* http://en.wikipedia.org/wiki/ANSI_escape_code