11 2019 档案

摘要:1 windows echo param1>param.txt echo param2>>param.txt echo param3>>param.txt call interactive.cmd < param.txt pause 最简单的 (echo input1 && echo input2) 阅读全文
posted @ 2019-11-30 16:15 wolbo 阅读(492) 评论(0) 推荐(0) 编辑
摘要:mount -t cifs //10.100.100.250/产品服务器/待测库/FI\ Cloud/CICD/BuildRoot_Dev/ /cicd --verbose -o vers=1.0,username=xxxxxx,password='xxxxxx' 注意 1 路径空格需要转义 \_ 阅读全文
posted @ 2019-11-29 19:07 wolbo 阅读(355) 评论(0) 推荐(0) 编辑
摘要:stringify两次 JSON.stringify(JSON.stringify(obj)) 阅读全文
posted @ 2019-11-25 17:28 wolbo 阅读(532) 评论(0) 推荐(0) 编辑
摘要:1 新建powershell脚本文件 <# This is a workaround for "node-gyp is unable to find msbuild if VS2019 is installed" https://github.com/nodejs/node-gyp/issues/1 阅读全文
posted @ 2019-11-24 01:50 wolbo 阅读(2316) 评论(0) 推荐(0) 编辑
摘要:1 查看启用的units systemctl list-unit-files | grep enabled 2 查看指定服务的日志 按服务单元过滤 journalctl -u j 查看j.service的日志 /输入shift+f 与tail -f等效 / 输入sfhit+g 到日志尾部 3 增加工 阅读全文
posted @ 2019-11-21 08:51 wolbo 阅读(3234) 评论(0) 推荐(0) 编辑
摘要:1 安装 # yum install sshfs # dnf install sshfs [On Fedora 22+ releases] $ sudo apt-get install sshfs [On Debian/Ubuntu based systems] 2 创建挂载目录 mkdir /21 阅读全文
posted @ 2019-11-20 21:50 wolbo 阅读(211) 评论(0) 推荐(0) 编辑
摘要:1 安装 yum install samba samba-client samba-common -y 2 配置 vim /etc/samba/smb.conf 在最下面增加 [wolbo] path = /home/wolbo browseable = yes writable = yes val 阅读全文
posted @ 2019-11-20 21:10 wolbo 阅读(140) 评论(0) 推荐(0) 编辑
摘要:以下内容复制自https://blog.csdn.net/qingfengxulai/article/details/80853870 放置此处便于检索 1 安装 sudo yum install squid 安装http工具 yum install httpd-tools -y 2 配置() 生成 阅读全文
posted @ 2019-11-20 20:32 wolbo 阅读(1082) 评论(0) 推荐(0) 编辑
摘要:安装与卸载参考:https://docs.microsoft.com/zh-cn/windows-server/administration/openssh/openssh_install_firstuse [C:\] system32 >Add-WindowsCapability -Online 阅读全文
posted @ 2019-11-18 13:55 wolbo 阅读(5784) 评论(0) 推荐(0) 编辑
摘要:1 var fs = require("fs"), path = require("path"); function walk(dir, callback) { fs.readdir(dir, function(err, files) { if (err) throw err; files.forE 阅读全文
posted @ 2019-11-16 18:07 wolbo 阅读(1019) 评论(0) 推荐(0) 编辑
摘要:1 新建调试配置 2 添加远程调试配置 设置IP,端口后 获得启动参数 -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=4001 3 将启动参数添加至远端启动命令中 4 启动远程服务 启动本地调试 阅读全文
posted @ 2019-11-16 13:55 wolbo 阅读(143) 评论(0) 推荐(0) 编辑
摘要:java的类型转换让人忍不住在开始编码前骂一声 FUCK! 1 子类转父类 up List<SubClass> subs = ...; List<? extends BaseClass> bases = subs; 2 父类转子类 down //强转public class TestA {} pub 阅读全文
posted @ 2019-11-15 16:42 wolbo 阅读(10380) 评论(1) 推荐(0) 编辑
摘要:1 在系统引导页面 按e 修改启动参数 2 将LANG改为en_US.UTF-8 并空格增加 init=/bin/sh 启动shell 改完后按ctrl+x 启动 3 重新挂载root mount -o remount, rw / 重置用户密码 password root 创建.autorelabe 阅读全文
posted @ 2019-11-11 17:05 wolbo 阅读(473) 评论(0) 推荐(0) 编辑
摘要:1 首先想到的是递归遍历目录 筛选出符合条件的文件 dir命令递归遍历目录 /b控制显示格式 /s递归 /ad 只显示目录 dir /b/s .\* 判断文件类型 操作数得用`` rem 取出文件扩展名 %%~XI rem 判断相等 if `%%~XI` equ `.jar`( echo %%I ) 阅读全文
posted @ 2019-11-03 16:22 wolbo 阅读(535) 评论(0) 推荐(0) 编辑
摘要:1 新建service配置文件 vi /etc/systemd/system/node.service [Unit]Description=My super nodejs app [Service]# set the working directory to have consistent rela 阅读全文
posted @ 2019-11-03 11:28 wolbo 阅读(561) 评论(0) 推荐(0) 编辑
摘要:1 安装svnserve yum install subversion -y 2 创建仓库 mkdir /svn/rep1 -p mkdir /svn/rep2 -p svnadmin create /svn/rep1 svnadmin create /svn/rep2 3 修改仓库配置 rep2配 阅读全文
posted @ 2019-11-02 19:22 wolbo 阅读(207) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示