li1=set([1,2,3,4])li2=set([4,5,6,7])update_set=li1.intersection(li2)delete_set=li1.symmetric_difference(update_set)add_set=li2.symmetric_difference(up ...
分类:
编程语言 时间:
2019-05-06 23:37:33
阅读次数:
157
使用点击事件写一个计数器。 通过以下实例来观察onmouseup与onmousedown;up时鼠标按下不会变化,松开的时候触发,而down刚好相反。 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>test ...
分类:
Web程序 时间:
2019-05-06 19:22:14
阅读次数:
556
2019-05-06 问题现象 使用docker-compose部署web+mysql架构网站,出现docker-compose up -d启动之后,mysql容器自动退出现象 docker-compose.yml 解决方案: 真正的问题所在其实就是在服务器上的volume目录/mnt/mysql/ ...
分类:
数据库 时间:
2019-05-06 19:03:19
阅读次数:
442
uptime命令可以输出当前系统时间、系统开机到现在的运行时间、目前有多少用户在线和系统平均负载等信息。[root@cs6 ~]# uptime 17:02:25 up 1:48, 3 users, load average: 0.00, 0.00, 0.00系统时间 运行时长 登录用户数 平均负载... ...
分类:
其他好文 时间:
2019-05-06 14:33:57
阅读次数:
160
官网:http://hadoop.apache.org/docs/r2.6.5/hadoop-project-dist/hadoop-common/SingleCluster.html Hadoop MapReduce Next Generation - Setting up a Single No ...
分类:
其他好文 时间:
2019-05-04 10:10:06
阅读次数:
260
20175212童皓桢 实验三敏捷开发与XP实践实验报告 实验内容 XP基础 XP核心实践 相关工具 实验步骤 一、Code菜单功能的研究 Move Line/statement Down/Up:将某行、表达式向下、向上移动一行 suround with:用 try catch,for,if等包裹语 ...
分类:
其他好文 时间:
2019-05-03 18:17:11
阅读次数:
125
原文 http://www.johanfalk.eu/blog/sharpdx-tutorial-part-1-setting-up-a-sharpdx-project-in-visual-studio-2013 这是我使用SharpDX的第一个教程。SharpDX允许您使用DirectX和C#渲染 ...
分类:
其他好文 时间:
2019-05-03 09:52:13
阅读次数:
231
1. 创建快捷方式 在创建快捷图标的文件/usr/share/applications/xx.desktop 编辑内容 2. 安装SublimeText3 Install the GPG key: Ensure apt is set up to work with https sources: Se ...
分类:
其他好文 时间:
2019-05-02 23:30:09
阅读次数:
171
Source from :https://www.codeproject.com/Articles/1260600/Speed-up-ASP-NET-Core-WEB-API-application-Part-1 Download source from GitHub Introduction In ...
In the game of DotA, Pudge’s meat hook is actually the most horrible thing for most of the heroes. The hook is made up of several consecutive metallic ...
分类:
其他好文 时间:
2019-05-02 09:54:43
阅读次数:
135