获取所有表格数据 var rows=$('#table').bootstrapTable('getData') 获取选中的数据 var selected = $("#table").bootstrapTable('getSelections'); 清空表格所有数据 $("#table").boots ...
分类:
其他好文 时间:
2020-07-24 16:33:36
阅读次数:
76
pip安装 pip install pytest-html 编写脚本 import pytest class TestClass(object): def test_one(self): x = "this" assert 'h' in x def test_two(self): x = "hell ...
分类:
其他好文 时间:
2020-07-23 16:50:29
阅读次数:
121
这个Power Automate帮助用户去match Excel 中 table的数据 蓝色table和绿色table相match的数据才会被加入到match表中 流程比较简单 首先我们需要一个触发点 其次, 找到list rows Excel控件. 然后选择需要的table1 然后我们用apply ...
分类:
其他好文 时间:
2020-07-23 09:23:02
阅读次数:
86
在c++中检查字符串是否包含另一串字符串,这个本来是我做过的一个算法题,不过最近刚好有个需求让我想到了这个题,就在此记录一下! 使用std::string::findfunction string str ("There are two needles in this haystack."); st ...
分类:
编程语言 时间:
2020-07-22 02:02:45
阅读次数:
79
对于这道题,可以想想对于每个b[i],a[i]中可选的位置的区间在哪,这样只要找到区间,就能知道当前可以选那几个位置断开 b[1]的开头肯定是1号位,而我们发现如果对后缀求一下后缀的最小值,这样就天然满足题目条件,我们用一个map存一下答案,就能知道b[i]是最小值的区间是哪些 因为b是单调递增的数 ...
分类:
其他好文 时间:
2020-07-22 02:00:03
阅读次数:
62
在gradle中,如果多个子项目使用目录进行分组,可以使用如下方法 // include two projects, 'foo' and 'foo:bar' // directories are inferred by replacing ':' with '/' include 'foo:bar' ...
分类:
其他好文 时间:
2020-07-21 22:45:12
阅读次数:
108
options (rows=10000,direct=true,skip=0,errors=10000)load datainfile '文件名'truncate into table 表名fields terminated by ','optionally enclosed by '"'trail ...
分类:
数据库 时间:
2020-07-21 21:51:23
阅读次数:
75
题目链接 Polycarpus has a ribbon, its length is n. He wants to cut the ribbon in a way that fulfils the following two conditions: After the cutting each r ...
分类:
其他好文 时间:
2020-07-21 21:35:20
阅读次数:
72
【原题】 Note that the memory limit is unusual. You are given a multiset consisting of nn integers. You have to process queries of two types: add integer ...
分类:
其他好文 时间:
2020-07-21 21:33:29
阅读次数:
83
整理今天的代码…… 采用的是150条鸢尾花的数据集fishiris.csv # 读入数据,把Name列取出来作为标签(groundtruth) import pandas as pd data = pd.read_csv('fishiris.csv') print(data.head(5)) X = ...
分类:
编程语言 时间:
2020-07-21 09:45:22
阅读次数:
138