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
目录 1.vcenter 6.7安装要求;2.vcenter第一阶段安装失败,提示:"Unable to proceed with stage 2 of the deployment process. Click close to exit the installer.”3.无DNS下部署安装vce ...
分类:
其他好文 时间:
2021-05-23 22:59:26
阅读次数:
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
前言 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
1、查看源码得到网卡配置信息 2、输入本地地址,发现重复运行了index.php 3、ip爆破 4、端口爆破 5、用file协议读取文件 这里过滤了file://,可以使用file:/,file: ///,file:_///绕过,读取源码,过滤了 6、redis未授权访问gopher协议利用 过滤了 ...
分类:
Web程序 时间:
2021-05-04 15:28:31
阅读次数:
0