number数字类型 包含:常规数字,NaN NaN not a number:不是一个数,但是他率属于数字类型 <script src = "test.js"></script> //test.js //console.log([val]): //console.log("hello word!" ...
分类:
Web程序 时间:
2020-07-10 13:46:13
阅读次数:
97
1. fetch why: XMLHttpRequest 是一个设计粗糙的 API,配置和调用方式非常混乱, 而且基于事件的异步模型写起来不友好。 兼容性不好 https://github.com/camsong/fetch-ie8 get //fetch get fetch("json/test. ...
分类:
移动开发 时间:
2020-07-10 13:27:38
阅读次数:
64
public class test { public static void main(String[] args) { // TODO Auto-generated method stub String ipsearch="11.168.1.101-103/126/129/200-204"; ip ...
分类:
编程语言 时间:
2020-07-10 13:01:53
阅读次数:
84
使用mybatis传入参数, 当参数类型是String ,Integer 等这些时。如果用他的<if test="year != null and year != ''">标签判断该参数是否为空,通常会爆There is no getter for property named ‘year’ in ...
分类:
编程语言 时间:
2020-07-10 11:48:18
阅读次数:
80
# coding: utf-8 import tensorflow as tf import os os.environ["CUDA_VISIBLE_DEVICES"] = "-1" print(tf.__version__) print(tf.test.is_gpu_available()) fr ...
分类:
其他好文 时间:
2020-07-10 10:00:02
阅读次数:
62
package com.sjw.flink import org.apache.flink.configuration.Configurationimport org.apache.flink.streaming.api.functions.sink.{RichSinkFunction, SinkF ...
分类:
其他好文 时间:
2020-07-10 00:43:32
阅读次数:
74
题目链接 点我呀 翻译 给你一个长度为 \(n\) 的数组。 你可以将某个位置上的数字换成 \(mex\) 最多 $2*n$ 次。 让你把这个数组变成不下降的,这个数组中的数字都在 $0..n$ 之间。 \(mex\) 表示没有出现过的最小的整数。 题解 构造题,我们可以把目标改为让最后的数组变成 ...
分类:
其他好文 时间:
2020-07-10 00:20:32
阅读次数:
83
1、文件读写模式 r: 读取模式(默认值) w: 写入模式 x: 独占写入模式 a: 附加模式 b: 二进制模式(与其他模式结合使用) t: 文本模式(默认值,与其他模式结合使用) +: 读写模式(与其他模式结合使用) >>>>使用open函数打开文件 f = open("test.txt"); > ...
分类:
编程语言 时间:
2020-07-10 00:05:48
阅读次数:
56
批量导出Import-Csv -Path c:\user.csv | foreach-object -process {New-MailboxExportRequest -Mailbox $_.name -FilePath "\\serverip\test\$_.name.pst"}删除test用户 ...
分类:
其他好文 时间:
2020-07-10 00:03:27
阅读次数:
79
此文基于switch的注意事项而发,其中某些情况可能并不常见,但还是小心为好,能够帮助我们精简代码(编译环境:cmder) 匹配项不精准 ①某些case可能永远匹配不到,造成浪费 package main import "fmt" func test(char byte) byte { return ...
分类:
其他好文 时间:
2020-07-09 22:33:34
阅读次数:
77