[uwsgi] #使用nginx连接时使用 #socket=127.0.0.1:8080 #直接做web服务器使用 python manage.py runserver ip:port http=10.88.158.57:8000 #项目目录 chdir=/home/tkamc/django_pro ...
分类:
其他好文 时间:
2020-06-09 20:37:42
阅读次数:
65
第十三个需求 测试代码运行时间 有些测试,不仅需要判断是否可行,还需要判断运行效率如何。 测试前保存一下当前时间,测试后再保存一下测试后的时间,然后输出两个时间的差,就可以看到程序运行时间。增加的代码量不多,但是判断运行效率一般要比较多个方案,每个方案都添加这些代码,总量就多了。 这种三明治代码可以 ...
分类:
其他好文 时间:
2020-06-09 18:54:33
阅读次数:
57
1.登录 解析响应体中的token 2.在请求头中,获取token变量 3.postman设置token postman.setEnvironmentVariable("AuthToken", jsonData.row.auth_token); 相关链接 https://juejin.im/post ...
1. 帮助手册man(manual手册)man ls或者–help例如:ls --help 2. 日期类datedate +%Y-%m-%ddate +%Y-%m-%d’ ‘%H:%M:%Sdate +%F’ '%T cal cal -y (展示一年的日历) 3. clear 或者 ctrl + L ...
分类:
系统相关 时间:
2020-06-09 16:42:10
阅读次数:
85
20200609 部分引用https://www.jb51.net/article/163112.html ubuntu18.04安装3个python版本,系统已自带python3.6.9和2.7.15,再增加python3.6.8,默认python3.6.8 一、旧版本信息 root@zhigua ...
分类:
编程语言 时间:
2020-06-09 16:40:57
阅读次数:
122
fanotify是一个挺好用的文件监控系统,它会检测当前文件系统下的事件,并允许做出回应。 官方文档https://www.man7.org/linux/man-pages/man7/fanotify.7.html Fanotify主要有两个函数,fanotify_init()和fanotify_m ...
分类:
其他好文 时间:
2020-06-09 16:28:30
阅读次数:
62
一、总结 1、该文档演示使用的是Windows Server 2012系统来示范的。 2、使用DFS的2台机器(或多台),必须加入到同一个域中,并且安装了DFS复制、DFS命名空间、文件服务器资源管理器的功能。 3、主从成员上,可以双向复制(主< >从) 二、操作步骤 1、添加DFS复制、DFS命名 ...
分类:
其他好文 时间:
2020-06-09 16:22:50
阅读次数:
55
How badly do you want to achieve your goals? Whether or not your goal is to drop 10 pounds for the summer, or to open your own small business, a smart ...
分类:
其他好文 时间:
2020-06-09 16:22:01
阅读次数:
129
转自 : https://www.cnblogs.com/minigrasshopper/p/8967339.html <script type="text/javascript"> function gocopy_copy() { let input = document.querySelecto ...
分类:
Web程序 时间:
2020-06-09 14:23:54
阅读次数:
76
如下代码内容是关于C++霍夫曼编码(Huffman Coding)的代码。 #include<iostream> #include<string> #include<queue> using namespace std; class node{ public: content=con; weight ...
分类:
编程语言 时间:
2020-06-09 12:58:15
阅读次数:
88