Skip to content

Instantly share code, notes, and snippets.

View Raymo111's full-sized avatar

Raymond Li Raymo111

View GitHub Profile
@Raymo111
Raymo111 / Std Alphabet.md
Last active December 27, 2024 07:35
Standardized English Alphabet

aee ("a-ee", "a" like in "aha")

bee

cee ("c" pronounced like "ts" in "its")

dee

eee ("æ-ee", æ like the "e" in "bed")

@Raymo111
Raymo111 / Bash.md
Last active November 26, 2020 06:19
Cheetsheets for everything programming/software related
@Raymo111
Raymo111 / MSI Bravo A4DDR Arch Install.md
Last active July 20, 2025 10:03
How to install Arch Linux on an MSI Bravo A4DDR

How to Install Arch Linux on an MSI Bravo A4DDR

By Raymo111

Last updated 29 July 2021

Disclaimer: I have personally tested every step of this. However, I'm not responsible for anything you do.

There's a Reddit thread for this laptop.

Pre-install

  1. Setup Windows.
@renjieliu
renjieliu / Migrate Termux setup from Device A to Device B.md
Last active October 4, 2025 11:25
Migrate Termux setup from Device A to Device B

Follow below steps to migrate the setup of Termux from Device A to Device B

Step 0. To get the MicroSD card ID

For termux, ~/storage folder contains a bunch of the soft links

external-n is the one pointing to the MicroSD card or the OTG USB Drive, using realpath ~/storage/external-1, can get the physical path on the MicroSD card. The XXXX-YYYY part is the MicroSD card UUID

Other links, such as dcim, movies, music, they are pointing to the folders on the phone internal storage, using realpath ~/storage/dcim can find the physical location of the folder

@Raymo111
Raymo111 / csamarkup2tikz.py
Created December 2, 2021 22:56
Python script to convert CSAcademy Graph Editor Markup to TikZ
import json
before = """\\begin{center}
\\begin{tikzpicture}[every node/.style={draw,circle,minimum size=25pt}]
\\begin{scope}[yscale=-1]
\\draw[thick]"""
after = """;
\\end{scope}
\\end{tikzpicture}
\\end{center}"""
@Raymo111
Raymo111 / Dark Reader pdf light mode.js
Created January 17, 2022 03:55
PDFium light mode for Dark Reader
let eee = "#eeeeee"
let sr = document.querySelector("#viewer").shadowRoot.querySelector("#toolbar").shadowRoot
sr.querySelector("#toolbar").style.backgroundColor = "lightgray"
sr.querySelector("#toolbar").style.color = "black"
let ce = sr.querySelector("#center").firstElementChild.shadowRoot
ce.querySelector("#pageselector").style.backgroundColor = eee
ce.querySelector("#pageselector").style.color = "black"
ce.querySelector("#divider").style.color = "black"
ce.querySelector("#pagelength").style.color = "black"
sr.querySelector("[aria-label='Zoom level']").style.backgroundColor = eee