This post has migrated to:
https://superjamie.github.io/2014/09/21/the-8-byte-two-step-redux
This post has migrated to:
https://superjamie.github.io/2014/09/21/the-8-byte-two-step-redux
This post has migrated to:
https://superjamie.github.io/2014/10/31/running-a-python-script-only-if-its-not-already-running
This is a quick-and-dirty guide to setting up a Raspberry Pi as a "router on a stick" to PrivateInternetAccess VPN.
Install Raspbian Jessie (2016-05-27-raspbian-jessie.img
) to your Pi's sdcard.
Use the Raspberry Pi Configuration tool or sudo raspi-config
to:
Branch A has commits (X,Y) that also need to be in Branch B. The cherry-pick operations should be done in the same chronological order that the commits appear in Branch A.
cherry-pick
does support a range of commits, but if you have merge commits in that range, it gets really complicated
git checkout branch-B
git cherry-pick X
git cherry-pick Y
This post has migrated to:
https://superjamie.github.io/2020/01/14/delay-loop-in-6502-assembly
This page has migrated to:
https://superjamie.github.io/2016/04/28/reversing-for-dummies
# https://help.ubuntu.com/community/Logitech_Marblemouse_USB | |
# https://wiki.archlinux.org/index.php/Logitech_Marble_Mouse | |
# | |
# Xorg Functions | |
# 1 = Left Click | |
# 2 = Middle Click | |
# 3 = Right Click | |
# 4 = Mouse Cursor Down | |
# 5 = Mouse Cursor Up | |
# 6 = Mouse Cursor Left |
My work requires us to have full-disk encryption, so these are the steps I use.
The basic idea is to create a LUKS-encrypted partition which is used as an LVM Physical Volume.
The GRUB boot partition isn't encrypted, but everything else is.
These steps tested and working on 22.04 (jammy) and 20.04 (focal).
I got one of these cheap keyboards for a laugh:
It's a 61-key keyboard with some Fn function keys like a laptop.
They come with a manual which explains most of the operation but not all.
This post has migrated to:
https://superjamie.github.io/2022/01/24/raspberry-pi-os-raspbian-bash-ps1-prompt-explained