Skip to content

Instantly share code, notes, and snippets.

View hammerill's full-sized avatar
🚘
learns to drive

Kirill hammerill

🚘
learns to drive
View GitHub Profile
@hammerill
hammerill / livearea-specs.md
Last active November 29, 2024 21:32
Documentation how to make PS Vita happy with images for LiveArea. Resolves 0x8010113D error.
@hammerill
hammerill / arch-install.md
Last active May 5, 2025 18:21
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)

Ghostty Config

Important

Add export TERM=xterm-256color to your RC file 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 April 8, 2025 12:24
Define global Vim config.

Define "/etc/vimrc" Config

VIMRC_PATH=/etc/vimrc

echo -e '\nset number\nset relativenumber\n\nset shiftwidth=4\nset smarttab\n\nsyntax on' | sudo tee -a "$VIMRC_PATH"
@hammerill
hammerill / arch-pandoc.md
Created April 7, 2025 09:08
Install minimal dependencies in Arch Linux to get Pandoc MD -> PDF conversion working.

Arch Linux Install Pandoc MD -> PDF Convertor

sudo pacman -S --needed pandoc texlive-latexrecommended texlive-fontsrecommended

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]