码迷,mamicode.com
首页 >  
搜索关键字:bash shell read    ( 57440个结果)
图片转Base64格式
<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
Linux环境变量
环境变量(environment variable) 环境变量是在bash shell 的一个特性,用来存储系统信息、临时数据以及配置信息。在bash shell中,环境变量可分为两类:全局变量和局部变量。 全局变量: 作用范围:当前shell进程及其子shell进程 查看全局环境变量: 查看所有全 ...
分类:系统相关   时间:2021-04-27 14:34:01    阅读次数:0
Mac OS最简方式安装adb
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_pass
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
09 命令执行
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
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
jinja2的简单使用
后端代码 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」- 使用技巧 @20210423
如何每秒执行任务? 没有直接的解决方案。因为在Cron中,最小的时间帧是分钟,不能进行每秒钟执行某个任务。 # 方案一:systemd Timer 可以使用systemd Timer,它支持以秒为时间帧来执行任务。 # 方案二:Shell Script 在Cron中,最小的时间帧是分钟。因此可以写一 ...
分类:其他好文   时间:2021-04-24 13:38:24    阅读次数:0
[AWS] Lab: Configure a Cognito user can access DynamoDB for read
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
共57440条   上一页 1 ... 34 35 36 37 38 ... 5744 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!