Skip to content

Instantly share code, notes, and snippets.

View fzdwx's full-sized avatar
🧙‍♂️
STAY

Like fzdwx

🧙‍♂️
STAY
View GitHub Profile
@fzdwx
fzdwx / battle-pane.js
Last active July 21, 2025 08:16
战斗面板
// ==UserScript==
// @name 猫猫放置-详细战斗日志面板
// @version v0.01
// @description 猫猫放置-详细战斗日志面板,点击上方中间的按钮展开或者收起
// @author fzdwx, YuoHira
// @license MIT
// @match https://www.moyu-idle.com/*
// @match https://moyu-idle.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=moyu-idle.com
// @grant none
@fzdwx
fzdwx / README
Last active February 27, 2024 01:36
Hi
/*
mysql
drop table if exists file;
create table file
(
id bigint primary key,
name varchar(200),
parent_id bigint,
is_dir bigint,
@fzdwx
fzdwx / filename
Last active December 30, 2023 14:13
filename
我草暗示大三大四
爱仕达受到
爱仕达受到
暗示大三大四的
package main
import (
"fmt"
"sync"
)
func main() {
for n := 0; n < 10; n++ {
var (
@fzdwx
fzdwx / ctx.go
Created December 3, 2022 06:02
go ctx react impl
func resSearch(ctx context.Context, hostname string, rtype, class int) ([]dnsmessage.Resource, error) {
if ctx.Done() == nil {
return cgoResSearch(hostname, rtype, class)
}
type result struct {
err error
res []dnsmessage.Resource
}
@fzdwx
fzdwx / ctx.go
Created December 3, 2022 06:02
go ctx react impl
func resSearch(ctx context.Context, hostname string, rtype, class int) ([]dnsmessage.Resource, error) {
if ctx.Done() == nil {
return cgoResSearch(hostname, rtype, class)
}
type result struct {
err error
res []dnsmessage.Resource
}
@fzdwx
fzdwx / main.md
Last active December 14, 2022 06:41
timeline

2022

  1. 2022/10 胡锦涛被拖里大会现场
  2. 2022/11/25 多地学生发起游行
    • 起因是因为乌鲁木齐火灾烧死10人,9人受伤
Details

@fzdwx
fzdwx / install.sh.md
Last active November 30, 2022 08:33
install script collect