#如果已有用户,清除掉userdel user1rm -rf /home/user1rm -rf /var/spool/mail/user1 #新建sftp组、具体用户user1groupadd sftpuseradd -G sftp -s /sbin/nologin user1passwd use ...
分类:
其他好文 时间:
2020-07-23 16:34:51
阅读次数:
64
这个Power Automate帮助用户去match Excel 中 table的数据 蓝色table和绿色table相match的数据才会被加入到match表中 流程比较简单 首先我们需要一个触发点 其次, 找到list rows Excel控件. 然后选择需要的table1 然后我们用apply ...
分类:
其他好文 时间:
2020-07-23 09:23:02
阅读次数:
86
MVC-即Model,View,Controller,三层架构模式。model作为领域模型,是维持应用状态,提供业务功能的领域模型;View-指UI层,用于和用户的交和页面的展示;而Controller则是定义具体了UI 逻辑功能。传统的MVC模式,并没有严格的定义,即Model层也可以直接返回给v ...
分类:
Web程序 时间:
2020-07-23 01:50:11
阅读次数:
92
在c++中检查字符串是否包含另一串字符串,这个本来是我做过的一个算法题,不过最近刚好有个需求让我想到了这个题,就在此记录一下! 使用std::string::findfunction string str ("There are two needles in this haystack."); st ...
分类:
编程语言 时间:
2020-07-22 02:02:45
阅读次数:
79
var str = 'abcd来了efg'; var len = str.match(/[^ -~]/g) == null ? str.length : str.length + str.match(/[^ -~]/g).length ; 截取固定长度的中英文字符串 (汉字算2个) function ...
分类:
其他好文 时间:
2020-07-21 23:26:57
阅读次数:
111
自行安装 elementUI和pinyin-match 组件 <template> <el-select v-model="newValue" :filterable="filterable" :multiple="multiple" :filter-method="filterMethod" v- ...
分类:
其他好文 时间:
2020-07-21 21:27:48
阅读次数:
183
@Test public void testRegex() throws Exception { String str="das:! $%#*(*("; String regEx = "[`~!@#$%^&*()+=|{}':;'\\[\\].<>/?~!@#¥%……&*()——+|{}【】‘;:” ...
分类:
编程语言 时间:
2020-07-21 14:03:52
阅读次数:
76
#取出字符串中汉字import reres = re.match(r'[\u4E00-\u9FA5\s]+', '我是 派森')print(res) 结果:<re.Match object; span=(0, 5), match='我是 派森'> print(res.group()) 结果:我是 派 ...
分类:
其他好文 时间:
2020-07-21 09:32:25
阅读次数:
115
首先 一看到名字 就去搜索了 Calc注入 想通过知识点 自己完成 而不是 跟着题解走 然后 看文章 表达式注入 同步测试: 找到api: http://node3.buuoj.cn:28564/calc.php GET 参数: num 测试 1*2 返回 2 然后发现毫无卵用 乖乖搜题解 Roar ...
分类:
其他好文 时间:
2020-07-20 15:41:56
阅读次数:
81
/** * 截取完整字符串中的host * @param {String} url 地址 * @returns {String} host */ export const GetHost = (url) => { url = url.match(/https?:\/\/([^/]+)\//i); l ...
分类:
Web程序 时间:
2020-07-17 19:18:17
阅读次数:
97