Why can millions of hairs grow from our heads, and yet our palms手掌 and the soles of our feet are as bare as anything? It all comes down to a special m ...
分类:
其他好文 时间:
2018-12-03 12:47:55
阅读次数:
170
Arch Linux的内核已经包含了netfilter包过滤框架。 在/etc/nftables.conf默认包含着一个简单的防火墙设置,但过于简单, 现在重新编写nft的设置(这里列举的规则适合个人电脑,服务器或是其它的机器可以参考其它资料配置更加适合的规则)。 # nft list rulese ...
分类:
其他好文 时间:
2018-12-02 01:21:05
阅读次数:
508
// Forward declaration of isBadVersion API. bool isBadVersion(int version); int firstBadVersion(int n) { int high = n; int low = 1; int mid ; int midV... ...
分类:
其他好文 时间:
2018-12-01 12:54:09
阅读次数:
248
January 11, 2018 - Apache Flink Robert Metzger and Chris Ward A favorite session from Flink Forward Berlin 2017 was Robert Metzger’s “Keep It Going: H ...
分类:
Web程序 时间:
2018-11-30 20:16:21
阅读次数:
190
首先我们来了解相关变量的含义: $_SERVER['REMOTE_ADDR']:浏览当前页面的用户计算机的ip地址 $_SERVER['HTTP_CLIENT_IP']:客户端的ip $_SERVER['HTTP_X_FORWARDED_FOR']:浏览当前页面的用户计算机的网关 $_SERVER[ ...
分类:
Web程序 时间:
2018-11-30 15:42:07
阅读次数:
317
一般设置代理只需按以下来设置是没有问题的,但是今天我们要操作的websocktserver{location/{proxy_passhttp://127.0.0.1:10086;proxy_set_headerHost$host;proxy_set_headerX-Real-IP$remote_addr;proxy_set_headerX-Forwarded-For$proxy_add_x_for
分类:
Web程序 时间:
2018-11-29 20:17:34
阅读次数:
183
window.open(url,ways) url 是打开的网页地址 ways 打开的方式 -self window.close() 浏览器地址信息 window.location window.history 记录浏览器的访问历史记录 window.history.forward() 前进 最新的 ...
分类:
其他好文 时间:
2018-11-29 16:34:45
阅读次数:
155
如果你在laravel5.5 升级到laravel5.6之后出现这个错误,打开app\Http\Middleware\TrustProxies.php 更改以下内容 ...
分类:
其他好文 时间:
2018-11-29 15:05:37
阅读次数:
216
forward:转发 redirect:重定向 -- 转发比重定向快,因为重定向经过客户端,而转发并没有。 -- 重定向能够重定向到一个外部网站,但转发不行。 -- 重定向能够避免在用户重新加载页面时再次调用同样的动作。 -- Spring 3.1 以后通过 Flash 属性提供了一种供重定向传值的 ...
分类:
编程语言 时间:
2018-11-28 23:51:49
阅读次数:
211
在日志格式后面加上 $request_body 配置信息 log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$ht... ...
分类:
其他好文 时间:
2018-11-28 13:17:10
阅读次数:
1280