<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8"> <!--让浏览器使用最新的IE内核进行渲染页面--> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <!- ...
分类:
其他好文 时间:
2021-01-27 13:31:39
阅读次数:
0
日志写shell show variables like 'general_log'; -- 查看日志是否开启 set global general_log=on; -- 开启日志功能 show variables like 'general_log_file'; -- 看看日志文件保存位置 set ...
分类:
数据库 时间:
2021-01-26 12:40:46
阅读次数:
0
一、文件包含: **文件包含**: 开发人员将相同的函数写入单独的文件中,需要使用某个函数时直接调用此文件,无需再次编写,这种文件调用的过程称文件包含。 **文件包含漏洞**: 开发人员为了使代码更灵活,会将被包含的文件设置为变量,用来进行动态调用,从而导致客户端可以恶意调用一个恶意文件,造成文件包 ...
分类:
其他好文 时间:
2021-01-26 12:37:15
阅读次数:
0
1. break 2.exit(0) 3.sys.exit(0) import file_manager import sys def start(): # try: # with open('file/welcome.txt','r',encoding='utf8') as f: # conten ...
分类:
编程语言 时间:
2021-01-26 12:35:43
阅读次数:
0
C++使用类成员函数作为线程启动函数 1、使用非静态成员函数作为线程启动函数 示例: #include<thread> #include<iostream> #include "Server.h" #include<Windows.h> #include<chrono> using namespac ...
分类:
编程语言 时间:
2021-01-26 12:27:29
阅读次数:
0
# cp [-adfilprsu] 源文件(source) 目标文件(destination)# cp [options] source1 source2 source3 …. directory参数:-a :相当于 -pdr 的意思;-d :若来源文件为连结文件的属性(link file),则复制 ...
分类:
系统相关 时间:
2021-01-26 12:02:15
阅读次数:
0
maven 下载了一个新扩展 导致如下错误: SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/C:/Users/QianXiao/.m2/repository/ch/qos/ ...
分类:
其他好文 时间:
2021-01-26 11:57:22
阅读次数:
0
Managing Growing Projects Packages and Crates A crate is a binary or library. The crate root is a source file that the Rust Compiler starts from and m ...
解决CentOS启动nginx出现nginx: [emerg] open() "/var/run/nginx/nginx.pid" failed (2: No such file or director) 问题: 1.进入sbin:cd /usr/local/nginx/sbin/ 2.启动ngin ...
分类:
其他好文 时间:
2021-01-26 11:49:10
阅读次数:
0
import os def remove_filename(path_dir, start, end): files = [f for f in os.listdir(path_dir) if f.startswith(start) and f.endswith(end)] for file_nam ...
分类:
编程语言 时间:
2021-01-26 11:48:41
阅读次数:
0