在我们开发的过程中,我的开发流程一般都是 说明 本地 git push 服务器 git pull npm i yarn build 那么我们能不能去监听 git push 呢? 如果我们每次push之后,服务器可以自动的去执行上面的后面的命令岂不是很好 第一种方式 使用 travis ci.org ...
分类:
其他好文 时间:
2020-02-07 14:55:07
阅读次数:
146
解决办法:关闭selinux [root@k8s-master ~]# docker push 10.0.0.10:5000/nginx The push refers to a repository [10.0.0.10:5000/nginx] 22439467ad99: Retrying in ...
分类:
Web程序 时间:
2020-02-04 15:41:17
阅读次数:
402
今年6月5日是哈佛大学的毕业典礼,请来的演讲嘉宾是《哈利波特》的作者J.K.罗琳女士。 bg2008061702.jpg 她的演讲题目是《失败的好处和想象的重要性》(The Fringe Benefits of Failure, and the Importance of Imagination)。 ...
分类:
其他好文 时间:
2020-01-31 10:23:37
阅读次数:
75
1、镜像下载总是出现报错:received unexpected HTTP status: 500 Internal Server Error2、尝试多种方法:①阿里云docke加速器;注册之后,配置好重新下载依然出现这种情况;②尝试加上版本号;原先我是直接复制https://hub.docker. ...
分类:
Web程序 时间:
2020-01-29 19:34:59
阅读次数:
364
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. at sun.reflect.Native ...
分类:
其他好文 时间:
2020-01-25 18:17:32
阅读次数:
135
org.springframework.data.redis.RedisConnectionFailureException: Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisC ...
分类:
编程语言 时间:
2020-01-21 16:16:26
阅读次数:
75
1 Kibana的显示配置 https://demo.elastic.co/app/kibana#/dashboard/welcome_dashboard 环境先处理干净 安装nginx和httpd-tools 2 使用压测工具产生日志 [root@node4 ~]# ab -n 100 -c 10 ...
分类:
Web程序 时间:
2020-01-19 15:20:03
阅读次数:
121
B. Divisors of Two Integers Recently you have received two positive integer numbers xx and y. You forgot them, but you remembered a shuffled list cont ...
分类:
其他好文 时间:
2020-01-18 14:25:38
阅读次数:
98
### 下载repo索引文件 ### chase@giga:~$ curl https://storage.googleapis.com/git-repo-downloads/repo -o repo % Total % Received % Xferd Average Speed Time Tim ...
分类:
移动开发 时间:
2020-01-16 10:49:29
阅读次数:
199
命令模式旨在将"行为请求者"与"行为实现者"解耦 如何解决:通过调用者调用接受者执行命令,顺序:调用者→接受者→命令。 关键代码:定义三个角色:1、received 真正的命令执行对象 2、Command 3、invoker 使用命令对象的入口 需要基本使用类,抽象命令与具体命令,通过中介者调用命令 ...
分类:
其他好文 时间:
2020-01-15 09:50:08
阅读次数:
79