$a=Read-Host "请输入账号" remove-adgroupmember -identity group01 -members $a -confirm:$false #把用户从group01移除Add-ADGroupMember -identity group11111 -members ...
分类:
其他好文 时间:
2020-07-12 20:37:53
阅读次数:
69
场景 Node的Web应用框架Express的简介与搭建HelloWorld: https://mp.csdn.net/console/editor/html/106650798 Express的基本路由实现对get和post等的请求和响应: https://blog.csdn.net/BADAO_ ...
分类:
Web程序 时间:
2020-07-12 20:34:25
阅读次数:
79
官网下载:https://www.elastic.co/cn/downloads/elasticsearch 下载解压后,运行bin文件夹下的 elasticsearch.bat 看到started说明启动成功,打开浏览器测试一下,如下图 http://localhost:9200 然后可以添加IK ...
分类:
其他好文 时间:
2020-07-12 20:30:45
阅读次数:
152
1.powershell循环调用CSV文件 Import-Csv -Path E:\work\AD\0708\m.csv | foreach { $a=$_.name #定义$a等于CSV文件中的变量,有时候直接写$_.name 无法被识别 ………………………………} 2.调用用户输入的变量 $a= ...
分类:
系统相关 时间:
2020-07-12 20:23:48
阅读次数:
95
问题场景 希望在macbook上查看linux服务器的图形, 例如使用feh命令或者 cv2.imshow() 等情形. 如果没正确配置则会报错: feh ERROR: Can't open X display. It *is* running, yeah? 配置 首先下载安装 https://ww ...
分类:
系统相关 时间:
2020-07-12 16:23:22
阅读次数:
176
FTP 下载 #!/usr/bin/python # -*- coding: utf-8 -*- """ FTP常用操作 """ from ftplib import FTP import os class FTP_OP(object): def __init__(self, host, usern ...
分类:
其他好文 时间:
2020-07-12 12:06:45
阅读次数:
66
一、使用route命令添加 使用route 命令添加的路由,机器重启或者网卡重启后路由就失效了,方法: A、添加到主机的路由 # route add –host 192.168.1.10 dev eth0 # route add –host 192.168.1.10 gw 192.168.1.1 # ...
分类:
系统相关 时间:
2020-07-11 19:09:13
阅读次数:
116
对于个人项目的线上展示方案: 项目托管: 1.进入 https://byet.host/ 注册托管账号 ,注册之后在邮箱会收到详细的账号密码信息,进入 http://cpanel.byethost.com/ 登录账号进行管理。 2.下载xftp软件(百度自行下载),将自己的个人项目文件上传至托管服务 ...
分类:
其他好文 时间:
2020-07-11 12:44:10
阅读次数:
50
1、with tf.compat.v1.Session() as sess: 一个Session可能会拥有一些资源,例如Variable或者Queue。当我们不再需要该session的时候,需要将这些资源进行释放。有两种方式, 调用session.close()方法; 使用with tf.compa ...
分类:
其他好文 时间:
2020-07-11 10:07:54
阅读次数:
90
inter process communication one host: signal semaphor shm: shared memory different host: rpc: remote procedure call 同样基于socket socket ...
分类:
其他好文 时间:
2020-07-11 00:17:33
阅读次数:
85