需要一个启动类 import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.mybatis.generator.api.MyBatisGe ...
分类:
数据库 时间:
2021-03-08 13:12:33
阅读次数:
0
打开 在Python中,使用open函数,可以打开一个已经存在的文件,或者创建一个文件,语法如下: 变量(文件对象) = open(name,mode) name:是要打开的目标文件名的字符串(可以包含文件具体路径) mode:设置打开文件的模式(访问模式):只读、写入、追加等 打开文件模式 **注 ...
分类:
编程语言 时间:
2021-03-08 13:11:36
阅读次数:
0
单行文本框:text 密码框:password 单选按钮:radio 文本域:textarea 复选框:checkbox 下拉列表:select 提交按钮:submit 重置按钮:reset 隐藏域:hidden 上传域:file 禁用:disabled 只读:readonly 图像域:image ...
分类:
Web程序 时间:
2021-03-08 13:07:19
阅读次数:
0
代码模板: Settings > Editor > File and Code Templates > Files1.例如mybatis的主配置文件 <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE configuration PUBLIC "-// ...
分类:
其他好文 时间:
2021-03-06 15:05:52
阅读次数:
0
Given a collection of number segments, you are supposed to recover the smallest number from them. For example, given { 32, 321, 3214, 0229, 87 }, we c ...
分类:
其他好文 时间:
2021-03-06 14:47:20
阅读次数:
0
漏洞关键字 SQL注入: select insert update mysql_query mysqli等 文件上传: $_FILES,type="file",上传,move_upload_file()等 XSS跨站: print print_r echo sprintf die var_dump ...
分类:
其他好文 时间:
2021-03-06 14:12:18
阅读次数:
0
# -*- coding: utf-8 -*- """ File Name: conf.py Description : 读取当前文件上级目录conf 内hcs_conf.yaml的内容,返回yaml 对象 Author : jiaoyaxiong date: 2019/7/22 Change Ac ...
分类:
其他好文 时间:
2021-03-05 13:08:41
阅读次数:
0
##多实例出现 充分的利用主机资源 拆分数据库,限制单个实例大小 资源隔离,减小相互影响 分担连接数 ##mysql配置文件读取 读取配置文件顺序: /etc/my.cnf /etc/mysql/my.cnf /usr/local/mysql/etc/my.cnf ~/.my.cnf --defau ...
分类:
数据库 时间:
2021-03-05 12:56:30
阅读次数:
0
File upload XSS Description This script is possibly vulnerable to XSS (Cross-site scripting). The web application allows file upload and Acunetix was ...
分类:
其他好文 时间:
2021-03-04 13:34:27
阅读次数:
0
今天无聊,用php封装了一套比较简单的http请求类 细节方面可以再优化 class Creeper { public $url; public $header; public $text; public $responseHeader; public function __construct($u ...
分类:
Web程序 时间:
2021-03-04 13:21:20
阅读次数:
0