官网:https://nodejs.org/zh-cn/ 安装完可检查在windows任务命令行里输入node -v 使用淘宝NPM镜像源下载比较快 命令:npm install -g cnpm --registry=https://registry.npm.taobao.org 安装vue-cli ...
分类:
其他好文 时间:
2020-06-19 12:29:43
阅读次数:
69
1.在github中创建一个账号:https://github.com/join?source=header-home 2.下载并安装git:https://git-scm.com/downloads 3.安装成功后打开Git Bash,输入下列命令,设置git全局用户名和邮箱 + View Cod ...
分类:
Web程序 时间:
2020-06-19 12:28:21
阅读次数:
76
在 vue 项目中,通过highlight.js,如何实现页面中代码高亮? 一、安装highlight.js npm install highlight.js --save 或 yarn add highlight.js 二、封装成vue插件 新建highlight.js文件 /** * 自定义代码 ...
分类:
Web程序 时间:
2020-06-19 12:18:39
阅读次数:
174
当由多个上游的时候,我们需要合理管理自己的分支的track,进行合作; 拉取上游分支到本地: git pull <remote> <branch> 建立分支track 信息: git branch --set-upstream-to=<remote>/<branch> wip-readahead 查 ...
分类:
其他好文 时间:
2020-06-19 12:16:10
阅读次数:
215
拆分环境 主机名 角色 ip HDSS7-11.host.com zk1.fx.com 10.4.7.11 HDSS7-12.host.com zk2.fx.com 10.4.7.12 重配zookeeper HDSS7-11.host.com上: [root@hdss7-11 ~]# sh /op ...
分类:
其他好文 时间:
2020-06-19 12:02:33
阅读次数:
56
git remote -v /usr/local/Homebrewgit remote set-url origin git://mirrors.tuna.tsinghua.edu.cn/homebrew.git/usr/local/Homebrew/Library/Taps/homebrew/ho ...
分类:
其他好文 时间:
2020-06-19 01:03:31
阅读次数:
71
mac 安装brew报错 Failed to connect to raw.githubusercontent.com port 443: Connection refused解决办法
分类:
其他好文 时间:
2020-06-19 00:37:14
阅读次数:
155
一、正则表达式简介 **定义**:正则表达式用于定义一些字符串的规则。 **作用**:计算机可以根据正则表达式,来检查一个字符串是否符合指定的规则;或者将字符串中符合规则的内容提取出来。 如果你想查看正则更多的内容,可以查阅官方文档关于 RegExp 这个内置对象的用法。 二、创建正则表达式的对象 ...
分类:
Web程序 时间:
2020-06-18 23:25:16
阅读次数:
87
一、JVM的垃圾回收器大致分为七种类 新生代收集器:Serial、ParNew、Parallel Scavenge。 老年代收集器:Serial Old、CMS、Parallel Old。 堆内存垃圾收集器:G1。(新生代老年代都能用) 附录: 串行:垃圾回收器(Serial Garbage Col ...
分类:
其他好文 时间:
2020-06-18 21:45:28
阅读次数:
76