William Chan

Results 84 issues of William Chan

建议做一下包优化和拆包,的确阿里云1M的机器接受不了这么大的包。 考虑拆包,加上gzip。

While debugging the script for a long period, I have noticed that the font used in the log output has a significant impact on visual fatigue. I suggest changing it...

enhancement

**Describe the bug** The tooltip is left lingering on the screen **To Reproduce** Steps to reproduce the behavior: * When the mouse moves over the selected field type (Tooltip appears)...

bug

**Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. Click "Edit Code" Button 2. Click "Run" Button **Expected...

bug

1. Windows默认是IPV6优先 2. 默认是走TCP协议 对于开启了fake-ip来说,一定要注意上面的两个问题,策略一定要做到位 ## 抓包结果 ![image](https://github.com/luckyyyyy/blog/assets/9210430/a51efc06-1fad-42cb-a0f5-f02ad90d4497) ## 相关转发配置 ![image](https://github.com/luckyyyyy/blog/assets/9210430/bc8ca072-4c28-42d4-aa8e-1492c4ba6759) ![image](https://github.com/luckyyyyy/blog/assets/9210430/c1e54b5e-7d7d-4205-81c2-ede53461759f)

## 需求 使用fake-ip,但国内需要real-ip,最大可能国内real-ip+绕过内核 此方案不适用于 openclash 仅适用于 shellclash 或者自己会写iptables的同学,另外我也建议shellclash作者把绕过cn不要和fake-ip功能冲突,目前我的做法已经实现两者都兼容,理论上前置任意转发器都可以,不局限于AdGuard ## 0x00 问题 其实这个问题很久了,之前做了很多分流,虽然抗污染能力增强,但是还是会出现一些污染的情况,目前来说最合理的方案依然是fake-ip,但我不希望所有国内地址都被解析成fake-ip,这样既不科学,又回导致国内ip全部进clash内核这也是我不希望的。所以需要一份域名白名单来解决这个问题。 ## 0x01 解决 DNS依然可以使用AdGuard Home来作为第一层服务器,主要是因为这家伙的UI做的我非常满意,而且重写,记录等功能也是我需要的。 ### 端口 AdGuard Home 监听 5553(不重定向端口,只监听) Clash 监听 1053 dnsmasq 监听 53(默认不变,防止其他服务器没启动连DNS都没有) ###...

## 基本操作 ```shell # 屏蔽nouveau 添加一句 blacklist nouveau vim /etc/modprobe.d/blacklist.conf # 修改生效 update-initramfs -u # 重启 reboot # 到nvidia官方下载对应驱动 给运行权限 chmod +x NVIDIA-Linux-x86_64-525.116.04.run # 安装 ./NVIDIA-Linux-x86_64-525.116.04.run ``` ## 错误 1....

在macOS中,以"._"开头的文件是用于存储资源分支(Resource Fork)和扩展属性(Extended Attributes)的文件。资源分支包含与文件相关的附加数据,如图标、元数据、自定义属性等。扩展属性是文件的额外信息,可以包括访问权限、标签、元数据等。 macOS使用资源分支和扩展属性来维护文件的完整性和特殊功能。当你将文件复制到非本机文件系统(如FAT32或exFAT格式的驱动器)时,这些文件系统无法直接存储资源分支和扩展属性。为了保留这些信息,macOS会创建以"._"开头的隐藏文件,其中包含了原始文件的资源分支和扩展属性。 这种处理方式确保了文件在非本机文件系统上的互通性,尽管这些文件可能会被视为冗余文件或垃圾文件。在大多数情况下,这些"._"文件对于正常使用来说并没有太大影响。然而,有时这些文件可能会在跨平台文件共享、网络传输或外部存储设备上引起不便。 当将文件复制到非本机文件系统(例如使用FAT32或exFAT格式的USB驱动器)时,macOS会创建"dot underscore"文件。这些文件存储了在这些文件系统上不支持的扩展属性和资源分支数据。要防止创建这些文件,可以禁用macOS上的资源分支和扩展属性的创建。 你可以在Mac的终端中执行以下命令来实现: ```shell defaults write com.apple.desktopservices DSDontWriteNetworkStores true ``` 这个命令将阻止macOS在网络驱动器上创建这些辅助文件。然而,如果你想在所有驱动器上(包括外部驱动器)阻止创建"dot underscore"文件,可以使用以下命令: ```shell defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true ``` 执行完命令后,重新启动Mac以应用更改。macOS在将文件复制到外部驱动器时将不再创建"dot underscore"文件。 请注意,禁用创建这些文件可能会导致一些与文件相关的元数据或扩展属性丢失。此外,此设置适用于每个用户,如果Mac上有多个用户账户受影响,你可能需要为每个用户账户执行该命令。

### Search before asking - [X] I had searched in the [issues](https://github.com/labring/laf/issues?q=is%3Aissue) and found no similar issues. ### Feature Request While the Laf positioning is for non-coders to be able...

feature

### 🥰 Feature Description Although the animation of antd is overall excellent, I hope to be able to turn it off as it is not entirely suitable for productivity tools....

Inactive
🌠 Feature Request