摘要:
vscode-terminal 执行命令被禁止了,处理方法如下 以管理员身份运行PowerShell(注意不是CMD) Set-ExecutionPolicy RemoteSigned -Scope CurrentUser #给予权限 选择y,enter键 Set-ExecutionPolicy R 阅读全文
摘要:
yum mirrorlist 找不到了 #yum list|grep node Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error wa 阅读全文
摘要:
设置网络 ifconfig eth0 10.10.10.238 netmask 255.255.255.0 route add default gw 10.10.10.251 修改地址(centOS/redhat) cd /etc/sysconfig/network-scripts vi ifcfg 阅读全文
摘要:
安装依赖 yum -y install gcc automake autoconf libtool make yum -y install pcre-devel openssl openssl-devel gd-devel gcc gcc-c++ yasm-1.3.0 安装 cd yasm-1.3. 阅读全文
摘要:
实例1 import threading #线程 import time def Hi(num): print("线程总用时:%d sec --> start "%num) time.sleep(num) #等待时间 print("线程结束%d" % num) if __name__ == '__m 阅读全文
摘要:
****************************************with语句******************************************* with expression as target: with-body import os,sys os.chdir( 阅读全文
摘要:
linux 3.10内核 V6 ping6 fe80::214:10ff:fe23:c8b8%em1 linux 4.xx内核 V6 ping fe80::214:10ff:fe23:c8b8%enp4s0 win10 V6 ping -6 fe80::214:10ff:fe23:c8b8 阅读全文
摘要:
************************** centOS7 ************************* 1.安装相应的编译工具 yum -y groupinstall "Development tools" yum -y install zlib-devel bzip2-devel 阅读全文
摘要:
修改地址 注意:这里使用ANSI编码,否则中文会乱码,name=“xxx”好和控制面板中网络名称相同,如下图, @echo off %1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 阅读全文
摘要:
执行程序 @echo off 启动程序 start "EXE python" /d "D:\OneDrive\python\Selenium\testIPC" python checkREC.py #start "窗口名称" /d "文件路径" 解释器 程序名.py 杀掉进程 taskkill /F 阅读全文