期数: 58 期 日期:2019-05-31 http://www.ruanyifeng.com/blog/2019/05/weekly-issue-58.html 期数: 59 期 日期:2019-06-07 http://www.ruanyifeng.com/blog/2019/06/weekl ...
分类:
其他好文 时间:
2019-07-24 09:53:56
阅读次数:
109
git fetch origin 同步远程服务器上的数据到本地 git cherry-pick submitId 从其他分支同步提交 git branch -r git diff filepath 展示变化 git reset 从把缓存区数据恢复到工作空间 恢复远程版本: git reset --h ...
分类:
其他好文 时间:
2019-07-23 17:06:32
阅读次数:
67
define interface: useState: update imageId && imageSrc: antd inputchange: ...
分类:
其他好文 时间:
2019-07-23 13:07:03
阅读次数:
234
虽然突兀,但是项目已经开始了 我们首先定义公共的css文件 关于js组件设计设计原则 https://github.com/jawil/blog/issues/21 em相对于父级元素 rem相对于根html标签 有一个小栗子 ...
分类:
其他好文 时间:
2019-07-19 21:11:29
阅读次数:
139
系统 # uname -a # 查看内核/操作系统/CPU信息 # head -n 1 /etc/issue # 查看操作系统版本 # cat /proc/cpuinfo # 查看CPU信息 # hostname # 查看计算机名 # lspci -tv # 列出所有PCI设备(yum instal ...
分类:
系统相关 时间:
2019-07-16 18:13:39
阅读次数:
147
这里使用 gitlab 做服务器, 客户端主要使用 git extensions. gitlab 项目成员类型: 1. guest : 能在 gitlab 网页上创建 issue, 查看 wiki 2. reporter: 权限比guest更大, 能 clone 项目 3. developer: 能 ...
分类:
其他好文 时间:
2019-07-13 13:53:45
阅读次数:
272
Issue: 控制台一闪而过,看不到输出结果。 如何保持控制台窗口,让程序运行完后不直接关闭? Solve 1:(推荐) 建议设置项目属性。 1)右键项目 >> 属性(Properties),打开项目的属性页 2)项目的属性页下,找到: 配置属性(Configuration Properties) ...
分类:
其他好文 时间:
2019-07-12 20:04:58
阅读次数:
1865
1 系统安装docker yum install -y dockersystemctl enable dockersystemctl start docker 2 下载镜像包: docker pull prom/prometheusdocker pull prom/node-exporterdock ...
分类:
其他好文 时间:
2019-07-09 15:28:49
阅读次数:
178
ln命令:创建连接文件 创建文件/etc/issue的软连接 /tmp/issue.softln -s /etc/issue /tmp/issue.soft 创建文件/etc/issue的硬链接 /tmp/issue.hardln /etc/issue /tmp/issue.hard 软连接特点:1 ...
分类:
其他好文 时间:
2019-07-09 00:23:04
阅读次数:
100
周五时候 使用docker-machine 创建docker环境时候 一直报错 IP not found for MAC xxx in DHCP leases 各种Google 找到了好多类似的Issue 但是没有解决问题 有的说启动下minikube 就好了 有的说过段时间自己就好了 还有的说是b ...
分类:
系统相关 时间:
2019-07-08 00:27:01
阅读次数:
126