Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
🎉 👻 💻 🕵️‍♂️

xgqfrms xgqfrms

💭
🎉 👻 💻 🕵️‍♂️
View GitHub Profile
@xgqfrms
xgqfrms / Promises A+ 规范, js 实现 Promise.md
Created March 7, 2023 09:14
Promises/A+ 规范, js 实现 Promise
View Promises A+ 规范, js 实现 Promise.md

Promises/A+ 规范, js 实现 Promise

// @ts-ignore

export {};
@xgqfrms
xgqfrms / js double not bitwise performance test.md
Last active February 25, 2023 16:24
js double not bitwise performance test
View js double not bitwise performance test.md

js double not bitwise performance test

test env

// Chrome DevTools
// Version 109.0.5414.119 (Official Build) (x86_64)
@xgqfrms
xgqfrms / gist multi files demo.md
Last active February 24, 2023 15:27
gist multi files demo
View gist multi files demo.md

gist multi files demo

add file

image

多个文件会通过 hash 值进行定位和区分 file-???-type

@xgqfrms
xgqfrms / GitHub Actions Status & workflows SVG badge.md
Created February 9, 2023 03:50
GitHub Actions Status & workflows SVG badge
View GitHub Actions Status & workflows SVG badge.md

GitHub Actions Status & workflows SVG badge

After actual verification, I came up with the following solutions

solution 1: you can use the name of your workflow .yml file.

https://github.com/{username}/{repository}/workflows/{your_`.yml`_file_name}/badge.svg
@xgqfrms
xgqfrms / How to register ChatGPT account and use ChatGPT service in China All In One.md
Created February 3, 2023 08:54
How to register ChatGPT account and use ChatGPT service in China All In One
View How to register ChatGPT account and use ChatGPT service in China All In One.md

How to register ChatGPT account and use ChatGPT service in China All In One

在中国如何注册 ChatGPT 账号和使用 ChatGPT 服务 All In One

🇨🇳 errors

OpenAI's services are not available in your country.

@xgqfrms
xgqfrms / 一年有多少个周.md
Created January 31, 2023 08:48
一年有多少个周
View 一年有多少个周.md
@xgqfrms
xgqfrms / TypeScript Generic & Arrow Function All In One.md
Created January 28, 2023 16:57
TypeScript Generic & Arrow Function All In One
View TypeScript Generic & Arrow Function All In One.md