码迷,mamicode.com
首页 >  
搜索关键字:shell time expr wait    ( 86807个结果)
js 防抖节流
1 // 防抖 2 function debounce(func,delay){ 3 let timer = null 4 return function(){ 5 let context = this 6 let args = arguments 7 if(timer) clearTimeout( ...
分类:Web程序   时间:2021-04-24 11:51:25    阅读次数:0
前端计算两个时间差以时分秒的格式展示
let staytimeGap = new Date(closedtime).getTime() - new Date(createtime).getTime(); let stayHour = Math.floor(staytimeGap / (3600 * 1000)); let leave1 ...
分类:其他好文   时间:2021-04-24 11:48:09    阅读次数:0
爬虫 第三弹
1.selenium 基本操作 from selenium import webdriver from time import sleep #实例化一款浏览器对象 bro = webdriver.Chrome(executable_path='chromedriver.exe') #executab ...
分类:其他好文   时间:2021-04-23 12:20:22    阅读次数:0
基本的dos命令
powershell快捷打开方式 powershell打开:在任意目录下,按住shift,然后右键,选择“在此处打开powershell”即可 常用dos命令 #盘符切换 d:\ ...
分类:其他好文   时间:2021-04-23 12:05:00    阅读次数:0
linux shell while循环
1、测试1 [root@centos7 test2]# i=0 [root@centos7 test2]# max=5 [root@centos7 test2]# while((i<max));do echo $i;((i++));done 0 1 2 3 4 ...
分类:系统相关   时间:2021-04-23 12:03:54    阅读次数:0
[SQL Server] 只更新表中某一部分数据的实现方法
https://blog.csdn.net/dietime1943/article/details/72742651 错误的做法: update 表1 set 表1.字段= (SELECT表2.字段FROM表2 where 表2.ID = 表1.ID) 后面这种情况其实可以使用left join的方 ...
分类:数据库   时间:2021-04-23 12:02:59    阅读次数:0
java 定时任务接口scheduledExecutorService
一、ScheduledExecutorService 设计思想 ScheduledExecutorService,是基于线程池设计的定时任务类,每个调度任务都会分配到线程池中的一个线程去执行,也就是说,任务是并发执行,互不影响。 需要注意,只有当调度任务来的时候,ScheduledExecutorS ...
分类:编程语言   时间:2021-04-23 12:00:54    阅读次数:0
adb 截屏和录屏
1、截屏 adb shell screencap -p /sdcard/a.png 2、录屏 adb shell screenrecord /sdcard/a.mp4 ...
分类:数据库   时间:2021-04-23 11:57:08    阅读次数:0
linux shell if语句
1、测试1 [root@centos7 test2]# ls a.txt [root@centos7 test2]# if [ -e a.txt ]; then echo "exist";else echo "no nxist"; fi exist [root@centos7 test2]# if ...
分类:系统相关   时间:2021-04-23 11:53:02    阅读次数:0
linux shell脚本中流程控制语句 if 、for、while、case
linux shell脚本中流程控制语句 if、for、while、case 1、if语句 [root@centos7 test2]# ls test.sh [root@centos7 test2]# pwd /home/test2 [root@centos7 test2]# cat test.sh ...
分类:系统相关   时间:2021-04-22 16:20:40    阅读次数:0
共86807条   上一页 1 ... 37 38 39 40 41 ... 8681 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!