Skip to content

Instantly share code, notes, and snippets.

View hammerill's full-sized avatar
😎
learns FPV

Hammerill hammerill

😎
learns FPV
View GitHub Profile
@hammerill
hammerill / livearea-specs.md
Last active June 22, 2026 14:07
Documentation how to make PS Vita happy with images for LiveArea. Resolves 0x8010113D error.
@hammerill
hammerill / arch-install.md
Last active January 21, 2026 10:12
Arch Linux installation cheatsheet for an experienced user. You clearly see there's a problem with a distro if it has to exist.

How to Install Arch Linux

Arch Linux installation cheatsheet for an experienced user. You clearly see there's a problem with a distro if it has to exist. But I love doing this.

Not all the steps are viably required, but that's a proper installation.

Won't take more than a hour even if you experience problems with understanding whether it's BIOS or UEFI.

Prerequisites (to Modify)

@hammerill
hammerill / ghostty-config.md
Last active November 19, 2025 09:15
Ghostty Config

Ghostty Config

Important

Add the export TERM=xterm-256color line to your RC file (like ~/.zshrc or ~/.bashrc) in order to avoid problems while connecting to a SSH server with Ghostty.

Linux

font-size = 12
@hammerill
hammerill / karabiner-numpad.md
Created March 1, 2025 21:32
Karabiner NumPad Simulation Config
{
    "description": "NumPad Simulation (change fn+8->num7,fn+9->num8,fn+0->num9,fn+i->num4,fn+o->num5,fn+p->num6,fn+k->num1,fn+l->num2,fn+;->num3,fn+.->num0)",
    "manipulators": [
        {
            "from": {
                "key_code": "8",
                "modifiers": {
                    "mandatory": ["fn"],
                    "optional": ["any"]
@hammerill
hammerill / macbook-name.md
Last active May 5, 2025 09:38
Change MacBook name

Change MacBook Name

NEW_NAME="pommier"

sudo scutil --set ComputerName "$NEW_NAME"
sudo scutil --set LocalHostName "$NEW_NAME"
sudo scutil --set HostName "$NEW_NAME"

Force Command+Number Shortcuts for Tabs in VS Code for macOS

Keyboard Shortcuts.

{ "key": "cmd+1","command": "workbench.action.openEditorAtIndex1" },
{ "key": "cmd+2","command": "workbench.action.openEditorAtIndex2" },
{ "key": "cmd+3","command": "workbench.action.openEditorAtIndex3" },
{ "key": "cmd+4","command": "workbench.action.openEditorAtIndex4" },
{ "key": "cmd+5","command": "workbench.action.openEditorAtIndex5" },
@hammerill
hammerill / vimrc.md
Last active June 3, 2026 09:51
Define Vim Config

Define Vim Config

VIMRC_PATH=/etc/vimrc # Adjust the path (differs in various distribs)

echo -e '\nset shiftwidth=4\nset smarttab\n\nsyntax on' | sudo tee -a "$VIMRC_PATH"

Arch Linux Printer

sudo pacman -S --needed cups system-config-printer
sudo systemctl enable cups --now

system-config-printer

Sunshine Lock Systemd Entry

/etc/systemd/user/sunshine-lock.service:

[Unit]
Description=Lock Screen When Sunshine Loaded
After=sunshine.service

[Service]

Unified Copy

Warning

Now it's suggested to install this CLI tool with this GitHub repo and not this Gist. I'll leave it here for archiving reasons.

Sometimes it's not easy to get things from a terminal to your system clipboard. If you're connected locally, it has to be a special tool which handles this (like wl-clipboard under Wayland) or something other when connected remotely.

This is a Shell executable which ultimately solves the problem by always reaching your local system clipboard: