格式一: Oracle JDBC Thin using a ServiceName: jdbc:oracle:thin:@//10.90.130.99:1521/s_rptdb (s_rptdb是oracle数据库的服务名servicename) 格式二: Oracle JDBC Thin usin ...
分类:
数据库 时间:
2020-01-08 10:21:24
阅读次数:
258
前端代码 渲染分类 查询大分类。 第二次查询,查询子类。 拼接第三级分类。 category表。type为1代表是一级分类。 代码从下往上写 创建CategoryService 查询根级目录下的category。不需要任何参数。 创建service的实现类。 重写方法 用Example传入参数 In ...
分类:
其他好文 时间:
2020-01-08 00:31:38
阅读次数:
82
动作事件 1、P255例13.22,以及P256例13.23,注意比较用 普通当前类和匿名内部类两种方式实现按钮对象的事件监听器。(必做题,20分) 运行截图: 鼠标事件 1、P460【例25.2】一个用来演示鼠标事件的典型示例MouseEvent_Example(必做题,20分) 运行截图: 2、 ...
分类:
其他好文 时间:
2020-01-07 23:00:31
阅读次数:
147
创建开发仓库 打开git Bash,删除之前root管理创建的仓库目录 rm -rf admin-test 选择项目进行拷贝 ? 克隆 # git -c http.sslVerify=false clone https://gitlab.example.com/root/admin-test.git ...
分类:
其他好文 时间:
2020-01-07 17:55:31
阅读次数:
147
一、Broadcast自动扩展 Expand和unsquee的结合,习惯性行是高维度,列是低维度 example: 小维度指定,大维度随意 二、拼接与拆分 Cat Stack:增加新的维度 Split(按照长度进行拆分) Chunk(按照数量进行拆分) torch.stack torch.stack ...
分类:
其他好文 时间:
2020-01-07 16:23:58
阅读次数:
106
题目描述 题目描述 Redraiment是走梅花桩的高手。Redraiment总是起点不限,从前到后,往高的桩子走,但走的步数最多,不知道为什么?你能替Redraiment研究他最多走的步数吗? 样例输入 6 2 5 1 5 4 5 样例输出 3 提示 Example: 6个点的高度各为 2 5 1 ...
分类:
其他好文 时间:
2020-01-07 16:19:55
阅读次数:
447
Given n, how many structurally unique BST's (binary search trees) that store values 1 ... n? Example: Input: 3 Output: 5 Explanation: Given n = 3, the ...
分类:
其他好文 时间:
2020-01-07 13:18:06
阅读次数:
58
1. lua installyum install -y readline-devel ncurses-devewget http://www.lua.org/ftp/lua-5.3.1.tar.gztar zxf lua-5.3.1.tar.gzcd lua-5.3.1make linuxmake ...
分类:
其他好文 时间:
2020-01-06 22:45:43
阅读次数:
140
Description: Given an integer array arr and an integer k, modify the array by repeating it k times. For example, if arr = [1, 2] and k = 3 then the mo ...
分类:
其他好文 时间:
2020-01-06 21:01:13
阅读次数:
108
离线安装和实例化fabric java chaincode 需求 hyperledger fabric由于其本身的特性,目前主要应用于大型国企和银行,其环境的部署一般是与外部网络隔离的。如果采用docker的部署方式,docker镜像可以通过导入即可,但是在安装和实例化的时候需要下载相应的依赖,而且 ...
分类:
编程语言 时间:
2020-01-06 15:06:12
阅读次数:
147