• github action 获取tag

    on: push: tags: - 'v*.*.*'jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set env run: ...

    esxi 7.0虚拟机自动启动不生效

    进入【主机】-【管理】-【系统】-【自动启动】,编辑修改为已启动为【是】即可。:)2333333...

    getUnsafeOkHttpClient

    public OkHttpClient getUnsafeOkHttpClient() { try { final TrustManager[] trustAllCerts = new TrustManager[]{ ...

    nodejs操作json合并

    参见Object.assign()const obj1 = { a: 1, b: 2 };const obj2 = { b: 3, c: 4, d: 5 };const result = Object.assign(obj1, obj2);console.log(result);//{ a: 1, ...

    scsi0:0”的磁盘类型 2 不受支持或无效。请确保磁盘已导入

    vmkfstools -i <HostedVirtualDisk> <ESXVirtualDisk>#-d选项为:使用精简置备模式。节省空间。旧文件可以删除。vmkfstools -i oldfile.vmdk newfile.vmdk -d thin...

    VMware ESXi 7.0升级

    ESXi下载地址7.0-iso下载7.0升级包-70U2a#查看vmware -vlesxcli software sources profile list -d /vmfs/volumes/61240d25-103f6f90-e005-009027e30546/VMware-ESXi-7.0U2a...

    osx把iso写入U盘

    #使用 diskutil 查看 U 盘设备 IDdiskutil list#解除挂载diskutil unmountDisk /dev/disk2#写入U盘sudo dd if=/Users/ww/Downloads/VMware-VMvisor-Installer-7.0.0-15843807.x...

    修改es查询条数

    curl --location --request PUT 'http://192.168.9.20:9200/indexName/_settings' \--header 'Content-Type: application/json' \--data-raw '{ "index&quo...

    isAccessibilityEnabled

    private fun isAccessibilityEnabled(id: String): Boolean { val am = getSystemService(ACCESSIBILITY_SERVICE) as AccessibilityManager v...

    修改centos时区

    date查看时间rm -rf /etc/localtimeln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtimeyum -y install ntpdate ntpntpdate us.pool.ntp.org...