zookeeper zookeeper安装配置 从官网下载zookeeper的安装包:官网推荐的zookeeper镜像下载网站 将zookeeper的压缩包解压到指定安装目录 在zookeeper安装目录新建 data 和 log 文件夹,将conf目录下的 zoo_sample.cfg 文件,复制 ...
分类:
其他好文 时间:
2021-02-23 14:36:36
阅读次数:
0
Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback. Tue Feb 23 12:24:05 CST 2021 There wa ...
分类:
编程语言 时间:
2021-02-23 14:36:04
阅读次数:
0
1、创建UDF函数 假定有两个均以,作为分隔符字符串序列@m和@n。判断@m和@n是否有交集,我们可以创建如下的函数来实现,返回0为无交集,返回1为有交集。 /****** Object: UserDefinedFunction [dbo].[Func_IsInner] Script Date: 2 ...
分类:
数据库 时间:
2021-02-23 14:33:46
阅读次数:
0
说明:当前测试为thinkphp5环境下的代码、不考虑用户uid问题,只考虑库存问题 准备: 1. 新建两个表(goods、orders) CREATE TABLE `goods` ( `id` int NOT NULL AUTO_INCREMENT, `name` varchar(30) NOT ...
分类:
其他好文 时间:
2021-02-23 14:30:21
阅读次数:
0
Oracle OCP 19c 认证1Z0-082考试题库(第6题)-CUUG整理 You have been tasked to create a table for a banking application. One of the columns must meet three requirem ...
分类:
数据库 时间:
2021-02-23 14:20:15
阅读次数:
0
1. 简单封装使用 创建一个request组件来定义全局url import axios from 'axios'; export const newVar = axios.create({ baseURL:"http://127.0.0.1:8080", timeout: 5000 }) 切记这里 ...
分类:
移动开发 时间:
2021-02-23 14:10:47
阅读次数:
0
在python中Template可以将字符串的格式固定下来,重复利用。 1、使用 string.Template 拼接时,要在名字前加前缀$来标识变量(例如, $var) 如果有必要区分变量和周围的文本,可以用大括号包围变量(例如,${va r}) import string values = {' ...
分类:
其他好文 时间:
2021-02-22 12:46:59
阅读次数:
0
sharding: jdbc: config: sharding: tables: myorder: key-generator-column-name: id #主键 actual-data-nodes: db$->{0..1}.myorder_$->{0..1} #分库策略 database‐s ...
分类:
数据库 时间:
2021-02-22 12:45:00
阅读次数:
0
JAVA 暴力解法: public final int networkDelayTime(int[][] times, int n, int k) { Map<Integer, List<Integer[]>> map = new HashMap<Integer, List<Integer[]>>( ...
分类:
编程语言 时间:
2021-02-22 12:12:04
阅读次数:
0
SSM整合 1、数据库用表: CREATE DATABASE ssmbuild;USE ssmbuild;CREATE TABLE `books`(`bookID` INT NOT NULL AUTO_INCREMENT COMMENT '书id',`bookName` VARCHAR(100) N ...
分类:
其他好文 时间:
2021-02-22 12:00:55
阅读次数:
0