- 博客(12)
- 收藏
- 关注
原创 Tensorflow学习-1
Tensorflow学习-1 Tensorflow是一种计算图模型,用图表示计算过程的模型。Tensorflow程序一般分为图的构建和图的执行两个阶段。图的构建阶段也称为图的定义阶段,该过程会在图模型中定义所需的运算,每次运算的的结果以及原始的输入数据都可称为一个节点(operation ,缩写为op)。 ...
2019-08-01 10:09:55
173
原创 siege压力测试工具
siege 示例:siege -c255 -r10 --log=siege_result.log -f /root/siege-latest/url.txt 如果要支持https,需要先下载安装openssl, 下载地址:https://github.com/openssl/openssl 1.开始安装openssl git clone https://github.com/openssl/op...
2019-07-18 12:49:12
342
原创 uwsgi配置https问题
使用yum下载或者apt-get下载的uwsgi配置https会有问题 需重新pip下载,然后软连接一下,即可使用
2019-07-18 12:42:29
1574
原创 celery配置和守护进程启动
celery 配置: 消息传输的中间人 broker broker_url = ‘redis://:hundun@39.96.23.163:6379/1’ 保存结果后端 result_backend = ‘redis://:hundun@39.96.23.163:6379/1’ 创建celery应用 celery_app = Celery(‘u_test’) 加载celery配置文件中的配置 ce...
2019-07-12 17:18:54
1399
1
转载 520 表白方式
1、按 ctrl+f 然后输入 9 99669999996669999996699666699666999966699666699 99699999999699999999699666699669966996699666699 99669999999999999996699666699699666699699666699 99666699999999999966666999966699666699...
2019-05-23 12:07:58
331
原创 uwsgi找不到新安装的python模块问题解决
uwsgi找不到新安装的python模块问题解决 当你新安装python模块后 ,运行uwsgi,发现uwsgi找不到你新安装的模块。 此时在本地能运行程序,环境也是正确的,但就是找不问题所在。 这时可以在uwsgi.ini中声明pythonpath:在你的配置文件中加上pythonpath=本地python安装地址,pythonpath=本地python包安装地址, ...
2019-05-16 14:43:28
2698
1
原创 python爬虫学习
爬虫框架scrapy1.环境搭建2.创建项目3.配置文件官方网址 1.环境搭建 下载python,pycharm,并进行配置 2.创建项目 scrapy startproject tutorial 3.配置文件 配置文件:settings.py 数据类:items spider中间件:middlewares.py 管道文件:pipelines.py 官方网址 https://scrapy-chs....
2019-05-06 16:19:18
228
原创 java学习:spring-boot搭建
新手学习spring-boot1.环境搭建2.创建项目3.配置文件简单接口 1.环境搭建 下载idea,jdk,maven,并进行配置 2.创建项目 创建web项目勾选web,mysql 3.配置文件 Spring Boot的配置文件是appication.properties: #数据库配置39.96.23.163 localhost spring.datasource.url= jdbc:...
2019-05-06 16:02:30
206
原创 Nginx
Nginx配置文件: worker_processes 1; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; sendfile on; server { listen 80; ser...
2019-03-30 15:38:21
288
原创 uwsgi
启动文件 [uwsgi] #监听的ip和端口 http = 39.96.23.163:8899 #项目目录 chdir = /root/py_web/ #flask程序的启动文件,通常在本地是通过运行 wsgi-file = gh_get.py #程序内启用的application变量名 callable = app #处理器个数 processes = 2 #获取uwsgi统计信息的服务地址 s...
2019-03-26 14:58:46
624
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅