说到邮件通知,简单的试了一下,发觉里面的坑蛮深的。
很多云服务直接把端口给封了。。。
邮件服务商也满满的套路,巴不得你用他们的app才好(海外一样)。
开启第三方SMTP服务各种身份验证。隔三岔五“你是不是本人?”
真正的spam拦也拦不住,尽给真正用户增加使用门槛。
抢市场的时候总是野蛮生长,当大头后根据相关规范!
有的时候还发现你的邮件躺在垃圾邮箱里。。。
得了,通知而已,让人代发吧。
在不考虑HTTP2等协议需求的情况下,requests
包算是个人小项目中比较常用了,怎么能比较方便指定DNS和设置是否发送SNI呢?
想到哪吐槽到哪。
VSCode、AndroidStudio、IDEA、Eclipse、NotePad++。。。
编辑器太多,一段时间不用容易搞混,记录一下常用的,不用每次再搜一遍了。
笔记向。
例如Flask
,在处理方法上加一个@app.route('xxx')
即可。
这是怎么实现的呢?
以抛出异常重试为例。
很多时候有这么个需求,上下两张图片内容连续不可分割,这时需要一张接一张不间断地纵向浏览。(横向同理)
有时候还有这么个情况,1.jpg、2.jpg…9.jpg、10.jpg,但看图时的阅读顺序并不是按照我们想象中的来。
比如1.jpg、10.jpg、2.jpg…
怎么办呢?
自己做个html网页,用浏览器来阅读。