案例1通过文件描述符控制并发数#用fifo处理shell下多进程并发:#!/bin/bash#author:vaedit#date:2017-8-15#需要执行的工作函数functionmima(){opensslrand-base6440>>ssf.txt}#判断是否存在fifo文件if[-e/tmp/$$.fifo];thenrm-rf/tmp/$$.fifofi#创建$$.fif
分类:
系统相关 时间:
2020-08-13 11:55:19
阅读次数:
82
title: woj1019 Curriculum Schedule 输入输出 date: 2020-03-19 10:43:00 categories: acm tags: [acm,woj] 水题,处理好输入输出就可以 1 描述 New semester has begun, a lot of ...
分类:
其他好文 时间:
2020-08-12 14:05:12
阅读次数:
48
date 显示系统日期 curl ifconfig.me linux下获取自己的外网IP 磁盘空间: df -h 显示已经挂载的分区列表 du -sh dir5 (-s表示总结的意思) 即只列出一个总结的值 du -ah dir5 (-a表示包括目录和文件) 文件和目录操作: ls -l 显示文件和 ...
分类:
系统相关 时间:
2020-08-10 00:10:26
阅读次数:
192
jQuery UI 中的 datepicker( )方法 学习要点: 调用 datepicker( ) 方法 修改 datepicker()样式 datepicker( ) 方法的属性 datepicker( ) 方法的事件 一、调用 datepicker()方法 $('#date').datepi ...
分类:
Web程序 时间:
2020-08-09 14:23:28
阅读次数:
82
在mybatis的学习中,狂神建议字符串匹配直接将模糊匹配的符号放在字符串中,如:匹配'keWord',那么实际所使用的参数应该为'%keyWord%' map.put("keyWord","%" + keyWord + "%"); <select id="getUserLikeGaojianLis ...
分类:
数据库 时间:
2020-08-09 09:24:19
阅读次数:
109
创建一个 filter 文件夹,在里面创建 index.js 文件,用于存储所有全局过滤器 创建过滤器 const dateFormat = date=>{ // console.log(typeof(date)) if(typeof(date) "string"){ return date }el ...
分类:
其他好文 时间:
2020-08-08 10:34:54
阅读次数:
82
首先从ES的支持的字段说起,ES文档中字段有多种类型 官方文档。 这几个比较常用: text,keyword,integer,float,boolean,object,geo_point(地理坐标),geo_shape(描述地理区域),date. 注:不要以为date只能表示 2015-01-01 ...
分类:
其他好文 时间:
2020-08-07 18:08:11
阅读次数:
84
场景 使用了第三方的组件UI,在调用事件时想要获取事件的默认值及默认值之外的其他参数值,如:index 代码如下: <div style="display: flex; padding-top: 20px;" v-for="(date, index) in dynamicFormData.dates ...
分类:
其他好文 时间:
2020-08-07 12:33:37
阅读次数:
93
啥也不说,直接上代码 <el-date-picker v-model="query.strYear" type="year" format="yyyy" value-format="yyyy" placeholder="请选择"> </el-date-picker> <el-date-picker ...
分类:
其他好文 时间:
2020-08-06 16:59:01
阅读次数:
169