SpringQuartz 一、什么是SpringQuartz Quartz是启动定时任务的框架,可以帮助我们在特定的时间执行对应的程序,比如定时发送邮件等 二、快速开始 引入依赖 <parent> <groupId>org.springframework.boot</groupId> <artifa ...
分类:
编程语言 时间:
2020-06-05 13:27:24
阅读次数:
62
报错:👇👇 Attempted to add application window with unknown token XXXUnable to add window——token android.os.BinderProxy@196e65b8 is not valid;is your act ...
分类:
移动开发 时间:
2020-06-05 11:40:11
阅读次数:
83
//mywidget.cpp#include "mywidget.h" #include <QPushButton> MyWidget::MyWidget(QWidget *parent) : QWidget(parent) { #if 1 //创建第一个按钮 QPushButton *btn = ...
分类:
其他好文 时间:
2020-06-05 00:57:50
阅读次数:
144
1.摘要: 关于LIS部分,本篇博客讲一下LIS的概念定义和理解,以及求LIS的三种方法,分别是O(n^2)的DP,O(nlogn)的二分+贪心法,以及O(nlogn)的树状数组优化的DP,最后附上几道非常经典的LIS的例题及分析。 2.LIS的定义: 最长上升子序列(Longest Increas ...
分类:
其他好文 时间:
2020-06-04 01:48:57
阅读次数:
91
1、流概述 流是一组有序的数据序列,可分为输入流和输出流两种。I/O流提供了一条通道程序,可以使用这条通道把源中的字节序列送到目的地。不仅可以使用在文件上,也可以用于键盘、鼠标、显示器等。 输入流 文件 >数据流 >目的地 输出流 源-->数据流 >文件 2、流概述 Java定义了许多类专门复杂各种 ...
分类:
其他好文 时间:
2020-06-04 01:48:04
阅读次数:
71
重建索引 alter index pk_kc03 rebuild 批量查询无效索引 select 'alter index '||index_name||' rebuild online;' from user_indexes where status <> 'VALID' and index_na ...
分类:
数据库 时间:
2020-06-03 17:15:41
阅读次数:
79
例一(类初始化错误用法): struct thing { char * pn; int m; }; thing amabob = {"wodget", -23}; // valid initialization Stock hot = {"Sukie's Autos, Inc.", 200, 50. ...
分类:
编程语言 时间:
2020-06-03 13:57:40
阅读次数:
83
//当你在iframe页面关闭自身时 var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引 parent.layer.close(index); //再执行关闭 ...
分类:
其他好文 时间:
2020-06-02 13:36:26
阅读次数:
82
总结了几种常见的页面架构布局方案1.居中布局 a.水平居中 b.垂直居中 c.水平垂直 2.多列布局 a.自适应布局 b.等宽布局 c.等高布局 居中布局 水平居中 <!--水平居中布局--> <div class="parent"> <div class="children">demo</div> ...
分类:
其他好文 时间:
2020-06-02 12:59:41
阅读次数:
44
如在弹框中获取父级勾选的id var checkedArr = []; parent.window.$('input.checkboxItem[type="checkbox"]:checked').each(function (index, elem) { checkedArr.push($(ele ...
分类:
其他好文 时间:
2020-06-02 12:50:10
阅读次数:
292