小组成员: 龙继平:201731062131 王阳:201731041215 王阳的任务———————————————————————————————— 1、编写新闻删除的js脚本 2、编写新闻编辑脚本 3、编写新闻编辑页面,采用simpleMDE()脚本,做的一个markdown编辑器。 <!DO ...
分类:
其他好文 时间:
2020-06-20 10:22:38
阅读次数:
69
Networking overview One of the reasons Docker containers and services are so powerful is that you can connect them together, or connect them to non-Do ...
分类:
Web程序 时间:
2020-06-19 16:24:16
阅读次数:
70
# 执行命令,返回是否执行成功retcode = subprocess.call("for tar in %s/*.tar.gz;do tar zxvf $tar -C %s;done" %(first_dir,first_dir))#执行命令,返回执行命令的结果,close_fds防止僵尸进程大量 ...
分类:
其他好文 时间:
2020-06-19 15:59:17
阅读次数:
45
我在使用BeautifulSoup的时候对于html的解析器选择了lxml soup = BeautifulSoup(r.text, "lxml") 然后就报错了,Baidu和Google后都没有找到太满意的答案,他们的做法有的是将解析器更改成原生的Python解析器,还有的就是一些对我没有太大帮组 ...
分类:
其他好文 时间:
2020-06-19 13:36:47
阅读次数:
47
题目描述 leetcode - 102:https://leetcode-cn.com/problems/binary-tree-level-order-traversal/ 解题关键 队列 BFS 结构体 碎碎念 这道题可以不用结构体,在while循环里面加一个for循环来遍历某一层的节点。但是很 ...
分类:
其他好文 时间:
2020-06-19 01:10:53
阅读次数:
67
快排(双指针): void quick_sort(int q[],int l,int r) { if(l>=r)return ; int i=l-1,j=r+1,x=q[(l+r)>>1]; while(i<j) { do i++;while(q[i]<x); do j--;while(q[j]>x ...
分类:
编程语言 时间:
2020-06-18 21:11:23
阅读次数:
66
MySQL主从复制什么原因会造成不一致,如何预防及解决? 一、导致主从不一致的原因主要有: 1、人为原因导致从库与主库数据不一致(从库写入)。 2、主从复制过程中,主库异常宕机。 3、设置了ignore/do/rewrite等replication等规则。 4、binlog非row格式。 5、异步复 ...
分类:
数据库 时间:
2020-06-18 19:51:29
阅读次数:
74
Description HostAgent fails to establish SSH Connection to RedHat EL7 hostThe error reported when the agent attempts to connect to the host matches th ...
分类:
系统相关 时间:
2020-06-18 19:16:06
阅读次数:
459
1.之前下过docker又想重装就执行以下命令 $ sudo yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate \ do ...
分类:
其他好文 时间:
2020-06-18 10:51:02
阅读次数:
58
Write a function to check whether an input string is a valid IPv4 address or IPv6 address or neither. IPv4 addresses are canonically represented in do ...
分类:
其他好文 时间:
2020-06-17 09:19:26
阅读次数:
55