1 glob

webpack-多页配置-匹配文件
const entryHtml = glob.sync(path.resolve(__dirname, ‘../app/view’) + /**/*/(${baseConfig.STATIC_TEMPLATE_NAME}).html)

在线短信

国内外短信接码平台合集
国内:
https://www.freereceivesms.com/
国外:
https://www.storytrain.info/

常用工具文档:

https://www.axios-http.cn/ axios

常用npm包

UUID https://www.npmjs.com/package/uuid
classNames https://www.npmjs.com/package/classnames

国内安装brew

Clash设置终端代理

https://github.com/Dreamacro/clash/issues/592
临时
export ALL_PROXY=socks5://127.0.0.1:7890
或者

  1. function proxy_on() {
  2. export no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com"
  3. export http_proxy="http://127.0.0.1:7890"
  4. export https_proxy=$http_proxy
  5. export all_proxy=socks5://127.0.0.1:7890
  6. curl www.google.com
  7. echo -e "\n"
  8. echo -e "\033[32m已开启代理\033[0m"
  9. }
  10. function proxy_off(){
  11. unset http_proxy
  12. unset https_proxy
  13. unset all_proxy
  14. echo -e "已关闭代理"
  15. }