Skip to content

Instantly share code, notes, and snippets.

@roydq
roydq / 00-macbook8-1-omarchy.md
Created September 26, 2026 16:31
Omarchy on the 12" MacBook (MacBook8,1, 2015): internal keyboard/trackpad, sleep, speakers

Omarchy on the 12" MacBook (MacBook8,1, Early 2015)

This setup gets the internal keyboard, trackpad, sleep and speakers working on a 12" Retina MacBook (A1534, MacBook8,1) running Omarchy.

Tested on Omarchy 4.0.4 with kernel linux-omarchy 7.2.5-3, the Limine bootloader and a LUKS-encrypted disk (September 2026).

Check your model first: cat /sys/class/dmi/id/product_name should print MacBook8,1. Other 12" MacBooks (9,1 / 10,1) use different fixes.

You'll need an external USB keyboard for the installer and for the first boots, until part 1 is done.

@roydq
roydq / .tmux.conf
Created October 6, 2017 15:12
tmux
# Start with 1 not 0
set -g base-index 1
# Automatic window title
set-window-option -g automatic-rename on
set-option -g set-titles on
# Dunno
set -g status-keys vi
set -g history-limit 10000
@roydq
roydq / ubuntu_unattended_upgrades_gmail.markdown
Last active January 7, 2026 16:05 — forked from dwilkie/ubuntu_unattended_upgrades_gmail.markdown
Unattended upgrades on Ubuntu 14.04 with email notifications

Getting Started

Do yourself a favor and login as root to save yourself some time and headaches:

$ sudo su -

Install unattended-upgrades:

@roydq
roydq / application_controller.rb
Created January 4, 2013 04:45
ApplicationController test example
class ApplicationController < ActionController::Base
def something
'derp'
end
end