Tengine 四层代理: 1 ) 安装tengine ( nginx1.9 以上版本 编译以后要支持stream 模块) 2 ) 配置 nginx 的stream 模块 来做TCP代理 官方文档: https://nginx.org/en/docs/stream/ngx_stream_core_m ...
分类:
其他好文 时间:
2020-04-26 01:11:26
阅读次数:
105
参考文章:Optimizing Transient Response of Internally Compensated dc-dc Converters With Feedforward Capacitor,http://www.ti.com.cn/cn/lit/an/slva289b/slva2 ...
分类:
其他好文 时间:
2020-04-25 17:26:30
阅读次数:
274
手写识别较为简单的版本应该是只用FC,这样参考 "这篇博客" . Lenet 5模型: 本文卷积模型: forward: backward: 结果展示: ...
分类:
Web程序 时间:
2020-04-25 17:01:58
阅读次数:
80
首先,使用netstat命令需要安装net-tools工具包 yum -y install net-tools 这样你就有了两个linux的常用命令,netstat以及ifconfig 第一部分:用法 1、如果查看所有的linux的socker(套接字) [root@production-001 ~ ...
分类:
Web程序 时间:
2020-04-25 12:47:26
阅读次数:
82
在可以访问外网的机器配置如下首先确认防火墙是开启的1、开启ip_forward转发: vim /etc/sysctl.conf net.ipv4.ip_forward=1 #添加 sysctl -p #使其生效 2、转发内网段的流量执行如下firewalld命令: firewall-cmd --ad ...
分类:
Web程序 时间:
2020-04-24 20:01:18
阅读次数:
80
系统环境:window 10 Alt + ← / → go back/forward Alt + Shift + F 快速整理代码 Ctrl + K , Ctrl + F 对选中部分代码进行整理 Ctrl + K , Ctrl + C 注释选中的代码 Ctrl + K, Ctrl + U 对于选中的 ...
分类:
其他好文 时间:
2020-04-23 21:29:52
阅读次数:
106
问题描述: Docker容器映射到宿主机后,查询端口连接只有tcp6没有tcp,通过ipv4地址连接时无法连接成功。 处理方法: 1.检查是否开启ipv4端口转发 sysctl net.ipv4.ip_forward 2、若指令返回结果为net.ipv4.ip_forward = 0,执行如下指令 ...
分类:
其他好文 时间:
2020-04-23 19:28:23
阅读次数:
420
现有环境说明 内网slb:192.168.0.203 服务器三台:master1 = 192.168.0.195 master2 = 192.168.0.198 master3 = 192.168.0.194 三台master都安装基本环境 修改三个服务器上的hosts 添加 vim /etc/ho ...
分类:
其他好文 时间:
2020-04-22 16:52:58
阅读次数:
167
01 从物理网络到虚拟网络 02 桥接(Bridge Adapter) 03 NAT 04 主机网络(Host-only Adapter) 05 内部网络(internal) 06 总结 01 从物理网络到虚拟网络# 著名的「六度分隔定理」说到,世界上任何两个互不相识的人,只需要最多六个人就能够建立 ...
分类:
其他好文 时间:
2020-04-22 00:05:24
阅读次数:
80
list和forward_list成员函数版本的算法: 操作解释 lst.merge(lst2) 将来自lst2的元素合并入lst,二者都必须是有序的,元素将从lst2中删除。 lst.merge(lst2, comp) 同上,上面版本使用<运算符,这个版本使用给定比较操作。 lst.remove( ...
分类:
编程语言 时间:
2020-04-20 23:30:14
阅读次数:
77