Skip to content

Instantly share code, notes, and snippets.

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

Conway yawnoc

🌧️
# 只有淡忘 從前話說要如何 #
View GitHub Profile
@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 / fcitx-5.md
Last active November 3, 2023 15:46
Fcitx 5
@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 / 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 / 4-tones.md
Last active January 2, 2022 09:57
Classical Chinese tone markers font test page

Classical Chinese tone markers font test page

四聲 (from 'CJK Symbols and Punctuation' block)

Code point Reference image Your browser Name
U+302A ![Level] 平〪 IDEOGRAPHIC LEVEL TONE MARK
U+302B ![Rising] 上〫 IDEOGRAPHIC RISING TONE MARK
U+302C ![Departing] 去〬 IDEOGRAPHIC DEPARTING TONE MARK
@yawnoc
yawnoc / debian-bullseye-np50hj.md
Last active December 23, 2021 10:11
Installing Debian Bullseye on a Metabox Alpha-S NP50HJ

Installing Debian Bullseye on a Metabox Alpha-S NP50HJ

  • CPU: 11th Gen Intel® 8 Core™ i7-11800H
  • GPU: NVIDIA GeForce RTX 3050
  • Wireless: Intel AX201 Dual Band WIFI/BTv5.1

Get CD image (11.1.0 non-free)

  1. Download checksum and signature files:
@yawnoc
yawnoc / cns.md
Last active August 29, 2021 07:21
CNS stroke data
@yawnoc
yawnoc / licensee.md
Created May 8, 2021 08:21
Installing Licensee (Ruby Gem) on Debian

Installing Licensee (Ruby Gem) on Debian

  1. Add ~/.gem/ruby/2.5.0/bin to path

  2. Install dependencies:

    $ sudo apt install ruby2.5-dev
    $ sudo apt install zlib1g-dev cmake pkg-config
@yawnoc
yawnoc / tumbling-polygon.wl
Created January 21, 2021 16:23
Animating a tumbling polygon
(* ::Package:: *)
(* ::Title:: *)
(*Animating a tumbling polygon*)
(*
See <https://mathematica.stackexchange.com/a/237847>.
Licensed under MIT No Attribution (MIT-0),
see <https://spdx.org/licenses/MIT-0.html>.