Skip to content

Instantly share code, notes, and snippets.

// src/utils/getArticles.js
import { cache } from "react";
const importAll = cache(async (r) => {
let posts = [];
for (const fileName of r.keys()) {
const module = await r(fileName);
const slug =
@ChrAlpha
ChrAlpha / Clash_with_AdGuard.ini
Last active December 31, 2023 10:52
Clash_with_AdGuard
[custom]
custom_proxy_group=🔰 节点选择`select`[]♻️ 自动选择`[]DIRECT`.*
custom_proxy_group=♻️ 自动选择`url-test`.*`http://www.gstatic.com/generate_204`500
custom_proxy_group=🎯 全球直连`select`[]DIRECT`[]🔰 节点选择`[]♻️ 自动选择
custom_proxy_group=🛑 全球拦截`select`[]REJECT`[]DIRECT
custom_proxy_group=🐟 漏网之鱼`select`[]🔰 节点选择`[]♻️ 自动选择`[]DIRECT`[]REJECT
surge_ruleset=🎯 全球直连,rules/LocalAreaNetwork.list
surge_ruleset=🎯 全球直连,rules/ConnersHua/Surge/Ruleset/Unbreak.list
surge_ruleset=🛑 全球拦截,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanAD.list
@ChrAlpha
ChrAlpha / keybase.md
Created April 25, 2020 13:05
keybase.md

Keybase proof

I hereby claim:

  • I am ChrAlpha on github.
  • I am chralpha (https://keybase.io/chralpha) on keybase.
  • I have a public key whose fingerprint is 2D3E 1D64 15C5 A1A2 946C A77A D1A6 4672 7509 ABFD

To claim this, I am signing this object:

@ChrAlpha
ChrAlpha / gist:65a6f402d1b984ea17feaa4ae314e8dd
Created March 21, 2020 14:05
Windows Terminal Configuration
Setting 基础配置(默认位置 `C:\Users\{{UserName}}\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\profiles.json`):
```
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",