09 2016 档案

PyCharm中的那些实用功能
摘要:到目前为止,我用Eclipse已经有一些年头了,大部分的时间都是用来写Python(安装Pydev插件)以及C++(安装CDT插件)。 最近我从一个好友那听说了PyCharm以及它新的免费社区版logr。我这个朋友用Eclipse也很长时间了,对PyCharm也是赞不绝口,所以我决定至少在家办公的时 阅读全文

posted @ 2016-09-30 20:25 吃咯 阅读(1039) 评论(0) 推荐(0) 编辑

Python:eval的妙用和滥用
摘要:eval()函数十分强大,官方demo解释为:将字符串str当成有效的表达式来求值并返回计算结果。 so,结合math当成一个计算器很好用。 其他用法,可以把list,tuple,dict和string相互转化。见下例子: 不可谓不强大! BUT!强大的函数有代价。安全性是其最大的缺点。 想一想这种 阅读全文

posted @ 2016-09-30 14:43 吃咯 阅读(561) 评论(0) 推荐(0) 编辑

Debugging AWS ELB OutOfService 或者 Instance has failed at least the UnhealthyThreshold number of health checks
摘要:Your load balancer checks the health of its registered instances using either the default health check configuration provided by Elastic Load Balancin 阅读全文

posted @ 2016-09-29 16:20 吃咯 阅读(1034) 评论(0) 推荐(0) 编辑

[转]处理 AWS ELB 中GoRouter实例失效(Out of Service)
摘要:我在AWS上部署CF的时候,在Go Router 前面设置了AWS ELB来对传入流量进行均衡。部署完毕,所有的虚拟机开始运行。可是在Amazon Console的网络界面中,EC2服务下的ELB实例却显示一个Go Router失效了(Out of Service)。 解决这个问题,我从以下三方面着 阅读全文

posted @ 2016-09-28 20:40 吃咯 阅读(353) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示