Skip to content

Instantly share code, notes, and snippets.

View davidrothera's full-sized avatar

David Rothera davidrothera

  • Dublin, Ireland
View GitHub Profile
@davidrothera
davidrothera / arch.md
Last active February 13, 2018 15:19
Installing Arch linux step-by-step

Install base system

The following steps will get you the basics of Arch running. It will install a fully encrypted root partition using LUKS on LVM and then boot into a GUI environment.

Format drive

fdisk /dev/sda

Create a GPT partition table and create 1 512M EFI partition and fill the rest with Linux Filesystem

@davidrothera
davidrothera / a2dp.md
Created February 17, 2018 19:59
Fix A2DP with Gnome/GDM

Issue

For some reason because GDM creates a pulseaudio session it ends up stealing the A2DP sink profile from the userland process.

Fix

Stop GDM pulse starting bluetooth discovery

  • Edit /etc/pulse/default.pa
# Comment out
load-module module-bluetooth-discover
@davidrothera
davidrothera / styles.less
Created May 23, 2018 13:50
Using Operator in Atom
atom-text-editor,
atom-workspace {
font-family: "Operator Mono for Powerline";
font-weight: 500;
line-height: 1.9;
}
atom-panel.tool-panel {
font-size: 0.88em;
}

Keybase proof

I hereby claim:

  • I am davidrothera on github.
  • I am davidrothera (https://keybase.io/davidrothera) on keybase.
  • I have a public key ASBerO2qUZQa2VlDf2SrhWhrEqRDABD7bQxDeAEV1M_nmQo

To claim this, I am signing this object:

@davidrothera
davidrothera / gpg_resign.sh
Created December 28, 2020 16:47 — forked from qdequele/gpg_resign.sh
Resign all my old commits with GPG key
#!/bin/sh
cd $1
git filter-branch --commit-filter '
if [ "$GIT_COMMITTER_EMAIL" = "your@email.com" ]
then
git commit-tree -S "$@";
fi