1.删除某个目录下的几天前的文件 find /u01/app/oracle/diag/rdbms/marc/marc1/trace -mtime +7 -exec rm {} \; find /u01/app/oracle/diag/rdbms/orcl/orcl/trace -mtime +1|x ...
分类:
系统相关 时间:
2020-02-26 10:25:51
阅读次数:
88
112. 路径总和 1 class Solution { 2 public boolean hasPathSum(TreeNode root, int sum) { 3 if(root==null){ 4 return false; 5 } 6 if(sum==root.val && root.le ...
分类:
其他好文 时间:
2020-02-26 01:54:01
阅读次数:
137
You are given a sequence b1,b2,…,bnb1,b2,…,bn . Find the lexicographically minimal permutation a1,a2,…,a2na1,a2,…,a2n such that bi=min(a2i?1,a2i)bi=mi ...
分类:
其他好文 时间:
2020-02-26 01:36:30
阅读次数:
97
javascript属于弱类型,值包含:数字,字符串和布尔值,c++与java属于强类型;int a="a",string a="a" 报错;var a ;原始类型:数字number 字符串string 布尔值 Boolean undefind null,对象object,原始值组合一起;对象分为1... ...
分类:
编程语言 时间:
2020-02-26 01:34:39
阅读次数:
99
庚子鼠年 戊寅月 戊戌日 描述 springboot练习 随笔 整合Druid JDBCTemplate的使用 "https://blog.csdn.net/qq_23329167/article/details/81841996" 参考博客:https://www.cnblogs.com/Simp ...
分类:
其他好文 时间:
2020-02-26 01:33:49
阅读次数:
57
一、技术总结 1. 这一题是关于图的遍历的,首先拿到题目理解题意,可以发现第一个需要考虑的问题是如何存储的问题。 2. 然后就是考虑使用哪种遍历方法的问题,这里使用DFS遍历的方法。 3. 然后还有就是如何存储字符串和编号的问题,使用 ,进行解决。最后就是关于统计每一个连通分量是否达标,一个是人数, ...
分类:
其他好文 时间:
2020-02-25 23:19:38
阅读次数:
80
MongoDB3.6版新特性如下: (1)Default Bind to Localhost 从3.6版本开始,在默认情况下,MongoDB二进制文件mongod和mongos绑定到localhost(127.0.0.0)上。如果在二进制文件中设置了--ipv6选项或者在配置文件中配置了net.ip ...
分类:
数据库 时间:
2020-02-25 21:49:35
阅读次数:
83
1.LC 139 word Break BONUS: 将vector数值存储在unordered_set中去重 vector<string> vs; unordered_set<int> us(vs.begin(),vs.end()); vector通过值找元素只能用find(vector.begi ...
分类:
其他好文 时间:
2020-02-25 20:20:18
阅读次数:
42
Ubuntu 镜像打包 下载对应版本的iso镜像(本文为lubuntu-18.04.1-desktop-amd64.iso),并且确认是否安装根文件系统解压缩及打包工具,没有则通过命令安装: (sudo) apt-get install squashfs-tools genisoimage 1、 解 ...
分类:
系统相关 时间:
2020-02-25 19:41:58
阅读次数:
249
FAQ: Android app 编译好后安装到手机,运行时闪退,报如下错误: java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{io.grpc.helloworldexample/io.grpc.hel ...
分类:
编程语言 时间:
2020-02-25 14:27:13
阅读次数:
65