每天多一点
  • 4 Apr, 2019

    丧

    什么是丧, 就是不开心啊, 非常不开心啊.

  • 29 Mar, 2019

    回退远端commit

    git push h +abcdefg^:master

  • 25 Mar, 2019

    Can not connect to the ChromeDriver

    因为 /etc/hosts 里面的 localhost 设置不对, 加上配置了搜索域, 导致 selenium 链接 webdriver 的时候失败.

  • 21 Mar, 2019

    Apache HttpClient Interim Error: NoHttpResponseException

    https://stackoverflow.com/questions/10558791/apache-httpclient-interim-error-nohttpresponseexception

  • 25 Feb, 2019

    天塌下来

    昨天, 女朋友问我会不会觉得生孩子会天塌下来, 我说不会. 然后心里想了下, 大概只有父母离开我会让我觉得天塌下来吧.

  • 19 Feb, 2019

    python-requests-package-secure-issue

    https://nvd.nist.gov/vuln/detail/CVE-2018-18074#vulnCurrentDescriptionTitle

    https://github.com/kennethreitz/requests/commit/c45d7c49ea75133e52ab22a8e9e13173938e36ff

    The Requests package before 2.20.0 for Python sends an HTTP Authorization header
    to an http URI upon receiving a same-hostname https-to-http redirect, 
    which makes it easier for remote attackers to discover credentials by sniffing the network.
    

    原来这么严格. 同一个hostname, 从https转到http都不要带密码.

  • 15 Feb, 2019

    还是我前男友更好

    “还是我前男友更好”

  • 12 Feb, 2019

    通过cross search访问freezed index

    Elasticsearch 6.6.0 的文档中说, 访问 freeze 索引需要添加 ignore_throttled=false , 测试下来的确如此.

    但是, 如果通过低版本的(6.4.1) cross search cluster 搜索, 不加这个参数居然也可以.

  • 11 Feb, 2019

    苹果系统弹出通知

    /usr/bin/osascript -e "display notification \" 提醒内容 \" with title \"提醒标题\""

  • 30 Jan, 2019

    talk is cheap

    talk is cheap, show me the test case

  • 34
  • 35
  • 36
  • Logo Gmail (2015-2020) [email protected]
  • childe

powered with git pages & jekyll