摘要: 1 server{ 2 listen 80; 3 location /xxx{ 4 proxy_pass https://xxxx?$args 5 proxy_set_header Host $http_host; 6 proxy_set_header X-Real-IP $remote_addr; 阅读全文
posted @ 2020-11-27 10:35 小学员G 阅读(296) 评论(0) 推荐(0) 编辑
摘要: 1、修改pom文件,添加依赖 1 <dependency> 2 <groupId>org.springframework.boot</groupId> 3 <artifactId>spring-boot-starter-thymeleaf</artifactId> 4 </dependency> 5 阅读全文
posted @ 2020-03-30 10:46 小学员G 阅读(855) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/rui15111/article/details/93995571 https://blog.csdn.net/soberchina/article/details/72953996 阅读全文
posted @ 2020-03-29 18:04 小学员G 阅读(151) 评论(0) 推荐(0) 编辑
摘要: Ctrl+E 最近的文件Ctrl+Alt+Enter 在当前行前插入一行Shift+Enter 在当前行下面增加一行Ctrl+Alt+O 自动删除未使用的importCtrl+Shift+F12 最大化/还原窗口Alt+鼠标选择 列选择模式,按列选择Ctrl+N 搜索class类文件Ctrl+Shi 阅读全文
posted @ 2020-03-12 10:31 小学员G 阅读(8822) 评论(0) 推荐(2) 编辑
摘要: SpringBoot之使用Spring Session集群-redis 用nginx做负载的时候,会出现每一次http请求都会分配到不同的tomcat上,这样用session存储用户数据就会有问题。因为tomcat集群之间没有实现session共享。 spring-session跟redis很好的帮 阅读全文
posted @ 2019-08-03 16:42 小学员G 阅读(272) 评论(0) 推荐(0) 编辑
摘要: http get请求: http post请求: https get请求: http get请求: 阅读全文
posted @ 2018-01-30 19:49 小学员G 阅读(436) 评论(0) 推荐(0) 编辑
摘要: Nicescroll滚动条插件是一个非常强大的基于JQUERY的滚动条插件,不需要增加额外的css,几乎全浏览器兼容。ie6+,实现只需要一段代码,侵入性非常小,样式可完全自定义,支持触摸事件,可在触摸屏上使用。 官网地址:http://www.areaaperta.com/nicescroll/ 阅读全文
posted @ 2017-09-22 10:29 小学员G 阅读(346) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/hj960511/article/details/51479755 一、PHP面向对象的简单列子 以人为列子: <?php header("Content-type: text/html; charset=utf-8"); class person{ //下 阅读全文
posted @ 2017-07-27 08:58 小学员G 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 1、$()可以是$(expresion),即css选择器、Xpath或html元素,也就是通过上述表达式来匹配目标元素。 比如:$("a")构造的这个对象,是用CSS选择器构建了一个jQuery对象——它选择了所有的<a/>这个标签。如: $("a").click(function(){...})  阅读全文
posted @ 2017-07-14 13:52 小学员G 阅读(879) 评论(0) 推荐(0) 编辑
摘要: Css display值与解释-(详细可见CSS手册的CSS display手册)参数:block :块对象的默认值。用该值为对象之后添加新行none :隐藏对象。与visibility属性的hidden值不同,其不为被隐藏的对象保留其物理空间inline :内联对象的默认值。用该值将从对象中删除行 阅读全文
posted @ 2017-06-30 16:43 小学员G 阅读(232) 评论(0) 推荐(0) 编辑