Skip to content

Instantly share code, notes, and snippets.

View jdearly's full-sized avatar
🏠
Working from home

Joshua Early jdearly

🏠
Working from home
View GitHub Profile
@jdearly
jdearly / arch_linux_installation_guide.md
Created June 25, 2024 11:28 — forked from mjkstra/arch_linux_installation_guide.md
A modern, updated installation guide for Arch Linux with BTRFS on an UEFI system
@jdearly
jdearly / install_go.sh
Last active October 14, 2023 23:55
Install latest go version
#!/bin/bash
# modify the architecture for different systems (linux: linux-amd64, Pi: linux-arm64, mac: darwin-arm64)
GOLANG="$(curl -s https://go.dev/dl/ | grep -o 'go[0-9\.]*\.linux-amd64.tar.gz' | head -n 1)"
wget https://go.dev/dl/$GOLANG
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf $GOLANG
rm $GOLANG
unset GOLANG
@jdearly
jdearly / vim-keymap.js
Last active February 1, 2022 02:52
Vim Keymap for CodeMirror instances
// ==UserScript==
// @name Vim keymap for CodeMirror
// @version 0.1
// @author Josh Early
// @description Enables Vim keymap for CodeMirror instances
// @namespace https://gist.github.com/jdearly/5960f20e0e5f76682b39e374d3f700f5/raw/9aa0694f714ff31652183c3c8d3a5ca6569c167e/vim-keymap.js
// @updateURL https://gist.github.com/jdearly/5960f20e0e5f76682b39e374d3f700f5/raw/9aa0694f714ff31652183c3c8d3a5ca6569c167e/vim-keymap.js
// @downloadURL https://gist.github.com/jdearly/5960f20e0e5f76682b39e374d3f700f5/raw/9aa0694f714ff31652183c3c8d3a5ca6569c167e/vim-keymap.js
// @supportURL https://gist.github.com/jdearly/5960f20e0e5f76682b39e374d3f700f5
// @include https://*.servicenowservices.com/*
@jdearly
jdearly / gist:55fe2afd4ce95be187d971ffd0ad57e2
Created May 27, 2020 23:36
list all manually installed packages
comm -23 <(apt-mark showmanual | sort -u) <(gzip -dc /var/log/installer/initial-status.gz | sed -n 's/^Package: //p' | sort -u)