FastJson 将对象转换为JSON字符串 下载地址:https://github.com/alibaba/fastjson 转换JSON字符串的步骤: 1. 引入JAR包 ①IDEA中新建文件夹lib ②粘贴fastjson-1.2.70.jar文件 ③打开File-Project Struct ...
分类:
Web程序 时间:
2021-05-23 23:27:08
阅读次数:
0
1.ls命令 红色:表示hello.sh这个文件的所有者是root 绿色:表示hello.sh这个文件的所属组是root组。 分所有者和所有组是为了分配权限,rwxr-xr-x,中rwx的权限分配给所有者,即hello.sh这个文件,所有者root有读r,写w,执行x的权限,所属组root的权限是r ...
分类:
系统相关 时间:
2021-05-23 23:26:47
阅读次数:
0
ssh基于key验证 1,在客户端生成公钥私钥对并将公钥拷到要连接的服务器上,验证是否成功 [root@localhost ~]# ssh-keygen Generating public/private rsa key pair. Enter file in which to save the k ...
分类:
其他好文 时间:
2021-05-23 22:59:40
阅读次数:
0
关于Ecpilse使用 配置 选用JavaEE透视图,而非Java透视图 编码 UTF-8:Window-->prefrences-->General >Workspace >Text file encoding >Other -->UTF-8 字体调节:Window-->prefrences--> ...
分类:
系统相关 时间:
2021-05-23 22:58:22
阅读次数:
0
红色方框要引入箭头里面的 import sys sys.path.append('../../config/') from database import * print(MYSQL_CONFIG) ...
分类:
编程语言 时间:
2021-05-20 17:53:11
阅读次数:
0
前言 go的测试用例一般分两种 单元测试:主要测试代码可运行正确行,相当于运行一遍编写代码 基准测试:主要是对性能的测试 gotest 的变量 test.short : 一个快速测试的标记,在测试用例中可以使用 testing.Short() 来绕开一些测试 test.outputdir : 输出目 ...
分类:
其他好文 时间:
2021-05-04 16:32:30
阅读次数:
0
const http=require('http') const fs=require('fs') const path=require('path') const server=http.createServer(function(req,res){ const {url}=req console ...
分类:
Web程序 时间:
2021-05-04 15:44:00
阅读次数:
0
import os # os.mkdir("n1") # 创建目录 # 创建文件 # with open('1.txt',mode='w') as file: # file.write('11111') # os.mknod("n1.txt") # 创建文件,windows上面不支持,linux中支 ...
分类:
编程语言 时间:
2021-05-04 15:43:42
阅读次数:
0
makefile makefile|Makefile 目标:依赖 tab键 规则命令 版本一 app:main.c add.c gcc -o app -I./include main.c add.c 版本二 app: main.o add.o gcc -o app -I./include main. ...
分类:
编程语言 时间:
2021-05-04 15:41:38
阅读次数:
0
支持s3是cubestore 一个很不错的特性,可以提高系统的扩展性 参考修改 主要是添加endpoint 以及配置使用path格式请求 s3.rs impl S3RemoteFs { pub fn new( dir: PathBuf, region: String, endpoint:String ...
分类:
其他好文 时间:
2021-05-04 15:33:00
阅读次数:
0