DFS 解法 class Solution { public int numIslands(char[][] grid) { int count=0; for(int i=0;i<grid.length;i++){ for(int j=0;j<grid[0].length;j++){ if(grid ...
分类:
其他好文 时间:
2021-01-21 10:54:58
阅读次数:
0
导读 Pod容器想要获取集群的资源信息,需要配置角色和ServiceAccount进行授权。为了更精细地控制Pod对资源的使用方式,Kubernetes从1.4版本开始引入了PodSecurityPolicy资源对象对Pod的安全策略进行管理。 Pod特权模式 容器内的进程获得的特权几乎与容器外的进 ...
分类:
其他好文 时间:
2021-01-21 10:54:42
阅读次数:
0
HBase 虽然可以存储数亿或数十亿行数据,但是对于数据分析来说,不太友好,只提供了简单的基于 Key 值的快速查询能力,没法进行大量的条件查询。现有hbase的查询工具有很多如:Hive,Tez,Impala,Shark/Spark,Phoenix等。今天主要说Hive,Hive方便地提供了Hiv ...
分类:
其他好文 时间:
2021-01-21 10:54:30
阅读次数:
0
领取地址:https://mp.weixin.qq.com/s/4DgTDgZxqh8si4QkE_xY5w 领取地址:https://mp.weixin.qq.com/s/4DgTDgZxqh8si4QkE_xY5w ...
分类:
其他好文 时间:
2021-01-21 10:54:05
阅读次数:
0
重载 重载 BeginTransaction() 开始数据库事务。 BeginTransaction(IsolationLevel) 以指定的隔离级别启动数据库事务。 BeginTransaction(String) 以指定的事务名称启动数据库事务。 BeginTransaction(Isolati ...
分类:
数据库 时间:
2021-01-21 10:53:49
阅读次数:
0
使用python自带的logging日志模块 1.简单设置 import logging # 设置log级别为 info logging.basicConfig(level=logging.INFO) # error > debug > info def run(*args, **kwargs): ...
分类:
编程语言 时间:
2021-01-21 10:53:34
阅读次数:
0
今日所学: SQList基础语法 SDList下载地址 SQLite Download Page SQList安装教程SQLite的安装与基本操作 - 极客开发者-博客 ListView用法 没遇到什么问题 成果展示 明日计划: 保存用户信息到数据库 ...
分类:
数据库 时间:
2021-01-21 10:53:23
阅读次数:
0
环境: JDK1.8 Mysql 5.7 maven 3.6.1 IDEA SSM框架:配置文件的。 最好的方式:看官网文档; 1、简介 1.1、什么是Mybatis MyBatis 是一款优秀的持久层框架 它支持定制化 SQL、存储过程以及高级映射。 MyBatis 避免了几乎所有的 JDBC 代 ...
分类:
其他好文 时间:
2021-01-21 10:53:07
阅读次数:
0
package superkeyword; /* * 举个例子:在恰当的时间使用:super(实际参数列表); * */ //测试程序 public class SuperTest03 { public static void main(String[] args) { CreditAccount ...
分类:
其他好文 时间:
2021-01-21 10:52:51
阅读次数:
0
1、导入Pom依赖 <!--引入EasyExcel,同时需要引入poi的包--> <dependency> <groupId>com.alibaba</groupId> <artifactId>easyexcel</artifactId> <version>2.1.1</version> </dep ...
分类:
其他好文 时间:
2021-01-21 10:52:39
阅读次数:
0
listen 80; server_name localhost; # 访问"localhost"的全部请求会被转发到"localhost:81" # localhost => localhost:81 # localhost/a/ => localhost:81/a/ # localhost/b/ ...
分类:
其他好文 时间:
2021-01-21 10:52:23
阅读次数:
0
Given an increasing sequence S of N integers, the median is the number at the middle position. For example, the median of S1 = { 11, 12, 13, 14 } is 1 ...
分类:
其他好文 时间:
2021-01-21 10:52:05
阅读次数:
0
上一篇实现的效果是在浏览器中输入路径,加载对应的组件,但是在实际使用上,不可能让用户去这么做,应该在某个页面上,给出对应组件的链接,用户点击,则加载该组件 写一个导航组件,列出三个组件的链接(暂时使用a链接,下面会使用路由组件) 在根组件中,注册tabbar组件 router组件提供了路由的组件,r ...
分类:
其他好文 时间:
2021-01-21 10:51:53
阅读次数:
0
一、使用docker安装sonatype/nexus3私有maven仓库简介 安装命令根据实际部署情况调整 版本地址:官方镜像主页 | 发布版Tags 最新版本命令: docker pull sonatype/nexus3:latest 指定版本命令: docker pull sonatype/ne ...
分类:
其他好文 时间:
2021-01-21 10:51:38
阅读次数:
0
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_ ...
分类:
其他好文 时间:
2021-01-21 10:51:22
阅读次数:
0
下载mysql8.0rpm安装包 wget https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm 安装yum repo文件 rpm -ivh mysql80-community-release-el7-11.noar ...
分类:
数据库 时间:
2021-01-21 10:51:08
阅读次数:
0
一、线程的概念: 1、线程是进程中执行代码的一个分支,每个执行分支想要执行代码都需要CPU进行调度。即:线程是CPU调度的基本单位 2、每个进程中至少要有一个线程,就是主线程。 二、线程的作用 实现多任务的一种方式。 三、多线程的特点 可以共享全局变量。(因为在一个进程里) 四、基本语法 impor ...
分类:
编程语言 时间:
2021-01-21 10:50:51
阅读次数:
0