Skip to content

Instantly share code, notes, and snippets.

View sudo-adduser-jordan's full-sized avatar
🇺🇸

jordan sudo-adduser-jordan

🇺🇸
View GitHub Profile
@FlyinPancake
FlyinPancake / get-ghostty-themes.sh
Created November 2, 2025 17:09
Download and install all ghostty themes from mbadolato/iTerm2-Color-Schemes
#!/bin/bash
mkdir -p ~/.config/ghostty/themes && \
tmpdir=$(mktemp -d) && \
git clone --depth 1 --filter=blob:none --sparse https://github.com/mbadolato/iTerm2-Color-Schemes.git "$tmpdir" && \
cd "$tmpdir" && \
git sparse-checkout set ghostty && \
rsync -a ghostty/ ~/.config/ghostty/themes/ && \
cd ~
rm -rf "$tmpdir"
@pmarreck
pmarreck / hendricks_formatter.ex
Created July 25, 2023 14:02
An Elixir formatting module for `mix format` that converts leading spaces to tabs.
defmodule HendricksFormatter do
@moduledoc """
This module is a formatter plugin for Elixir's `mix format` task
that converts leading whitespace to tabs.
It tries to intelligently determine the tab width based on the most common
counts of leading space runs in the file.
It allows additional space characters for minor adjustments that are below the tab width.
OK, why tabs? Why resurrect this age-old nerd debate again?
Very simple: It's an accessibility issue:
https://adamtuttle.codes/blog/2021/tabs-vs-spaces-its-an-accessibility-issue/
@hishma
hishma / 256-char
Created April 8, 2014 16:39
256 Character String
THIS STRING IS 256 CHARACTERS xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx