Skip to content

Instantly share code, notes, and snippets.

View sjustesen's full-sized avatar

Simon Justesen sjustesen

View GitHub Profile
Description=Disable CPU boost at boot
# After networking because we need that
ExecStart=/bin/bash -c "echo 0 | tee /sys/devices/system/cpu/cpufreq/boost"
sjustesen / 2panes1split.kdl
Created November 4, 2023 11:57
Simple Zellij layout example
layout {
pane split_direction="vertical" {
pane cwd="" command="nvim" size="70%"
pane split_direction="horizontal" size="30%" {
pane size=1 borderless=true {
plugin location="zellij:compact-bar"
sjustesen / config.kdl
Created October 30, 2023 08:44
My Zellij config
// If you'd like to override the default keybindings completely, be sure to change "keybinds" to "keybinds clear-defaults=true"
keybinds {
normal {
// uncomment this and adjust key if using copy_on_select=false
// bind "Alt c" { Copy; }
locked {
bind "Ctrl g" { SwitchToMode "Normal"; }
resize {
sjustesen / gist:f0b36e1f921313d8b0729115bddc4a64
Last active October 29, 2023 12:41
My Alacritty config
live_config_reload: true
opacity: 0.9
columns: 120
lines: 30
size: 13
sjustesen / gist:64400bc70659b016a34ed1b0a404dc5c
Created April 4, 2023 09:53
Osmosis (OpenStreetMap tool) - Extract amenities from pbf
osmosis --read-pbf <filename>.pbf --tf accept-nodes amenity=*
--tf reject-ways --tf reject-relations --write-xml <filename>.xml
sjustesen / gist:642cd649d26a80b6a61f263010b0c03d
Last active January 30, 2021 13:29
Breathe life into your old Mac, install Linux
This is a write-up from different sources
Get the "Facetime Camera" working
Remove "Failed to set MokListRT" on boot.
then, as mentioned in the comments