Skip to content

Instantly share code, notes, and snippets.

View yawnoc's full-sized avatar
🌧️
# 只有淡忘 從前話說要如何 #

Conway yawnoc

🌧️
# 只有淡忘 從前話說要如何 #
View GitHub Profile
@yawnoc
yawnoc / equations-test.md
Last active June 12, 2022 05:00
GitHub markdown equations test

GitHub markdown equations test

If a list item contains multi-line display maths followed by inline maths, the display maths will not get rendered:

One-liner display maths (OK)

  • Let

$$E = mc^2,$$

@yawnoc
yawnoc / test-2023-10-15.md
Last active October 15, 2023 03:55
Test 2023-10-15

Test 2023-10-15

Install Tow-Boot onto Pinebook Pro SPI

  1. Get binaries:

    $ wget https://github.com/Tow-Boot/Tow-Boot/releases/download/release-2022.07-006/pine64-pinebookPro-2022.07-006.tar.xz
    
    

$ sha256sum pine64-pinebookPro-2022.07-006.tar.xz

@yawnoc
yawnoc / fcitx-5.md
Last active November 3, 2023 15:46
Fcitx 5
@yawnoc
yawnoc / android-studio-giraffe-debian.md
Last active November 11, 2023 07:39
Android Studio Giraffe on Debian: files that must be made executable

Android Studio Giraffe on Debian: files that must be made executable

Required

Error message Fix by making this file executable
bash: /path/to/bin/studio.sh: Permission denied bin/studio.sh
Cannot start Android Studio
No JRE found. Please make sure $STUDIO_JDK, $JDK_HOME, or $JAVA_HOME point to valid JRE installation.
jbr/bin/java
Invalid Temp Directory The IDE cannot execute a test script in the directory. Possible reason: the partition is mounted with 'no exec' option. If you have modified the 'idea.system.path' property, please make sure it is correct, otherwise, please re-install the IDE. Location: ~/.cache/Google/AndroidStudio2022.3/tmp java.io.IOException: Cannot run program "~/.cache/Google/AndroidStudio2022.3/tmp/ij1812374487.tmp": error=13, Permission denied jbr/lib/jspawnhelper
@yawnoc
yawnoc / pinebook-pro-armbian.md
Last active April 29, 2024 15:05
Rescuing my Pinebook Pro using Armbian

pinebook-pro-armbian

Rescuing a Pinebook Pro (January 2020 dispatch), which has the stock mrfixit2001 Debian (stretch) on the eMMC, plus Tow-Boot on the SPI, but which fails to boot the official Debian image made from zcat firmware.pinebook-pro-rk3399.img.gz partition.img.gz.

1. Download