常用命令

2023-01-04  本文已影响0人  出来遛狗了

一、命令相关:

1、git 代码量查询

git log --author='aa@qq.com' --since=2023-08-01 --until=2023-11-30 --pretty=tformat: --numstat | awk '
 {add += $1; subs += $2; loc += $1 + $2 } END { printf "添加了%s,删除了%s,合计%s\n", add, subs, loc }' -

2、终端设置github和全局代理

git config --global http.https://github.com.proxy [socks5://127.0.0.1:1086](socks5://127.0.0.1:1086)

3、命令行设置代理

export http_proxy=socks5://127.0.0.1:7890;
export https_proxy=socks5://127.0.0.1:7890;
export no_proxy=localhost,127.0.0.1,localaddress,.localdomain.com;
//gem 安装包设置代理
gem install --http-proxy http://localhost:7890 cocoapods

4、Mac开启自带的Apache服务器

1、开启 sudo apachectl start

2、关闭 sudo apachectl stop

3、重启 sudo apachectl restart

目录:/Library/WebServer/Documents

5、Flutter创建插件以及发布私有pub

flutter create --org com.example --template=plugin --platforms=android,ios -i objc -a java hello
flutter create --template=package xxapp_package
flutter packages pub publish --dry-run
flutter packages pub publish --server=http://flutter-pub.sf-express.com
私有pub

二、常用工具

1、dart json转model
https://javiercbk.github.io/json_to_dart/

2、iconfont 转 Flutter IconData
https://xwrite.gitee.io/blog/

3、在线作图工具
https://www.processon.com/login

三、学习网站

1、Vue3+TS 快速上手

2、Dart 开发语言概览
https://dart.cn/guides/language/language-tour

3、HashMap详解
https://blog.csdn.net/swpu_ocean/article/details/88917958
https://blog.csdn.net/visant/article/details/80045154
https://blog.csdn.net/woshimaxiao1/article/details/83661464

4、算法学习
https://www.hello-algo.com/chapter_preface/suggestions/#_2

5、Flutter学习
https://book.flutterchina.club/

四、工具

**1、APP分析工具
https://www.qimai.cn/

上一篇 下一篇

猜你喜欢

热点阅读