文章收藏
文章收藏
  1. 海盗中间件

    https://mp.weixin.qq.com/s/pzAphmeg8eTnkic8GHGP7w

  2. markdown指南

    < http://note.youdao.com/iyoudao/?p=2411>

  3. ruby 并行赋值的原理
    # getlocal + newarray
    _tmp = [c, a, b]
       
    # expandarray
    _tmp1 = _tmp[0]
    _tmp2 = _tmp[1]
    _tmp3 = _tmp[2]
       
    # setlocal
    a = _tmp1
    b = _tmp2
    c = _tmp3
       
    作者:RednaxelaFX
    链接:https://www.zhihu.com/question/54500937/answer/140120436
    来源:知乎
    著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
    
  4. kong_plugins

    https://docs.konghq.com/0.14.x/plugin-development/file-structure/

  5. github加速

    < https://yq.aliyun.com/articles/36744>

      sudo killall -HUP mDNSResponder
    
  6. godns

    https://github.com/kenshinx/godns

  7. lua install
    curl -R -O http://www.lua.org/ftp/lua-5.2.3.tar.gz
    tar zxf lua-5.2.3.tar.gz
    cd lua-5.2.3
    make macosx
    sudo make install
       
    brew install lua -- 自带luarocks 2.1.0.6-1
    lua
    > local cjson = require("cjson");
    error loading module 'cjson' from file '/usr/local/lib/lua/5.3/cjson.so':
    dlopen(/usr/local/lib/lua/5.3/cjson.so, 6): Symbol not found: _lua_objlen
    Referenced from: /usr/local/lib/lua/5.3/cjson.so
    Expected in: flat namespace
    in /usr/local/lib/lua/5.3/cjson.so
    stack traceback:
    [C]: in ?
    [C]: in function 'require'
    stdin:1: in main chunk
    [C]: in ?
    luarocks remove lua-cjson
    luarocks install lua-cjson 2.1.0-1 -- 这个版本work fine
    
  8. PostgreSql

    周正中(德哥)github

    周正中(德哥)视频教程

    PostgreSQL数据库内核分析-彭智勇,彭煜玮

  9. brew 安装 mysql的坑 问题是默认的plugin被设置成caching_sha2_password 安装过mysql8导致的问题,需要清理一下
     mysql>use mysql; 
     mysql>select user, host, plugin, authentication_string from user\G; 
    
  brew remove mysql
  brew cleanup
  rm -rf /usr/local/var/mysql
  1. mac定时任务 https://www.jianshu.com/p/4addd9b455f2

  2. 后端架构师技术图谱

    https://github.com/xingshaocheng/architect-awesome

  3. 聊一聊Spring中的线程安全,拓展了Bean的scope、ThreadLocalMap、WeakRefrence https://mp.weixin.qq.com/s/EqNiKIYnZ4VHiYHewx9UgA

  4. 精益数据分析,&拉姆斯菲尔德《已知与位置》(Known and Unknown)

image-20181026093123639

  1. 变量命名神器

  2. okr实操