码迷,mamicode.com
首页 >  
搜索关键字:shell time expr wait    ( 86807个结果)
[react-router] hashHistory 和 browserHistory 的区别
更多 react-router提供了三种方式来实现路由,并没有默认的路由,需要在声明路由的时候,显式指定所使用的路由。 //v1.x <Router/> //v2.0.0 // hash history import { hashHistory } from 'react-router' <Rout ...
分类:其他好文   时间:2021-06-02 13:31:44    阅读次数:0
css modules与antd一起使用时,antd样式不生效解决方案
css modules与antd一起使用时,antd样式不生效解决方案 最近在做历史项目的依赖升级,历史依赖版本: "react": "^15.5.4", "react-dom": "^15.5.4", "antd": "^2.10.1", "autoprefixer": "6.7.2", "bab ...
分类:Web程序   时间:2021-06-02 13:26:27    阅读次数:0
Python列表初始化的坑
二维列表初始化 L=[[0]*n]*m方式初始化 初始化一个 \(m\times n\) 的二维列表,初值全为0 L=[[0]*3]*2 print("初始的:",L) #赋值 for i in range(2): for j in range(3): L[i][j]=i+j print("赋值后: ...
分类:编程语言   时间:2021-06-02 12:38:38    阅读次数:0
使用python写水仙花数、四叶玫瑰数、五角星数
#!/usr/bin/python # -*- coding:utf-8 -*- import time # 格式化成2016-03-20 11:45:39形式 nowTime = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()) print( ...
分类:编程语言   时间:2021-06-02 12:30:27    阅读次数:0
AVL树, 平衡二叉搜索树, 平衡二叉树
#include <stdio.h> #include <stdlib.h> #include <time.h> #define max(a, b) ((a) > (b) ? (a) : (b)) typedef struct Node { int key, height; struct Node ...
分类:其他好文   时间:2021-06-02 12:24:05    阅读次数:0
Hbuilderx 新建终端标签卡 无任何反应
HBuild X 终端无法使用,无法输入,解决方法 打开HBuild X 的安装文件夹 打开如下路径:plugins\builtincef3terminal\script 打开main.js 文件 if(isWin){ shell = 'C:\\Windows\\System32\\WindowsP ...
分类:其他好文   时间:2021-06-02 12:14:47    阅读次数:0
python 监测window任务管理器某一进程状态,并邮件提醒
import os import time import smtplib from email.mime.text import MIMEText from email.header import Header sender = '2575125xxx@qq.com' receivers = ['1 ...
分类:编程语言   时间:2021-06-02 11:42:46    阅读次数:0
Linux Shell经典面试题
查空行 awk '/^$/{print NR}' demo1.txt 求某一列的和 awk '{sum+=$2} END {print "求和:"sum}' demo2.txt 数字排序 sort -n -t ' ' -k 2 demo3.txt sort -t ' ' -k 2nr demo3.t ...
分类:系统相关   时间:2021-06-02 11:35:11    阅读次数:0
mysql容器定时备份数据
#!/usr/bin/env python # encoding: utf-8 import datetime import os import shutil import subprocess import time import zipfile # 数据库用户名 db_user = "root" ...
分类:数据库   时间:2021-06-02 11:05:03    阅读次数:0
⑤.shell 循环while
语法示例: while 条件为真 do echo ok done #!/bin/bash while true do echo ok done while循环数字 #!/bin/bash a=1 b=9 while [ $a -lt 10 ] do sum=$((a + b)) echo $a + ...
分类:系统相关   时间:2021-06-02 11:02:44    阅读次数:0
共86807条   上一页 1 ... 21 22 23 24 25 ... 8681 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!