关于查找更详细的内容,参见《shell编程和Unix命令》 1. find命令 find命令的一般形式: 1.1 -name 按照文件名查找。最常用的用法。例如: 在当前目录及子目录查找所有txt文件并打印出来,可以用: find . -name "*.txt" -print 1.2 使用exec来 ...
分类:
系统相关 时间:
2020-04-20 11:41:48
阅读次数:
70
JDBC事务处理: 事务处理一般在事务开始前把事务提交设置为false 所有DML语句执行完成后提交事务 demo: JDBC批处理 JDBC 进行batchc操作时: 1、设置事务自动提交为false 2、一般使用Statement接口,PreparedStatement有预编译可能出错 demo ...
分类:
数据库 时间:
2020-04-20 09:11:48
阅读次数:
91
GDAL is a C++ translator library for more than 200 raster and vector geospatial data formats. It is released under an X/MIT style Open Source license ...
分类:
其他好文 时间:
2020-04-20 00:54:18
阅读次数:
102
初窥 todo: [ ] 添加音乐到收藏(最近)列表 [ ] 歌词滚动 从一个hello world开始 微信开发者工具生成 目录如下: . |-- app.js |-- app.json |-- app.wxss |-- pages | |-- index # 主页 | | |-- index.j ...
分类:
微信 时间:
2020-04-19 15:03:35
阅读次数:
100
Python实现集合Set Python的集合set原理 ...
分类:
编程语言 时间:
2020-04-19 14:56:31
阅读次数:
66
// 二维数组查找#include "stdafx.h"using namespace std;#include <string>#include <vector>class Solution {public: bool Find(int target, vector<vector<int> > a ...
分类:
编程语言 时间:
2020-04-19 14:55:49
阅读次数:
39
Python实现队列 单链表实现队列 循环双端链表实现队列 数组实现队列 ...
分类:
编程语言 时间:
2020-04-19 14:50:21
阅读次数:
61
1.对basepage模块的改造 1)封装查找元素方法 def find(self, by, locator=None): # *by意思是传递多个位置参数,如果传递的是一个元组的话,就用前面的,locator注意默认等于None return self.driver.find_elements(* ...
分类:
移动开发 时间:
2020-04-19 14:39:09
阅读次数:
75
1.map(映射)、multimap(多映射) 2.红黑树(数据结构) 3.1)insert:4种方法 2)count和find 3)erase:3种方法 注意:不能通过find进行修改! #include<iostream> #include<map> #include<string> using ...
分类:
其他好文 时间:
2020-04-19 12:56:43
阅读次数:
50
题意:给出一棵树,要求给树上的每条边赋权值,使得任意两个叶子节点的路径上所有权值异或之后为0,边数n范围为[3,1e5],求使用的不同权值数的最小值和最大值。 题解: 任取一个叶子节点为树根建树。则题意可转化为 首先考虑最小值 由异或的性质(a^b^b=a,总存在c使得对任意a,b有a^b^c=0) ...
分类:
其他好文 时间:
2020-04-19 10:57:12
阅读次数:
65