Skip to content

Instantly share code, notes, and snippets.

@joegnis
joegnis / nitpick-style.toml
Last active March 22, 2020 00:44
Personal Python nitpick style file
[nitpick.files.present]
".pre-commit-config.yaml" = "Create the file with the contents below, then run 'pre-commit install'"
"pyproject.toml" = "Install poetry and run 'poetry init' to create it"
[nitpick.files.absent]
"requirements.txt" = "Install poetry, run 'poetry init' to create pyproject.toml, and move dependencies to it"
"Pipfile" = "Use pyproject.toml instead"
"Pipfile.lock" = "Use pyproject.toml instead"
".pyup.yml" = "Configure .travis.yml with safety instead: https://github.com/pyupio/safety#using-safety-with-a-ci-service"
@joegnis
joegnis / keybase.md
Created September 27, 2017 02:47
Keybase proof

Keybase proof

I hereby claim:

  • I am joegnis on github.
  • I am joegnis (https://keybase.io/joegnis) on keybase.
  • I have a public key ASDu4rQ4Uhko8TMqSlLewpydxYSx40bLOGhQhiTxTRuRmwo

To claim this, I am signing this object:

@joegnis
joegnis / wechat-event-msg-received.xml
Last active April 12, 2017 20:12
微信开发消息格式总结
<xml>
<!-- 接收事件推送消息 -->
<!-- ref: https://mp.weixin.qq.com/wiki?id=mp1421140454 -->
<ToUserName><![CDATA[toUser]]></ToUserName>
<FromUserName><![CDATA[FromUser]]></FromUserName>
<CreateTime>123456789</CreateTime>
<MsgType><![CDATA[event]]></MsgType>
<!--#关注/取消关注事件#-->
<Event><![CDATA[subscribe]]></Event>
<!--#未关注用户扫描带参数二维码事件#-->