Neurohazard
暮雲煙月,皓首窮經;森羅萬象,如是我聞。

leetcode 练习

November 11, 2019

leetcode 练习

leetcode 练习

October 12, 2019

使用原生socket发送HTTP数据包

使用原生socket发送HTTP数据包

October 11, 2019

Nameko 内置扩展 (Built-in Extensions)

Nameko 内置扩展 (Built-in Extensions)

October 11, 2019

Nameko 关键概念梳理

Nameko 关键概念梳理

September 30, 2019

Nameko Python RPC 框架

Nameko Python RPC 框架 <!–more–> 说明 报错信息 nameko crashed: [Errno 111] ECONNREFUSED /usr/lib/python2.7/dist-packages/nameko/cli/main.py:26:in main /usr/lib/python2.7/dist-packages/nameko/cli/run.py:182:in main /usr/lib/python2.7/dist-packages/nameko/cli/run.py:132:in run /usr/lib/python2.7/dist-packages/nameko/runners.py:67:in start /usr/lib/python2.7/dist-packages/nameko/utils.py:180:in spawning_method /usr/lib/python2.7/dist-packages/eventlet/greenpool.py:238:in next /usr/lib/python2.7/dist-packages/eventlet/greenthread.py:175:in wait /usr/lib/python2.7/dist-packages/eventlet/event.py:121:in wait /usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py:294:in switch /usr/lib/python2.7/dist-packages/eventlet/greenthread.py:214:in main /usr/lib/python2.7/dist-packages/nameko/utils.py:175:in call /usr/lib/python2.7/dist-packages/nameko/containers.py:198:in start /usr/lib/python2.7/dist-packages/nameko/utils.py:180:in spawning_method /usr/lib/python2.7/dist-packages/eventlet/greenpool.py:238:in next /usr/lib/python2.7/dist-packages/eventlet/greenthread.py:175:in wait /usr/lib/python2.7/dist-packages/eventlet/event.py:121:in wait /usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py:294:in switch /usr/lib/python2.7/dist-packages/eventlet/greenthread.py:214:in main /usr/lib/python2.7/dist-packages/nameko/utils.py:175:in call /usr/lib/python2.7/dist-packages/nameko/messaging.py:191:in setup /usr/lib/python2.7/dist-packages/nameko/amqp.py:43:in verify_amqp_uri /usr/lib/python2.7/dist-packages/kombu/transport/pyamqp.py:116:in […]

August 26, 2019

一个精简的 Python 爬虫框架

一个精简的 Python 爬虫框架

August 26, 2019

访问 Acunetix WVS 的 PostgreSQL 数据库

访问 Acunetix WVS 的 PostgreSQL 数据库

August 19, 2019

SQLite版本过低导致Django 2.2.3启动错误解决办法

SQLite版本过低导致Django 2.2.3启动错误解决办法

August 17, 2019

pipenv 基本使用

pipenv 基本使用 <!–more–> 常用操作 # 重建环境 pipenv –rm pipenv install –verbose 正文 # pipenv # 安装所需的依赖 pipenv install requests pipenv install -r requirements.txt –pypi-mirror https://pypi.tuna.tsinghua.edu.cn/simple pipenv –python 2.7.16 install -r requirements.txt –pypi-mirror https://pypi.tuna.tsinghua.edu.cn/simple # 删除所需依赖 pipenv uninstall requests ## 分离开发环境所需的依赖 pipenv install pytest –dev # 打开虚拟环境 pipenv shell # 关闭虚拟环境 # 注意不要使用 deactivate 退出 # […]

August 7, 2019

CVE-2017-5638 – Apache Struts2 S2-045

CVE-2017-5638 – Apache Struts2 S2-045