解决/var/lib/docker/volumes占用巨大空间prehisle 发布于 2020-09-11 收录于 技术1 2 3 4 5 6 # 查看docker空间占用 docker system df # 查看volumes空间占用 sudo du -s -h /var/lib/docker/volumes/* | sort -nr # 清理volume docker volume prune -f
d3学习笔记prehisle 发布于 2020-09-09 收录于 技术Let’s Make a Bar ChartPart 1Chaining Methodsd3.scaleLinearcanvas or SVG中,y坐标是向下的1 2 3 y = d3.scaleLinear() .domain(d3.extent(data, d => d.value)).nice() .range([height - margin.bottom, margin.top]) nice()做最小最大边界取整的数Piecewise scales 分段比例尺d3.ticks(-1, 1, 10) 1 2 3 4 5 6 7 8 9 10 11 12 13 Array(11) [ 0: -1 1: -0.8 2: -0.6 3: -0.4 4: -0.2 5: 0 6: 0.2 7: 0.4 8: 0.6 9: 0.8 10: 1 ] Part 2
windows10下端口映射prehisle 发布于 2020-09-02 收录于 技术显示当前映射的端口1 netsh interface portproxy show all 添加一个映射端口1 netsh interface portproxy add v4tov4 listenport=10022 listenaddress=* connectport=22 connectaddress=192.168.100.1 protocol=tcp 删除一个映射端口1 netsh interface portproxy del v4tov4 listenport=10022 listenaddress=* 常见问题查端口指令1 NETSTAT.EXE -antp tcp|findstr LISTENING|findstr 22 如果没有监听映射的端口,请检查是否开户了IP Help服务
windows10下安装pandasprehisle 发布于 2020-08-31 收录于 技术直接用pip安装可能会失败,这时需要使用代理安装cmd下的代理配置方法1 2 set http_proxy=http://127.0.0.1:10809 set https_proxy=http://127.0.0.1:10809 再用pip install pandas即可安装成功
查看nf_conntrack中某个ip的连接数量,排查网络问题prehisle 发布于 2020-08-28 收录于 技术外网网络卡成翔了,排除哪个ip把带宽占满了1 cat /proc/net/nf_conntrack | grep 192.168.23.20 | wc -l