Skip to content

Instantly share code, notes, and snippets.

View koumaza's full-sized avatar
REPLACED THIS USER SUCCESSFULLY.

shanghai nyaa chan! koumaza

REPLACED THIS USER SUCCESSFULLY.
View GitHub Profile
@koumaza
koumaza / howto.md
Created October 10, 2020 16:53
Fix Julia Pkg Registry Clone Nerver END Issue

Windows

git clone https://github.com/JuliaRegistries/General.git ~\.julia\registries\General

or

git clone --depth=1 https://github.com/JuliaRegistries/General.git ~\.julia\registries\General
@koumaza
koumaza / readme.md
Created October 5, 2020 04:16
How to Fix GDM blackscreen

How to Fix GDM blackscreen

Bad Command

gdm

True Command

systemctl start gdm
@koumaza
koumaza / config.json
Created September 30, 2020 07:39
Experimental Configure `~/.docker/config.json`
{
"experimental": "enabled"
}
POST /upgrade_check/ HTTP/1.1
Connection: close
Content-Type: application/x-javascript
AppID: 3030005071
Model: SHARK KLE-A1
Timestamp: 1601349983884
Sign: 2eaefc88c3fd0f093cd277db41f3551d889b0bb6
Content-Length: 165
User-Agent: Dalvik/2.1.0 (Linux; U; Android 10; SHARK KLE-A0 MIUI/V11.0.4.0.JOYUI)
Host: ota-api.blackshark.com
@koumaza
koumaza / github_codespace_altpath.md
Last active September 26, 2020 08:16
How to Change Project Directory on GitHub Codespace

How to Change Project Directory on GitHub Codespace

At Terminal
code /path/to/dir/ # Absolute or Relative Directory
code ./ # Current Dirctory
E.g.

image

原神

Genshin Impact

How to Join at 9/15

The global version of the site has not been updated, but the CN version of the site has been updated.

The link to the installer is already released now!

How to Download

Download from: https://www.taptap.com/events/genshin-2020pc

git tag -d $(git tag | grep -E ^v.\*| head -n 999)
sed -E 's/:.*//' tmp |sed -E 's/".*pendencies"//'|tr -d '{}", '|tr '\n' ' '
@koumaza
koumaza / README.md
Last active September 10, 2020 07:04
curl -sL https://gist.github.com/koumaza/b50c4e0fc8b73df3c1d6d28ae87399e4/raw/ee7a9f61069d8fdb5a798f607a67d2856ce7b75c/initdeno.sh | bash
for n in `seq 1 100`; do echo -n \$\(\($n \% 2\)\);echo -e "\t"$(($n % 2)); done