08 2017 档案
摘要:1、sudo iptables -A INPUT -s 192.168.1.109/32 -j DROP 不允许指定IP
阅读全文
摘要:1、a=[2,3,4,5] b=a 只是将b指向a,对b的操作会影响a 2、如果需要对b操作,不影响a b=a[:]
阅读全文
摘要:1、提示找不到margo go get github.com/DisposaBoy/MarGo(该工具已经被作者清空了,大部分人在这一步就被卡住了) 如果你也是在第二步卡住了,那么可以按照我的方法进行替换。 使用 go get github.com/slene/margo这个代替。不过这个工具需要自
阅读全文
摘要:1、apt-get的proxy 新建/etc/apt/apt.conf.d目录下新建10proxy文件,添加: Acquire::http::proxy"http://xx.xx.xx.xx:xxxx"; Acquire::https::proxy"https://xx.xx.xx.xx:xxxx"
阅读全文

浙公网安备 33010602011771号