上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 46 下一页
摘要: 起因 比如我们开发了一个桌面应用,在Windows系统运行,希望开机自动启动并且全屏显示,我们只能操作该软件。最简单(不一定最佳)的办法就是结束资源管理器explorer.exe进程。 代码 Stop-Process -Name explorer -Force 运行,explorer.exe关闭了. 阅读全文
posted @ 2021-04-20 20:22 talentzemin 阅读(678) 评论(0) 推荐(0)
摘要: 起因 测试服务器只有C盘,固定大小,多人共享,每月重启升级,有时候会出现磁盘空间不足的问题,所有需要查找某台服务器上的大文件 代码 Get-ChildItem "c:\" -Recurse | sort -descending -property length | select -first 10 阅读全文
posted @ 2021-04-15 17:15 talentzemin 阅读(1282) 评论(0) 推荐(0)
摘要: 起因 有一个业务需求,客户给了3个服务名称,如果windows服务器上有且仅有其中1个服务的时候,验证通过,处理某些逻辑。 实现 传入3个服务名称,使用 Get-Service -Name SERVICENAME 分别查询,将结果写入map返回。 $map={} $service = Get-Ser 阅读全文
posted @ 2021-04-15 16:41 talentzemin 阅读(430) 评论(0) 推荐(1)
摘要: C#调用SFC.exe ProcessStartInfo startInfo = new ProcessStartInfo("cmd", "/K sfc.exe /scannow"); startInfo.UseShellExecute = false; startInfo.Verb = "runa 阅读全文
posted @ 2021-03-31 18:04 talentzemin 阅读(1538) 评论(0) 推荐(0)
摘要: 上代码 if (36 > 42) { "true" } else { "false" } 上面这段PowerShell脚本输出什么?没错,是"false" 再上代码 if (36 < 42) { "true" } else { "false" } 上面这段PowerShell脚本输出什么?没错!你猜 阅读全文
posted @ 2021-03-25 14:11 talentzemin 阅读(423) 评论(0) 推荐(0)
摘要: 背景 维护的项目在一个内网环境,只能通过跳转机的FTP上传文件。项目是Java spring boot开发,之前的维护人员使用sts(https://spring.io/tools),使用起来体验极差。所以有了用VS Code整一个支持java开发的IDE。 VS Code 下载VS Code并安装 阅读全文
posted @ 2021-01-10 14:53 talentzemin 阅读(653) 评论(0) 推荐(0)
摘要: CMD netstat -ano | findstr 8088 taskkill /PID <PID> /F PowerShell Get-NetTCPConnection -Localport 8088 | select Localport,OwningProcess Stop-Process - 阅读全文
posted @ 2021-01-05 10:25 talentzemin 阅读(324) 评论(0) 推荐(0)
摘要: iOS上安装Chrome 打开Chrome://inspect,选择开始收集日志 新选项卡中访问目标站点 切换回日志收集页面,即可看到日志信息 https://blog.chromium.org/2019/03/debugging-websites-in-chrome-for-ios.html 阅读全文
posted @ 2020-12-31 12:45 talentzemin 阅读(151) 评论(0) 推荐(0)
摘要: Flash PPAPI NPAPI Chrome vs Flash 来源:https://www.chromium.org/flash-roadmap 来源:https://support.google.com/chrome/a/answer/7084871?hl=zh-Hans Chrome 会自 阅读全文
posted @ 2020-11-25 20:42 talentzemin 阅读(352) 评论(0) 推荐(0)
摘要: 1. 注册AWS账号 https://www.cnblogs.com/cmt/p/13912814.html 2.注册完成之后,选择实例 Ubuntu,下载xxx.pem文件,查看实例得到ip 比如我选择了Ubuntu 20. 3. 下载putty 地址:https://www.putty.org/ 阅读全文
posted @ 2020-11-20 13:46 talentzemin 阅读(210) 评论(0) 推荐(0)
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 46 下一页