上一页 1 2 3 4 5 6 ··· 16 下一页
  2017年3月25日
摘要: 写这篇文章是由于最近在产品登录授权页面上,到底如何返回错误提示引发的一些思考,调研后做下总结。 登录和授权在现在的互联网产品中属于最常用必备的模块,在互联网安全形势严峻的今天,其重要性更是不言而喻。如何处理好这个部分,关系到产品在用户心里的信誉。关于登录授权的安全性涉及方方面面,本文重点讨论的场景是 阅读全文
posted @ 2017-03-25 15:51 eshizhan 阅读(2911) 评论(0) 推荐(0) 编辑
  2017年3月5日
摘要: running on UNIX: comcast: https://github.com/tylertreat/comcast running on Windows: clumsy: https://github.com/jagt/clumsy running on network gateway: 阅读全文
posted @ 2017-03-05 13:18 eshizhan 阅读(730) 评论(0) 推荐(0) 编辑
  2016年7月15日
摘要: Q: When you use `go tool pprof` get heap data, profile is empty. A: The default sampling rate is 1 sample per 512KB of allocated memory. So If you app 阅读全文
posted @ 2016-07-15 11:24 eshizhan 阅读(1764) 评论(0) 推荐(0) 编辑
  2015年12月24日
摘要: import requestsfrom requests.adapters import HTTPAdapters = requests.Session()s.mount('http://', HTTPAdapter(max_retries=3))s.mount('https://', HTTPAd... 阅读全文
posted @ 2015-12-24 12:05 eshizhan 阅读(22928) 评论(0) 推荐(2) 编辑
  2015年11月23日
摘要: Q:bdb: BDB1538 Program version 5.3 doesn't match environment version 4.7A:svnadmin recover /var/whatever/xbt[via] 阅读全文
posted @ 2015-11-23 20:06 eshizhan 阅读(804) 评论(0) 推荐(0) 编辑
摘要: OpenSSL Command-Line HOWTOThe openssl application that ships with the OpenSSL libraries can perform a wide range of crypto operations. This HOWTO prov... 阅读全文
posted @ 2015-11-23 14:03 eshizhan 阅读(4114) 评论(0) 推荐(0) 编辑
  2015年11月18日
摘要: 自己用树莓派搭建了个小server,用了很长时间了,最近查看log发现有很多SSH登陆失败,瞬间心就碎了,一直没关心小派的安全问题,怪我咯! 马上行动,首先研究下log:/var/log/auth.log记录了SSH登陆等权限安全信息,如何知道自己被攻击了呢?# grep sshd.\*Fai... 阅读全文
posted @ 2015-11-18 17:50 eshizhan 阅读(2524) 评论(2) 推荐(0) 编辑
  2015年4月9日
摘要: 命令行查看Mac OS X版本$ sw_vers ProductName: Mac OS XProductVersion: 10.10.3BuildVersion: 14D131Mac OS X截图不要使用"抓图"程序,直接使用快捷键Command-Shift-3: 全屏截图,文件... 阅读全文
posted @ 2015-04-09 21:09 eshizhan 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 撤销已经推送到远程仓库的最后一次提交,要小心这么操作,因为远程仓库还有别人在使用$ git reset --hard HEAD^$ git push -f origin master从仓库中提出一个文件夹作为单独的仓库$ lsORIG_REPO$ git clone ORIG_REPO NEW_RE... 阅读全文
posted @ 2015-04-09 20:50 eshizhan 阅读(236) 评论(0) 推荐(0) 编辑
  2015年4月5日
摘要: 最近遇到一个问题,需要对一张表做统计,这个统计有什么特别之处值得我记录了下来呢?大家知道SQL中聚合函数GROUP BY的结果一般为一列,即多个值通过聚合函数运算统计到一起,但是如何将不同条件的值统计到不同列中呢,即按条件统计到多个列中。举个栗子:YEARTYPEVALUE2015110020152... 阅读全文
posted @ 2015-04-05 22:31 eshizhan 阅读(11210) 评论(3) 推荐(5) 编辑
上一页 1 2 3 4 5 6 ··· 16 下一页