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

Nameko 内置扩展 (Built-in Extensions)

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 […]

September 27, 2019

【笔记】Learn Version Control with Git

【笔记】Learn Version Control with Git Learn Version Control with Git: A step-by-step course for the complete beginner

September 23, 2019

Golang 处理 JSON

Golang 处理 JSON <!–more–> 可以使用 JSON to Go https://mholt.github.io/json-to-go/

September 23, 2019

Golang glog (Google log) 日志框架的使用

Golang glog (Google log) 日志框架的使用 <!–more–> 正文 示例代码 https://github.com/tamalsaha/glog-demo 日志格式说明 Google Log(glog) Output Format https://medium.com/technical-tips/google-log-glog-output-format-7eb31b3f0ce5

September 18, 2019

pingcastle – Windows AD域 安全策略扫描工具

pingcastle – Windows AD域 安全策略扫描工具 <!–more–> 正文 https://pingcastle.com https://github.com/vletoux/pingcastle 示例报告 http://wp.blkstone.me/wp-content/uploads/2019/09/ad_hc_vdesktop.demo_.com_.html.zip

September 10, 2019

Golang TCP/IP Socket 接口编程的一些注意事项

Golang TCP/IP Socket 接口编程的一些注意事项 <!–more–> 正文 防止产生一些持续等待的挂起行为。 后续补充

September 4, 2019

正则表达式解析 port banner

正则表达式解析 FTP banner <!–more–> 案例 1 FTP package main import ( &quot;fmt&quot; &quot;regexp&quot; ) func main() { banner1 := &quot;220 MT_ILO_Novatel FTP server (MikroTik 5.8) ready&quot; banner2 := &quot;220 Piano -1 FTP server (MikroTik 6.41.3) ready&quot; banner3 := &quot;220 MikroTik FTP server (MikroTik 6.35.4) ready&quot; re := regexp.MustCompile(`(?m)220\s.+\s[fFtTpP]{3}\s[sSeEvVrR]{6}\s\([MmIiKkRroOtT]{8}\s(.+)\)\sready`) match := re.FindStringSubmatch(banner1) fmt.Println(match[1]) match = re.FindStringSubmatch(banner2) […]

August 28, 2019

Golang 遇到 unexpected EOF 的一个临时解决方案

Golang 遇到 unexpected EOF 的一个临时解决方案