一、基本查询 创建部门表: hive (default)> create table if not exists dept( deptno int, dname string, loc int ) row format delimited fields terminated by '\t'; 创建员 ...
分类:
其他好文 时间:
2020-06-17 10:40:21
阅读次数:
45
常见的Request和Response 请求相关 use Psr\Http\Message\RequestInterface;use Psr\Http\Message\ServerRequestInterface;use Hyperf\HttpMessage\Base\Request;use Hyp ...
分类:
其他好文 时间:
2020-06-16 23:29:23
阅读次数:
222
在渲染进程(UI界面)中使用shell模块 //在文件管理器中打开 const { ..., shell } = require('electron'); const showFile = () => { if (!filePath) { return alert('This file has no ...
分类:
系统相关 时间:
2020-06-16 18:13:06
阅读次数:
67
case用法 case 值 in 模式1) command1 command2 command3 ;; 模式2) command1 command2 command3 ;; *) command1 command2 command3 ;; esac 值可以为变量或常数 注意 模式1) 模式2) *) ...
分类:
系统相关 时间:
2020-06-16 15:23:40
阅读次数:
68
插件管理 权限管理插件 role- 凭证管理插件 credentials B 服务器配置 sed -i 's/http:\/\/updates.jenkins-ci.org\/download/https:\/\/mirrors.tuna.tsinghua.edu.cn\/jenkins/g' /v ...
分类:
其他好文 时间:
2020-06-16 15:13:18
阅读次数:
65
一、flask-script用法 flask官方提供了一个扩展组件flask-script可以实现在shell下操作我们的Flask项目。 安装flask-script pip install flask-script 1.flask-script简单实现 server.py from flask ...
分类:
其他好文 时间:
2020-06-16 01:21:19
阅读次数:
79
一、基本需求: 1. 画出架构图; 2. 把配置文件发出来 (nginx.conf和server.xml); 3. 要求实现session共享。 二、Tomcat的Session共享方法: 1. Tomcat自带的Cluster方式 2. 利用Memcached实现 2.1 Tomcat自带的Clu ...
分类:
其他好文 时间:
2020-06-14 23:38:26
阅读次数:
68
逆波兰计算器完整版代码 1.将中缀表达式转为后缀表达式 2.正则表达式 3.递归调用 ReversePolishMultiCala.java代码如下: 1 import java.util.ArrayList; 2 import java.util.Collections; 3 import jav ...
分类:
编程语言 时间:
2020-06-14 20:55:12
阅读次数:
75
什么是struts2 Struts2是一个基于MVC设计模式的Web应用框架,它本质上相当于一个servlet,在MVC设计模式中,Struts2作为控制器(Controller)来建立模型与视图的数据交互。 struts2的工作流程 struts项目的一般组件 开发基本步骤 action=PoJo ...
分类:
其他好文 时间:
2020-06-14 18:31:06
阅读次数:
71
id() 返回对象在内存中的地址 hash() 返回对象的hash值 type() 返回对象的类型 float() int() bin() hex() oct() bool() list() tuple() dict() set() complex() bytes() bytearry() 类型转换 ...
分类:
编程语言 时间:
2020-06-13 23:01:26
阅读次数:
72