1.spring整合rabbitMQ配置文件 rabbitmq-context.xml <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-ins ...
分类:
编程语言 时间:
2019-11-20 12:44:02
阅读次数:
64
console.log("start"); await new Promise(function(resolve, reject) { setTimeout(function(){ $('.tips-box').hide(); $('.tips-box').attr("date-id","1"); ... ...
分类:
Web程序 时间:
2019-11-19 13:34:45
阅读次数:
67
勾选框操作: 所谓勾选框,也可以叫复选框,意思是可以勾选一个及以上或全部勾选。勾选框的图标一般都是方形的。 复选框勾选一般分为三种情况: ①勾选单个框,我们直接用元素定位的方式定位到点击即可。 ②勾选多个框,我们是想勾选几个,就定位到几个,最后点击即可。 ③全部勾选,先获取到所有的checkbox对 ...
分类:
其他好文 时间:
2019-11-18 18:45:16
阅读次数:
216
1、输出Hello world docker run ubuntu:15.10 /bin/echo "Hello world" 2、运行交互式容器,可以使用 CTRL+D 来退出容器 docker run -i -t ubuntu:15.10 /bin/bash 3、启动后台模式的容器 docker ...
分类:
其他好文 时间:
2019-11-18 12:48:41
阅读次数:
59
1 time模块 import time 1.1 时间戳 时间戳(timestamp):时间戳表示的是从1970年1月1日00:00:00开始按秒计算的偏移量。 time_stamp = time.time() print(time_stamp, type(time_stamp)) 15525515 ...
分类:
其他好文 时间:
2019-11-16 21:33:45
阅读次数:
64
1.生产者消费者模型 java public class ProducterConsumerTest{ public static void main(String[] args){ System.out.println("this is a test..."); Message msg=new M ...
分类:
其他好文 时间:
2019-11-15 20:49:42
阅读次数:
64
此篇博客学习控制浏览器的api,分别有: get_window_size() 获取浏览器大小 set_window_size() 设置浏览器位置 get_window_position() 获取浏览器在屏幕上的坐标 set_window_position() 设置浏览器在屏幕的位置 maximize ...
分类:
其他好文 时间:
2019-11-15 12:31:52
阅读次数:
66
beep函数用法: beep(HZ,time); hz是发出多少赫兹声音,time是发声时间(ms) 话不多说,上代码 1 #include <cstdio> 2 #include <windows.h> 3 #define qdo 262 4 #define qre 294 5 #define q ...
分类:
编程语言 时间:
2019-11-14 22:11:42
阅读次数:
103
synchronized处理线程wait() 和notifyAll() 时,同步代码块中不要包含Thread.sleep(5)语句: 结果花费1.6s; 花费时间11.2s; 测试调用代码: 当synchronized同步代码块中去掉Thread.sleep(5)时,结果一致,都是1.6s左右。 ...
分类:
移动开发 时间:
2019-11-13 17:57:46
阅读次数:
87