Simon Lu

Results 38 comments of Simon Lu

sorry, I made a mistake here. openwrt's ip6tables does support nat table. But I have no idea about how to redirect ipv6 traffic to ss-redir's port. I tried `ip6tables -t...

@hellotanuky installed already. Could you offer more details about how to make it works

因为之前有测试过,切换物理路由器后虚拟机也能自动切换 ip,所以就把刷新按钮去掉了。能否请你帮忙测试下,是切换延迟还是无法自动切换到192.168.31.x?等10分钟就好

谢谢反馈,我会在后续版本中把刷新 ip 的按钮重新加上

thanks for your reply, so: 1. Its ok to use instance/this/state in fp paradigm, just keep the state immutable. 2. Its also acceptable to use class to represent data structure,...

same issue here. `aws s3 sync dist/ s3://bucket --delete` did not upload s3://bucket/index.html with dist/index.html dist/index.html and s3://bucket/index.html have the same file size, but their modify time are different. actually,...

@Jancat 用箭头函数不用保存 this 为 context. 他执行的时候的 this 值就是创建它的环境的 this, 跟它在什么环境下执行无关

@lishengzxc 你的 throttle 实现是不是有不妥当的地方. 假设我们要求每 60ms 只能开火一次. 如果用户每 20ms 点一次开火, 点了4次. 那么, 要求应该是 0ms 以及 60ms 的时候各发射一次子弹.对吧? 0ms : 第一次点击. else 分支. 马上发射一次子弹; 20ms: 第二次点击. if 分支. 设置定时器: 60ms 后即...