/dev/null --Linux will disccard the any data written to /dev/null --reading data from /dev/null results in an end-of-file /dev/zero it will genreate a ...
分类:
系统相关 时间:
2019-12-24 14:11:29
阅读次数:
110
仓库A的master分支,需要合到仓库B的master分支 主仓库:company:master 我的仓库:yoyocheknow:master 合并步骤: 1:将主仓库的地址添加到自己本地的远程仓库中 git remote add 仓库名称 地址 现在git remote 一下可以看见本地有两个远 ...
分类:
其他好文 时间:
2019-12-24 11:47:00
阅读次数:
116
一、添加和root权限一样的用户 1、 adduser admin passwd admin (修改密码) 2、修改 /etc/sudoers 文件,找到下面一行,在root下面添加一行,如下所示 vim /etc/sudoers ## Allow root to run any commands ...
分类:
系统相关 时间:
2019-12-23 19:16:19
阅读次数:
132
C语言Socket编程,实现两个程序间的通信 server和client通信流程图 在mooc上找到的,使用Socket客户端client和服务端server通信的流程图?? 服务端server 服务端需要 "两个"套接字 : 1.服务端套接字serverSocket 2.客户端connect连接请 ...
分类:
编程语言 时间:
2019-12-23 19:14:02
阅读次数:
109
一、说明以前有时候是用zabbix自定义监控脚本使其返回值为数字,方便zabbix进行记录或者判断。现在的需求是,如果异常会返回一段异常描述,也就是一些字符串信息,该如何判断告警呢?Zabbix监控脚本返回值是字符串时,也可以使用字符串函数来创建触发器。二、编写监控脚本脚本返回信息是一行字符串;运行... ...
分类:
其他好文 时间:
2019-12-23 18:37:11
阅读次数:
308
Custom Routes Custom Routes Template routes allow you to map individual URLs to specific template files within a Ghost theme. For example: make /custo ...
分类:
其他好文 时间:
2019-12-23 00:44:43
阅读次数:
110
Redirects Redirects In addition to creating routes, you can also create redirects for any time there are any changes in your URLs and you need to forw ...
分类:
其他好文 时间:
2019-12-23 00:41:48
阅读次数:
112
目录:(一)MD5介绍(二)md5sum命令(三)实战演练(一)MD5介绍(1.1)MD5即Message-DigestAlgorithm5(信息-摘要算法第5版),用于确保信息传输完整一致。是计算机广泛使用的杂凑算法之一(又名:摘要算法、哈希算法),主流编程语言普遍已由MD5实现。将数据运算为另一固定长度值(十六进制的为32位),是杂凑算法的基础原理,MD5的前身有MD2、MD3和MD4。MD5
分类:
系统相关 时间:
2019-12-22 23:00:56
阅读次数:
220
1. You are not allowed to write any production code unless it is to make a failing unit test pass. 除非为了使一个失败的unit test通过,否则不允许编写任何产品代码 2. You are not ...
分类:
其他好文 时间:
2019-12-22 12:24:41
阅读次数:
75
Description Description Given a string, find length of the longest repeating subsequence such that the two subsequence don’t have same string characte ...
分类:
其他好文 时间:
2019-12-21 22:26:52
阅读次数:
71