Skip to content

Instantly share code, notes, and snippets.

@alwynpan
alwynpan / aws-replace-ssh-with-session-manager.md
Last active February 17, 2022 09:02
[AWS] Replace SSH with Session Manager

Replace SSH with Session Manager

Create a KMS key for Session Manager

  1. Sign in to the AWS Management Console and open the AWS Key Management Service (AWS KMS) console at https://console.aws.amazon.com/kms.
  2. To change the AWS Region, use the Region selector in the upper-right corner of the page.
  3. In the navigation pane, choose Customer managed keys.
  4. Choose Create key.
  5. Create a symmetric KMS key by choosing Symmetric in Key type.
  6. Click Next.
@alwynpan
alwynpan / 11-seven.md
Last active May 23, 2023 11:12
Mock location on LineageOS 16/17 with GPS Joystick

Mock location on LineageOS 16/17 with GPS Joystick

Prerequisite

  • A computer (tested on Windows 10, but I don't see any reason it won't work with macOS or Linux).

  • A LineageOS 16/17 compatible phone (LineageOS 16 is recommended, some users reported random crash on LineageOS 17).

  • Download the minimal ADB from XDA Developers Forum and unzip it.