![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
笔记
断毫残墨
这个作者很懒,什么都没留下…
展开
-
Mac 配置 oh-my-zsh和zsh-autosuggestions自动补全
1. 克隆 oh-my-zshgit clone https://github.com/ohmyzsh/ohmyzsh.git ~/.oh-my-zsh2. 复制 .zshrc ,如果已有.zshrc,请手动复制此文件内容到.zshrccp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc3.切换到zshzshsource ~/.zshrc4.下载该插件到 oh-my-zsh 的插件目录git clone git:..原创 2021-09-14 22:33:09 · 485 阅读 · 0 评论 -
Ant Design Pro V5移除自带的国际化
yarn pro i18n-remove --locale=zh-CN --write原创 2021-08-14 21:38:39 · 561 阅读 · 0 评论 -
macos修改无线网卡mac地址
1.断开Airport 无线网卡连接sudo /System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport -z2.修改mac地址的命令sudo ifconfig en0 ether xx:xx:xx:xx:xx:xx3. 重启网卡networksetup -detectnewhardware原创 2021-07-19 22:22:24 · 1088 阅读 · 0 评论 -
解决改hosts刷新缓存后对chrome无效的问题
chrome://net-internals/#dns原创 2021-05-10 17:27:24 · 744 阅读 · 0 评论 -
Windows10 WSL2限制cpu和内存
1. 按下Windows + R 键,输入%UserProfile%并运行进入用户文件夹,新建文件.wslconfig,文件内容格式如下[wsl2]memory=2048MBswap=2Gprocessors=1memory=2048MB # 限制最大使用内存swap=2G # 限制最大使用虚拟内存processors=1 # 限制最大使用cpu个数...原创 2021-04-25 10:53:13 · 11563 阅读 · 0 评论 -
windows下使用命令行查看端口号被哪个进程占用
netstat -nao | findstr "要查询的端口号"比如 netstat -nao | findstr "7500",输出如下最后一列为PID ,可以打开任务管理器查看详细信息是哪个进程被占用如果想杀死这个进程可以在任务管理器中操作,或者使用命令,比如,杀死7500端口进程taskkill /pid 7500...原创 2021-04-14 09:24:34 · 204 阅读 · 0 评论