<input type="file" name="dddd" id="imgs"> <input type="button" onclick="ck()" value="submit" /> var reader = new FileReader(); var AllowImgFileSize = ...
分类:
其他好文 时间:
2021-04-27 14:37:23
阅读次数:
0
环境变量(environment variable) 环境变量是在bash shell 的一个特性,用来存储系统信息、临时数据以及配置信息。在bash shell中,环境变量可分为两类:全局变量和局部变量。 全局变量: 作用范围:当前shell进程及其子shell进程 查看全局环境变量: 查看所有全 ...
分类:
系统相关 时间:
2021-04-27 14:34:01
阅读次数:
0
1、安装 Homebrew, $/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh 命令输入后出现报错:curl: (7) Failed to connect ...
分类:
数据库 时间:
2021-04-26 13:47:29
阅读次数:
0
proxy_set_header client_body_buffer_size proxy_connect_timeout 代理和real 的超时 proxy_send_timeout proxy_read_timeout proxy_buffer_size proxy_buffers ...
分类:
其他好文 时间:
2021-04-26 13:41:48
阅读次数:
0
First reader and writers problem (读者优先) no reader be kept waiting unless a writer has obtain permission to write semaphore rw=1, readcnt_m=1; int read ...
分类:
其他好文 时间:
2021-04-26 13:39:39
阅读次数:
0
9-1.命令执行介绍1)命令执行漏洞原理命令执行漏洞定义:WEB应用程序接收用户输入,拼接到要执行的系统命令中执行。产生原因:1、用户输入未过滤或净化;2、拼接到系统命令中执行。2)PHP下命令执行函数在PHP中具有执行系统命令功能的函数如下等:1、system2、exec3、shell_exec4 ...
分类:
其他好文 时间:
2021-04-26 13:31:21
阅读次数:
0
UVA11361 Investigating Div-Sum Property 给定 \(A,B,K\),求在 \([A , B]\) 中,有多少个整数本身能被 \(K\) 整除,并且各个位上数字之和也能被 \(K\) 整除。 一道非常经典的数位 DP 题。 设 \(f(d,m_1,m_2)\) 表 ...
分类:
其他好文 时间:
2021-04-26 13:29:15
阅读次数:
0
后端代码 from jinja2 import Template def index(): with open('./index.html', 'r', encoding='utf-8') as fp: template = Template(fp.read()) ret = template.re ...
分类:
其他好文 时间:
2021-04-26 13:08:43
阅读次数:
0
如何每秒执行任务? 没有直接的解决方案。因为在Cron中,最小的时间帧是分钟,不能进行每秒钟执行某个任务。 # 方案一:systemd Timer 可以使用systemd Timer,它支持以秒为时间帧来执行任务。 # 方案二:Shell Script 在Cron中,最小的时间帧是分钟。因此可以写一 ...
分类:
其他好文 时间:
2021-04-24 13:38:24
阅读次数:
0
Create an IAM User Give Admin access Create DynamoDB Table 1) Create facts table: **** (use ^ - Shift + 6 if you are a windows user, not \) **** aws d ...
分类:
数据库 时间:
2021-04-24 13:25:08
阅读次数:
0