Dim bag,pipe do Set bag=GetObject("WinMgmts:") Set pipe=bag.execquery("select * from win32_process where name='notepad.exe'") for each i in pipe i.ter ...
分类:
系统相关 时间:
2021-04-21 12:36:32
阅读次数:
0
linux 监控服务器流量 #!/bin/bash ethn=$1 while true do RX_pre=$(cat /proc/net/dev | grep $ethn | sed 's/:/ /g' | awk '{print $2}') TX_pre=$(cat /proc/net/dev ...
分类:
系统相关 时间:
2021-04-21 12:03:54
阅读次数:
0
####1.准备站点目录 for i in {android,iphone,firefox,chrome,default} ;do mkdir /html/terminal/${i} && echo $i >/html/terminal/${i}/index.html ;done ####2.准备配 ...
分类:
Web程序 时间:
2021-04-21 12:00:37
阅读次数:
0
这里用go to 来模拟汇编他们的区别 while 代码 int i = 0; while (i < 100) { i++; } goto 实现while int i = 0; WHILE_BEGIN: if (i < 100) { goto WHILE_END; } i++; goto WHILE ...
分类:
其他好文 时间:
2021-04-19 15:45:52
阅读次数:
0
接下来是我们的两分钟科普,一分钟玩转HarmonyOS应用开发在线体验,一分钟简单了解“一次开发、多设备部署”的原理。萌新的开发者也能第一时间掌握,往下看吧~ 一分钟玩转HarmonyOS应用开发在线体验 只需一分钟,我们将通过对“To-Do List” Demo进行四个部分的简单修改,教你轻松掌握 ...
分类:
其他好文 时间:
2021-04-19 14:37:12
阅读次数:
0
常见Dos命令 打开CMD的几种方式 win键→打开系统→命令提示符 win键+R打开运行界面并输入cmd后回车 找到随便一个文件夹,Shift+鼠标右键→选择在此处打开Powershell窗口 此时的界面与平时的CMD虽然不同,但是功能是一样的 在资源管理器的地址栏输入cmd+空格+相应地址 Do ...
分类:
其他好文 时间:
2021-04-14 12:34:15
阅读次数:
0
一个有参数但无提示说明的脚本#login1.sh: 用户登录,判断用户输入的用户名和密码是否错误 vi login1.sh #!/bin/bash for ((i=0; i < 3; i++))do read username read password if test "$username" = ...
分类:
系统相关 时间:
2021-04-14 11:41:38
阅读次数:
0
c语言入门教程–-6循环语句 c语言提供了以下几种循环类型。while循环for 循环do…while 循环 while循环 #include <stdio.h> int main () { /* 局部变量定义 */ int a = 10; /* while 循环执行 */ while( a < 2 ...
分类:
编程语言 时间:
2021-04-13 12:12:17
阅读次数:
0
func getTextFileStr(filename:String!) -> String! { if let path = Bundle.main.path(forResource: filename, ofType: "txt") { do { let data = try String(c ...
分类:
编程语言 时间:
2021-04-12 12:35:51
阅读次数:
0
主节点配置 主机配置文件 主要配置有以下 server-id=1 #服务器id (主从必须不一样) log-bin=mysql-bin # 打开日志(主机需要打开),这个mysql-bin 可自定义,也可加上路径 binlog-do-db=dblog #要给从机同步的库 binlog-ignore- ...
分类:
数据库 时间:
2021-04-12 12:14:45
阅读次数:
0