linux版本 $ vi ping.txt #!/bin/bash for i in {1..255} do ping -c 3 -i 0.3 -W 3 10.0.50.$i &>/dev/null if [ $? -eq 0 ] ; then echo 10.0.50.$i>>sucess.txt ...
分类:
其他好文 时间:
2020-12-18 12:48:47
阅读次数:
3
BY JOSH MORONY | LAST UPDATED: SEPTEMBER 02, 2020 CAPACITORIONIC Cordova has a huge ecosystem of existing plugins that have been created over the past ...
分类:
移动开发 时间:
2020-12-18 12:20:18
阅读次数:
3
ListView在delphi中的常用用法 //增加 i := ListView1.Items.Count; with ListView1 do begin ListItem:=Items.Add; ListItem.Caption:=IntToStr(i); ListItem.SubItems.A ...
static int fd; static uint64_t buffer; static void threadFunc(void) //线程函数 { int t; eventfd_t value; int ret = -1; while(1) { #if 0 t = read(fd,&buffe ...
分类:
其他好文 时间:
2020-12-16 12:45:24
阅读次数:
2
1. .pth文件 (The weights of the model have been saved in a .pth file, which is nothing but a pickle file of the model’s tensor parameters. We can load t ...
分类:
其他好文 时间:
2020-12-15 12:36:48
阅读次数:
2
NO.1 Error:Can’t generate netlist outout files because the file“这里是文件目录和文件名” 解决办法:打开assignments,在之前进行的一系列设置里(settings)ENA Netlist Writer options里选择的是第 ...
分类:
其他好文 时间:
2020-12-15 12:26:53
阅读次数:
2
Mysql 8.0 OCP认证考试原题题库整理(CUUG内部资料)-第4题 4、Choose two. User `fwuser`@`localhost` is registered with the MySQL Enterprise Firewall and has been granted pr ...
分类:
数据库 时间:
2020-12-15 12:12:12
阅读次数:
3
/** @JsonRpcMethod- delFile*/ public function delFile($data){ if(empty($data->filename)){ throw new Exception('参数错误',3104); }else{ $filename = $data-> ...
分类:
Web程序 时间:
2020-12-15 11:58:30
阅读次数:
3
is a是典型的“一般到特殊”的关系,也就是典型的继承关系。例如Apple is a Fruit。那么Apple是一种特殊的Fruit,也就是说Apple继承了Fruit。 has a是典型的“组合”关系。比如Wolf has a Leg,也就是Leg组合成了Wolf。 需要指出的是:由于继承会造成 ...
分类:
其他好文 时间:
2020-12-14 13:44:14
阅读次数:
5
Buffered 缓冲流:可以加快节点流的读写效率 字节缓冲流: BufferedInputStream 字节输入缓冲流 BufferedOutputStream 字节输出缓冲流 没有新增方法,可以发生多态 使用: InputStream is = new BufferedInputStream(n ...
分类:
编程语言 时间:
2020-12-14 13:41:41
阅读次数:
5