时间对时:
all_host.txt 参考 pssh 的参数来写
下载这个 https://github.com/angeloc/htpdate 并且解压到 cd /root/htpdate-1.2.6
prsync -h all_host.txt /root/htpdate-1.2.6/ /root/htpdate-1.2.6/
pssh -h all_host.txt 'timedatectl set-local-rtc 0'
时间对时:
all_host.txt 参考 pssh 的参数来写
下载这个 https://github.com/angeloc/htpdate 并且解压到 cd /root/htpdate-1.2.6
prsync -h all_host.txt /root/htpdate-1.2.6/ /root/htpdate-1.2.6/
pssh -h all_host.txt 'timedatectl set-local-rtc 0'
| #!/usr/bin/env node | |
| // 这个需要加 x 权限,记得 | |
| const argv = require('yargs').argv; | |
| const path = require('path'); | |
| // const fs = require('fs-extra'); | |
| const _ = require('lodash'); | |
| function imgLinter() { | |
| const base = path.resolve(__dirname, 'src', 'assets'); |
| import NP from 'number-precision'; | |
| import _ from 'lodash'; | |
| function eachAttrFormatFloat(formatElem) { | |
| if (formatElem instanceof FormData) { | |
| return formatElem; | |
| } | |
| if ('number' === typeof formatElem) { | |
| if (_.isInteger(formatElem)) { |
apt-get install libaio1 libmecab2 libjson-perl
下面要按顺序执行
有数据
var area = [
{id:110000000000,pid: 0, name:"北京"},
{id:120000000000,pid: 0, name:"天津"},
{id:130000000000,pid: 0, name:"河北省"},
{id:140000000000,pid: 0, name:"山西省"},
{id:150000000000,pid: 0, name:"内蒙古自治区"},
{id:210000000000,pid: 0, name:"辽宁省"},
{id:220000000000,pid: 0, name:"吉林省"},I hereby claim:
To claim this, I am signing this object:
| const healthExamObj = { | |
| // begin_time: 0, | |
| // end_time: 999999999999, | |
| exam_id: 1, | |
| issues: [ | |
| { | |
| key: 'name', // 后面我想直接去掉这个 key ,不过如果只用 issue_id 的话,不可读,麻烦。 | |
| issue_id: 0, | |
| title: '姓名', | |
| type: 'input', |