import socket import gevent from gevent import monkey monkey.patch_all() def tcp_serve(resp_socket): recv_data = resp_socket.recv(1024) # 处于阻塞状态等待客户端给 ...
分类:
Web程序 时间:
2020-03-31 01:19:52
阅读次数:
101
.wapper li{ transition:All 0.4s ease-in-out; -webkit-transition:All 0.4s ease-in-out; -moz-transition:All 0.4s ease-in-out; -o-transition:All 0.4s eas ...
分类:
移动开发 时间:
2020-03-31 01:11:33
阅读次数:
100
网上文章一大抄,试过了几乎所有的方法,没有作用,微软官方也只是教你换DNS,没鸟用,倒是评论有了作用 https://answers.microsoft.com/zh-hans/windows/forum/all/microsoft-store/990fe478-7e46-465e-ae87-a45 ...
对于Wave2 AP,您可以使用以下命令在WLC上更改AP的时区。config ap timezone enable delta { ap_name | all} timezone_offset示例:(Cisco Controller)> config ap timezone enable delt ...
分类:
其他好文 时间:
2020-03-30 16:13:13
阅读次数:
90
使用struct定义结构体,使用Teacher t = {"", "", ""} 进行初始化操作 /* 结构体 */ #include <iostream> using namespace std; struct Teacher{ char name[20]; int age; double sal ...
分类:
编程语言 时间:
2020-03-30 11:10:03
阅读次数:
93
pm2 npm install pm2 g 装完后有pm2 全局命令 用npm run 方式,一旦停止,就不能被访问 开启: PM2 start /bin/www 维持进程 停止: PM2 list pm2 help pm2 stop name pm2 restart all 方案1 前后端分离部署 ...
分类:
其他好文 时间:
2020-03-29 23:59:52
阅读次数:
117
搜了一晚上,都是用的B-Shell的,说法也各不相同。参考其中一个,把我的C-shell弄好了。 修改: 1. /etc/csh.cshrc: 加入 setenv LANG en_US.UTF-8 2. ~/.cshrc: setenv LC_ALL en_US.UTF-8alias ls 'ls ...
分类:
系统相关 时间:
2020-03-29 01:26:24
阅读次数:
95
http.query New in version 2015.5.0 Query a resource, and decode the return data Passes through all the parameters described in the :py:func: : .. auto ...
分类:
Web程序 时间:
2020-03-28 21:38:06
阅读次数:
94
import time with open('user.txt') as fr: result = fr.read() users = {} if result: all_user_pwd = result.split('\n') for i in all_user_pwd: user = i.sp ...
分类:
编程语言 时间:
2020-03-28 18:18:37
阅读次数:
79
查看本机网卡相关信息 方式一 宿主机(windows)打开dos界面,输入命令ipconfig -all,目的是为了能够看到网卡描述、DNS等信息,在配置虚拟机的时候需要使用 方式二 设置虚拟机 菜单栏,编辑->虚拟网络编辑器,桥接模式使用的是vmnet0虚拟交换机,有的打开之后可能看不到,点击下面 ...
分类:
系统相关 时间:
2020-03-28 18:07:53
阅读次数:
117