上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 21 下一页
摘要: 1 使用match 不能加/g 否则无效 2 使用matchAll 需要先定义一个RegExp对象 const regexp = RegExp(/,"(.+)"\)/,'g'); const matches = str.matchAll(regexp); for (const match of ma 阅读全文
posted @ 2020-02-17 16:20 wolbo 阅读(459) 评论(0) 推荐(0)
摘要: 谷歌浏览器chrome80 突然什么都打不开了 重装也没用 喔唷,崩溃啦 增加启动参数 --disable-features=RendererCodeIntegrity 阅读全文
posted @ 2020-02-17 13:55 wolbo 阅读(359) 评论(0) 推荐(0)
摘要: 1 替换文件某一行 将文件./config/patchconfig/patch_config.json 的第二行替换为 "path": "../patchfiles", 将文件aaa.txt中的第三行替换为888 content='"path": "../patchfiles", ' sed -i 阅读全文
posted @ 2020-02-17 09:12 wolbo 阅读(169) 评论(0) 推荐(0)
摘要: 1 根据ip替换 var OSInfo = Environment.OSVersion; string pathpart = "hosts"; if (OSInfo.Platform == PlatformID.Win32NT) { //is windows NT pathpart = "syste 阅读全文
posted @ 2020-02-15 10:45 wolbo 阅读(2660) 评论(0) 推荐(1)
摘要: smbclient //10.24.1.1/xx -U username%password << cmd mask "" recurse ON prompt OFF cd \test\test lcd '/Share/target' mget * cmd 阅读全文
posted @ 2020-02-14 15:51 wolbo 阅读(1027) 评论(0) 推荐(0)
摘要: var fs=require('fs'); var options={ encoding:'utf8', withFileTypes:true } var renameFile=function(path){ console.log('当前目录:'+path); fs.readdir(path,op 阅读全文
posted @ 2020-02-14 11:07 wolbo 阅读(466) 评论(0) 推荐(0)
摘要: 1 执行bin目录下的脚本启动查看具体的报错信息 PS E:\Program Files\JetBrains\IntelliJ IDEA 2019.3.2\bin> .\idea.bat OpenJDK 64-Bit Server VM warning: Option UseConcMarkSwee 阅读全文
posted @ 2020-02-07 17:51 wolbo 阅读(19119) 评论(0) 推荐(0)
摘要: 1 解压 rem 平铺开@echo off echo 解压%1到%2 7z.exe e %1 -y -o%2 echo 解压%1完成rem 完整目录7z.exe x E:\npm.zip -y -o"C:\Users\AppData\Roaming\npm"\ -aoarem 压缩当前目录到test 阅读全文
posted @ 2020-02-06 12:05 wolbo 阅读(842) 评论(0) 推荐(0)
摘要: 一 修改扩展 1 直接cmd执行 去掉后缀 for /r %a in (*.bt) do ren "%a" "%~na" 修改后缀 for /r %a in (*.bt) do ren "%a" "%~na.test" 2 保存脚本 for /r %%a in (*.bt) do ren "%%a" 阅读全文
posted @ 2020-02-05 13:19 wolbo 阅读(376) 评论(0) 推荐(0)
摘要: https://www.alexgoldcheidt.com/raspberry-pi-aria2-web-ui/?__cf_chl_captcha_tk__=79b7cacad41c7817f12080af5a4577d57b69f8e7-1580699959-0-ATVbJrKXxCiy9LLC 阅读全文
posted @ 2020-02-03 14:17 wolbo 阅读(1650) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 21 下一页