#include <linux/module.h> // module_init module_exit #include <linux/init.h> // __init __exit #include <linux/cdev.h> #include <linux/fs.h> #define MY ...
分类:
其他好文 时间:
2021-04-01 13:34:35
阅读次数:
0
在剧本中设置循环信息 vim test04.yml hosts: all remote_user: root tasks: name: Add Users user: name={{ item.name }} groups={{ item.groups }} state=present with_i ...
分类:
其他好文 时间:
2021-03-31 11:52:29
阅读次数:
0
DateTime dt_now = DateTime.Now;//获取当前时间 while (dt_now.AddMinutes(1) > DateTime.Now) { //Todo:执行自己的操作 await Task.Delay(1000);//延迟1s } View Code 相对比较优雅一 ...
Lombox的引用: IDEA 2020最后一个版本,已经内置了Lombok插件 SpringBoot 2.1.x之后的版本也在Starter中内置了Lombok依赖 引入包: <dependency> <groupId>org.projectlombok</groupId> <artifactId ...
分类:
编程语言 时间:
2021-03-31 11:45:49
阅读次数:
0
##Java集合一 ####集合的好处 数组开始时长度必须指定,并且不可以修改,类型为相同的元素类型; 而集合可以动态保存多个对象,使用方便;提供了add,remove,set,get等方法; Java中集合分成两组单例集合、双例集合:Collection中两个重要的List和Set接口他们实现的子 ...
分类:
编程语言 时间:
2021-03-31 11:34:38
阅读次数:
0
题目描述: 找出数组中重复的数字。 在一个长度为 n 的数组 nums 里的所有数字都在 0~n-1 的范围内。数组中某些数字是重复的,但不知道有几个数字重复了,也不知道每个数字重复了几次。请找出数组中任意一个重复的数字。 示例 1: 输入:[2, 3, 1, 0, 2, 5, 3]输出:2 或 3 ...
分类:
编程语言 时间:
2021-03-30 13:21:31
阅读次数:
0
vue不同的类型绑定不同的类名 第一种 <div v-for="(item, index) in list" :key="index" > <div class="item-tag" :class="addclassName(item)"> {{ item.cont}} </div> </div> ...
分类:
移动开发 时间:
2021-03-30 13:13:58
阅读次数:
0
air stage.addEventListener(FullScreenEvent.FULL_SCREEN,screenHandle); function screenHandle(e:FullScreenEvent):void { if(!e.fullScreen) { NativeApplic ...
分类:
其他好文 时间:
2021-03-30 13:02:20
阅读次数:
0
Reconstruct Original Digits from English (M) 题目 Given a non-empty string containing an out-of-order English representation of digits 0-9, output the d ...
分类:
其他好文 时间:
2021-03-30 13:01:57
阅读次数:
0
We can rotate digits by 180 degrees to form new digits. When 0, 1, 6, 8, 9 are rotated 180 degrees, they become 0, 1, 9, 8, 6 respectively. When 2, 3, ...
分类:
其他好文 时间:
2021-03-30 12:50:16
阅读次数:
0