1.0.0 • Published 2 years ago
@marchyang/tool v1.0.0
工具函数
其他常用
终端代理:
export http_proxy=http://127.0.0.1:1087 export https_proxy=$http_proxy
chrome 非安全模式
open -n /Applications/Google\ Chrome.app/ --args --disable-web-security --user-data-dir=/Users/xmly/MyChromeDevUserData/;
快捷键
- 切换 mac 左右屏: control + fn + 左右键
- 跳转文件顶部、底部、行首、行尾:command + fn + 上下左右
- 切换文件 tab 的当前页:ctrl + 12345
- 侧边栏显/隐:Ctrl+B
- Ctrl + ~
- option + command + 左右
- 折叠和展开代码:option + command + {和}
- 谷歌截屏:打开需要截长图的网页,右键--检查--Shift + Command + P,输入“screen”,选择各种截屏的需要
css 画三角,计算 border-width 值
charles 破解版
curl 转语言请求
webpack 热更新原理
https://www.163.com/dy/article/GDRFBIJL0511FQO9.html
rollup 小插件开发
1.0.0
2 years ago