主要实现了 轮询、加权轮询、随机、加权随机、IPHash 参考大佬文章: https://www.cnblogs.com/wxd0108/p/5465938.html 废话不说,码上见 using System; using System.Collections.Generic; using Sys ...
分类:
编程语言 时间:
2021-05-24 09:27:18
阅读次数:
0
修改php-fpm.conf security.limit_extensions = .php .html 查看php-fpm.conf内listen,如果是端口则nginx.conf server内容为 location ~ \.php|\.html(.*)$ { fastcgi_pass 127 ...
分类:
Web程序 时间:
2021-05-24 09:26:26
阅读次数:
0
~~ (取整) ~~代表双非按位取反运算符, 如果你想使用比Math.floor()更快的方法,那就是它了。 需要注意,对于正数,它向下取整;对于负数,向上取整;非数字取值为0,它具体的表现形式为: ~~null; // => 0 ~~undefined; // => 0 ~~Infinity; / ...
分类:
Web程序 时间:
2021-05-24 08:51:19
阅读次数:
0
来源:https://www.cnblogs.com/maybe2030/p/4781555.html#_label6 TCP/IP协议是Internet最基本的协议、Internet国际互联网络的基础,由网络层的IP协议和传输层的TCP协议组成。通俗而言:TCP负责发现传输的问题,一有问题就发出信 ...
分类:
其他好文 时间:
2021-05-24 08:51:07
阅读次数:
0
iperf2(又叫iperf)帮助手册:https://iperf2.sourceforge.io/iperf-manpage.html iperf分为Server端和Client端, 服务器端: iperf -s -i 1 客户端: iperf -c 192.168.13.4 -i 1 -t 60 ...
分类:
其他好文 时间:
2021-05-24 08:44:11
阅读次数:
0
《说明先引入layui组件框架》 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%><%@ taglib prefix="c" uri="http://java.sun.com/ ...
分类:
其他好文 时间:
2021-05-24 08:43:31
阅读次数:
0
方法一: <input type="text" autocomplete="off" name="test" /> 方法二: 在 input 所在的form标签中添加 <form action="#" autocomplete="off"> <input type="text" autocomple ...
分类:
Web程序 时间:
2021-05-24 08:42:55
阅读次数:
0
JS获取浏览器高度和宽度 IE中: document.body.clientWidth ==> BODY对象宽度 document.body.clientHeight ==> BODY对象高度 document.documentElement.clientWidth ==> 可见区域宽度 docum ...
分类:
Web程序 时间:
2021-05-24 08:42:24
阅读次数:
0
https://www.cnblogs.com/jhuang-com/p/10476365.html 删除数据的一行,一般有两种方法,一个是splice,一个是delete; splice:删除了数组后,数组的长度会自动变化。用法:arr.splice(2,1)——2是数组的下标值,1 代表输出一行 ...
分类:
编程语言 时间:
2021-05-24 08:35:31
阅读次数:
0
<html> <embed height="200" type="application/x-shockwave-flash" width="200" src="http://www.blogclock.cn/swf/S1000746cf11489-9.swf" wmode="transparent ...
分类:
其他好文 时间:
2021-05-24 08:27:38
阅读次数:
0