码迷,mamicode.com
首页 >  
搜索关键字:shell time expr wait    ( 86807个结果)
P20 演示定时器
定时器的介绍 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>定时 ...
分类:其他好文   时间:2020-07-12 14:54:51    阅读次数:73
Redis的事件机制
Redis服务器是一个事件驱动程序,服务器需要处理两类事件:文件事件(file event)和时间事件(time event) ##Redis事件处理流程 aeMain函数通过调用aeProcessEvents函数来进行文件事件和时间事件的调度和执行。aeEventLoop中记录了事件相关的信息。首 ...
分类:其他好文   时间:2020-07-12 14:43:46    阅读次数:52
配置jenkins的shell自动打包的脚本
#!/bin/bash#服务名称SERVER_NAME=jenkins-test# 源jar路径,mvn打包完成之后,target目录下的jar包名称,也可选择成为war包,war包可移动到Tomcat的webapps目录下运行,这里使用jar包,用java -jar 命令执行 JAR_NAME=j ...
分类:系统相关   时间:2020-07-12 14:36:31    阅读次数:73
QWaitCondition实现生产者与消费者
TheQWaitConditionclassprovidesaconditionvariableforsynchronizingthreads.//为同步线程提供条件变量boolQWaitCondition::wait(QMutex*lockedMutex,unsignedlongtime=ULONG_MAX)ReleasesthelockedMutexandwaitsonthewaitcondi
分类:其他好文   时间:2020-07-12 14:27:51    阅读次数:69
linux的常见环境变量
记录当前用户的UID。root用户值为0。 [root@localhost script]# echo $UID 0 用于保存用户主目录的完全路径名 [root@localhost script]# echo $HOME/root Bash Shell的全路径 [root@localhost scr ...
分类:系统相关   时间:2020-07-12 14:23:58    阅读次数:82
Codeforces Round #655 (Div. 2) A. Omkar and Completion
A. Omkar and Completion time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You have been ble ...
分类:其他好文   时间:2020-07-12 12:39:13    阅读次数:72
某某天的模拟赛题 IOer(组合数学)
某某天的模拟赛题 IOer(组合数学) 题意 给定 \(n,m,u,v\) , 设 \(t_{i} = ui+v\) , 求 \(\sum_{ \sum_{ i = 1 } ^ {m} { k_{i} =n} } { \prod { {t_{i}} ^ {k_{i}} } }\) 。 \(1 \le ...
分类:其他好文   时间:2020-07-12 12:14:33    阅读次数:68
std:ios:sync_with_stdio (false)以及局限性
如何在输入输出上提高一下效率emmmm 1 #include<iostream> 2 #include<stdio.h> 3 #include<stdlib.h> 4 #include<time.h> 5 using namespace std; 6 7 int main(){ 8 int star ...
分类:移动开发   时间:2020-07-12 12:12:53    阅读次数:67
python实现隔段时间点击一下电脑屏幕的某块区域
import time import pyautogui x, y = 302, 534 # 鼠标需要移动到的位置 num_seconds = 2 # 将鼠标移动到指定坐标的间隔时间 time.sleep(8) # 延迟8秒 pyautogui.moveTo(x, y, duration=num_s ...
分类:编程语言   时间:2020-07-12 11:58:43    阅读次数:98
启动open-falcon失败([falcon-aggregator] failed to start)
最近公司要部署监控,所以一直在研究小米的开源监控系统open-falcon。一切安装好后,启动open-falcon。open-falcon start [falcon-graph] 373[falcon-hbs] 388[falcon-judge] 399[falcon-transfer] 411 ...
分类:其他好文   时间:2020-07-12 10:38:40    阅读次数:88
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!