1.什麽叫做ES6? ES6, 全称 ECMAScript 6.0 ,是 JavaScript 的下一个版本标准,2015.06 发版。 參考:https://www.runoob.com/w3cnote/es6-tutorial.html 2.1 let的用法 <script type="text ...
分类:
Web程序 时间:
2020-06-25 09:38:54
阅读次数:
69
Creative Group Project -- Part III Sunlight Chat v. Sunny light Online Table of Contents 1. Background / Scenario 2. Legal Basis for Trial 3. Legal El ...
分类:
其他好文 时间:
2020-06-24 23:21:23
阅读次数:
135
当在远程库上设置了SSH 之后还是报错连接超时,问题如下 $ git push origin master 报错: ssh: connect to host github.com port 22: Connection timed out fatal: Could not read from rem ...
分类:
Web程序 时间:
2020-06-24 18:13:09
阅读次数:
123
批量执行检查脚本: #!/bin/bash file_name="$1" if [ -z "$file_name" ];then echo "Pls input file path" exit 1 fi cat "$file_name"| while read line do hadoop fsck ...
分类:
其他好文 时间:
2020-06-24 17:58:36
阅读次数:
56
from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello":"Word"} @app.get("/items/{item_id}") def read_item(item_id: ...
问题描述 在Ubuntu14里编写了一个很简单的文件批量重命名脚本 #!/bin/bash read -p "请输入50递增的起始数字:" startA echo "\n" read -p "请输入1递增的起始数字:" startB echo "\n" read -p "请输入1递增的结束数字:" ...
分类:
系统相关 时间:
2020-06-24 13:58:30
阅读次数:
136
1、.ini 1)格式: [section] >区域名 Option = value >选项名等于值 2)读取.ini文件 A.引入configparser.py中的ConfigParser类 B.实例化:conf = ConfigParser() C.读取配置文件:read()方法 conf.re ...
分类:
其他好文 时间:
2020-06-24 12:24:47
阅读次数:
50
背景 Read the fucking source code! --By 鲁迅 A picture is worth a thousand words. --By 高尔基 说明: Kernel版本:4.14 ARM64处理器,Contex-A53,双核 使用工具:Source Insight 3. ...
分类:
系统相关 时间:
2020-06-24 00:18:13
阅读次数:
104
zk报错 分析问题的方法 。 起不来服务 然后去log 目录下 查看zookeeper.out的日志 一般放在/tmp目录下或者 zk的home目录下. [root@hadoop103 ~]# tail -f -n 100 zookeeper.out 2020-06-23 04:24:01,764 ...
分类:
其他好文 时间:
2020-06-23 21:32:42
阅读次数:
72
# AB机新逻辑 """ 1. 查看是否存在有效的远程灾备计划 2. 先给计划创建一个空的任务。 3. 到A端中填充任务,构造成真正可以执行的任务。(在这个过程需要到A端释放以前的以前锁定的资源,锁定现在的资源)(原子性) 这个过程容易失败(失败后我们怎么处理较好呢??) 1. 需要释放上一次任务的 ...
分类:
其他好文 时间:
2020-06-23 21:05:00
阅读次数:
51