定时器 定时器的分类 1.1延迟定时器(一次性定时器) 延迟定时器:多长时间之后去执行一次,例如:广告弹出语法: setTimeout(callBack,time); //参数:callBack:函数 ->可以传递实名函数也可以传递匿名函数 time:毫秒值 单位(ms) 省略单位 代码示例: // ...
分类:
编程语言 时间:
2021-03-18 14:13:56
阅读次数:
0
HelloWord 新建文件夹,存放代码 新建一个Java文件 文件后缀名.java(Hello.java) 编写代码 public class Hello{ public static void main(String[] args){ System.out.print("Hello,world! ...
分类:
其他好文 时间:
2021-03-18 14:11:04
阅读次数:
0
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.Build started 2021/3/17 0:22:07.Project "D: ...
分类:
编程语言 时间:
2021-03-17 15:05:07
阅读次数:
0
import numpy as np import nvector as nv # 基于 geopandas 取 postgis数据 sql = 'SELECT * FROM node_table' g_out = gpd.read_postgis(sql=sql, con=pgisCon, geo ...
分类:
其他好文 时间:
2021-03-17 14:58:34
阅读次数:
0
如果比较两个数值相等的Integer类型的整数,我们可能会发现,用“==”比较(首先你必须明确“==”比较的是地址),有的时候返回true,而有的时候,返回false。比如: Integer i = 128; Integer j = 128; System.out.println(i == j);/ ...
分类:
编程语言 时间:
2021-03-17 14:52:23
阅读次数:
0
当在创建日志表,想生成一个永远不会重复的序列号做唯一键值,来保证每次日志记录都不会被覆盖。 有两种方式,一种带日期的方式,一种是纯GUI ID,参考如下: 1. data: lv_timestamp type timestampl, lv_time_c(30) type c, lv_date typ ...
分类:
其他好文 时间:
2021-03-17 14:41:40
阅读次数:
0
简介: pip install pymssql==2.1.3 安装时报错如下: Running setup.py install for pymssql ... error ERROR: Command errored out with exit status 1: command: /python ...
分类:
数据库 时间:
2021-03-17 14:39:22
阅读次数:
0
1.效果图 2.创建显示框 <style> img[src=""],img:not([src]){ opacity:0; } </style> <body> <! 创建悬浮框--> <img id="s" src="" style="width: 300px; height: 300px;"> </ ...
分类:
其他好文 时间:
2021-03-17 14:31:09
阅读次数:
0
java常用类--System类 常用方法 1、System.currentTimeMillis() public class Demo07 { /** * currentTimeMillis返回从1970年开始到现在的一个时间戳,返回为long类型 */ public static void ma ...
分类:
编程语言 时间:
2021-03-17 14:20:36
阅读次数:
0
基本开发环境: ·Python3.6 ·Pycharm 相关模块使用: import requests import time 目标网页分析: 选择一个影视栏目,F12或者鼠标右键检查,打开开发者工具,选择network,下滑网页 https://haokan.baidu.com/videoui/a ...
分类:
编程语言 时间:
2021-03-17 14:20:20
阅读次数:
0