public class Main { public static void main(String[] args) throws Exception { // 两个CompletableFuture执行异步查询: CompletableFuture<String> cfQueryFromSina ...
分类:
编程语言 时间:
2021-04-21 12:05:09
阅读次数:
0
####1.准备站点目录 for i in {android,iphone,firefox,chrome,default} ;do mkdir /html/terminal/${i} && echo $i >/html/terminal/${i}/index.html ;done ####2.准备配 ...
分类:
Web程序 时间:
2021-04-21 12:00:37
阅读次数:
0
var list={};//有时间的集合 createtime endtime 时间戳 int 单位 精确到秒 var ranges = new List<IEnumerable<int>>(); list.ForEach(s => ranges.Add( Enumerable.Range(s.cr ...
UDP 发短信 : 不需要连接但是需要知道对方的地址 发送消息 //不需要连接服务器 public static void main(String[] args) throws Exception { //1.建立一个socket DatagramSocket datagramSocket = ne ...
分类:
其他好文 时间:
2021-04-21 11:50:41
阅读次数:
0
#不要加空格 time1=$(date) echo $time1 > /tmp/output.txt ...
分类:
系统相关 时间:
2021-04-21 11:49:37
阅读次数:
0
1:使用 插件 geolocator ,官网 https://pub.dev/packages/geolocator 2:按照官网配置,代码照抄 static Future<FlutterLocation> determinePosition() async { bool serviceEnable ...
分类:
移动开发 时间:
2021-04-21 11:46:27
阅读次数:
0
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>邮件模板</title> </head> <body> <table width="1024" border="0" cellspacing="0" cellp ...
分类:
Web程序 时间:
2021-04-21 11:46:08
阅读次数:
0
题目描述: 解题思路: 仍然是有序数组,考虑使用二分法 首先用二分法判断第一个target的index值。 nums[mid] == target: 和之前不同的是,这个不一定是第一个target,因此要向左继续寻找 nums[mid] < target:向右寻找 nums[mid] > targe ...
分类:
编程语言 时间:
2021-04-21 11:45:15
阅读次数:
0
关系运算符:=、!=、<>、>=、<= 区间:between A and B -> [A,B] And:并且,和。 Or:或者 Is null:空 Not:否,非 Is not null:非空 In:在什么里面 ...
分类:
其他好文 时间:
2021-04-21 11:43:57
阅读次数:
0
转换情况 数据库表字段名称 实体对象属性名称 比如: user_name userName product_type productType 如果数据库中的字段名称you多个单词构成,通过MyBatis逆向工程生产的对象属性会 按照驼峰命名规则生产属性名称 --> <id column="id" j ...
分类:
编程语言 时间:
2021-04-20 15:46:14
阅读次数:
0