This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TypeScript 6 hrs 37 mins █████████▏░░░░░░░░░░░ 43.8% | |
JavaScript 2 hrs 37 mins ███▋░░░░░░░░░░░░░░░░░ 17.3% | |
YAML 1 hr 20 mins █▊░░░░░░░░░░░░░░░░░░░ 8.8% | |
Vue.js 53 mins █▏░░░░░░░░░░░░░░░░░░░ 5.9% | |
JSON 48 mins █░░░░░░░░░░░░░░░░░░░░ 5.3% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = wuxh | |
email = wxh1220@gmail.com | |
signingkey = wuxh | |
[core] | |
excludesfile = /Users/wuxh/.gitignore_global | |
ignorecase = true | |
# ref: https://stackoverflow.com/a/36427485/11302760 | |
# ref: https://code.visualstudio.com/docs/editor/versioncontrol#_vs-code-as-git-editor | |
editor = code --disable-extensions --wait |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use client"; | |
import { cache, unstable_postpone } from "react"; | |
import { preload } from "react-dom"; | |
const loadImage = cache((src: string) => { | |
return new Promise<void>((resolve, reject) => { | |
const img = new Image(); | |
img.src = src; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://www.digitalocean.com/community/tools/nginx?global.app.lang=zhCN | |
server { | |
listen 80; | |
listen [::]:80; | |
root /usr/share/nginx/html; | |
location / { | |
index index.html index.htm; |