ConcurrentHashMap原理和源码分析~~~~~~~~~~~~~~~~~~~~~
分类:
编程语言 时间:
2019-06-24 19:41:41
阅读次数:
133
安装 官方镜像地址: https://hub.docker.com/_/mongo?tab=description 可以查看对应的dockerfile, 通过观察docker-entrypoint.sh可以看出,docker版的mongo移除了默认的/etc/mongo.conf, 修改了db数据存 ...
分类:
数据库 时间:
2019-06-24 16:24:49
阅读次数:
125
1. forward前缀:转发到一个页面或一个action 不会由我们配置的视图解析器拼串,独立解析,一定要加“/”,不加就是相对路径,容易出问题; 》转发到jsp页面: 》转发到action: 2. redirect前缀:重定向到一个页面或一个action 》重定向到jsp页面: 》重定向到act ...
分类:
编程语言 时间:
2019-06-24 00:52:00
阅读次数:
161
Nginx 入门 一、正向代理和反向代理 1、正向代理 正向代理(forward proxy) ,一个位于客户端和原始服务器之间的服务器,为了从原始服务器取得内容,客户端向代理发送一个请求并制定目标(原始服务器),然后代理向原始服务器转发请求并将获得的内容返回给客户端,客户端才能使用正向代理。我们平 ...
分类:
其他好文 时间:
2019-06-23 21:18:49
阅读次数:
97
#coding=utf-8import numpy as npimport tensorflow as tfimport osos.environ["CUDA_VISIBLE_DEVICES"]="-1"# print("aa")class Animals: def breathe(self): p ...
分类:
其他好文 时间:
2019-06-17 20:18:50
阅读次数:
187
What is Delegation? Just like the name. Delegation is that a server pretend to behalf a user and to authenticate with kerberos protocol.There are thre ...
分类:
其他好文 时间:
2019-06-17 18:57:46
阅读次数:
101
在git操作中,我们经常会用到fetch, merge, pull和push等命令,以下是一些我们需要注意的地方。 给大家准备了参考资料: 1. What?s a Fast Forward Merge?:https://sandofsky.com/images/fast_forward.pdf 2. ...
分类:
其他好文 时间:
2019-06-17 15:39:51
阅读次数:
104
SERVLET API中转发与重定向的区别? 1、转发(forward方法) 转发仅是容器中控制权的转向,在客户端浏览器地址栏中不会显示出转向后的地址。 转发是服务器请求资源,服务器直接访问目标地址的URL,把那个URL的响应内容读取过来,然后把这些内容再发给浏览器,浏览器根本不知道服务器发送的内容 ...
async https://www.npmjs.com/package/async Async is a utility module which provides straight-forward, powerful functions for working with asynchronous ...
分类:
其他好文 时间:
2019-06-17 01:00:58
阅读次数:
96