摘要: 文章转自 https://blog.csdn.net/hxchuangxiaochuan/article/details/81204084 $( )中放的是命令,相当于` `,例如todaydate=$(date +%Y%m%d)意思是执行date命令,返回执行结果给变量todaydate,也可以写 阅读全文
posted @ 2019-08-27 00:16 帅LOVE俊 阅读(1137) 评论(0) 推荐(0) 编辑
摘要: php5.6以上的版本会出现这种问题 解决办法: 【开启拓展】 extension=curl extension=openssl 【配置证书】 访问https://curl.haxx.se/docs/caextract.html,下载cacert.pem,并在php.ini文件添加 curl.cai 阅读全文
posted @ 2019-07-07 10:57 帅LOVE俊 阅读(405) 评论(0) 推荐(0) 编辑
摘要: 文章转自 https://blog.csdn.net/zhangjs712/article/details/51166748 这是一个非常有趣的 非主流前端领域,这个领域要探索的是如何用工程手段解决前端开发和部署优化的综合问题,入行到现在一直在学习和实践中。 在我的印象中,facebook是这个领域 阅读全文
posted @ 2019-04-29 17:25 帅LOVE俊 阅读(640) 评论(0) 推荐(0) 编辑
摘要: 文章转自 https://my.oschina.net/u/3618644/blog/1569972 问题来源: 一般情况下,每个项目占用一个根目录,而不是一个根目录下面有多个项目。 比如说,安装xampp,xampp的安装路径为:D:\ 安装好后,D盘下面就会有一个文件夹:xampp,如图: 而默 阅读全文
posted @ 2019-04-29 10:46 帅LOVE俊 阅读(3786) 评论(0) 推荐(0) 编辑
摘要: 文章转自 https://www.jianshu.com/p/323ec96c46d2 引入jasypt <dependency> <groupId>com.github.ulisesbocchio</groupId> <artifactId>jasypt-spring-boot-starter</ 阅读全文
posted @ 2019-04-19 14:43 帅LOVE俊 阅读(880) 评论(0) 推荐(0) 编辑
摘要: 文章转自 http://www.cnblogs.com/annsshadow/p/5037667.html https://www.cnblogs.com/cuisi/p/7685893.html 阅读全文
posted @ 2019-04-03 16:00 帅LOVE俊 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 文章转自 https://www.cnblogs.com/myphper/p/3767572.html 在使用mysql排序的时候会想到按照降序分组来获得一组数据,而使用order by往往得到的不是理想中的结果,那么怎么才能使用group by 和order by得到理想中的数据结果呢? 例如 有 阅读全文
posted @ 2019-04-02 21:19 帅LOVE俊 阅读(459) 评论(0) 推荐(0) 编辑
摘要: 文章转自 http://www.cnblogs.com/a7345678/archive/2008/09/25/1298838.html 实现业务系统中的用户权限管理 B/S系统中的权限比C/S中的更显的重要,C/S系统因为具有特殊的客户端,所以访问用户的权限检测可以通过客户端实现或通过客户端+服务 阅读全文
posted @ 2019-03-20 08:04 帅LOVE俊 阅读(15664) 评论(0) 推荐(3) 编辑
摘要: 1.前言 windows下大多我们都是下载使用集成环境,但是本地已经存在一个集成环境,但不适合项目的需求。因此准备再自己搭建一个环境。 2.准备 工具: 1) 下载 nginx1.14.0(版本根据自己需要下载,本教程使用1.14.0版本) 2) 下载 PHP7.2.11(版本根据自己需要下载,本教 阅读全文
posted @ 2019-03-19 22:15 帅LOVE俊 阅读(751) 评论(0) 推荐(0) 编辑
摘要: 文章转自 https://www.cnblogs.com/Smiled/p/9806781.html 众所周知如今市面上端的形态多种多样,手机Web、ReactNative、微信小程序, 支付宝小程序, 快应用等,每一端都是巨大的流量入口,当业务要求同时在不同的端都要求有所表现的时候,针对不同的端去 阅读全文
posted @ 2019-02-13 10:20 帅LOVE俊 阅读(1743) 评论(0) 推荐(0) 编辑
摘要: 文章转自 http://www.it165.net/pro/html/201406/15205.html 有朋友最近问到了 spring 加载类的过程,尤其是基于 annotation 注解的加载过程,有些时候如果由于某些系统部署的问题,加载不到,很是不解!就针对这个问题,我这篇博客说说spring 阅读全文
posted @ 2019-02-01 15:00 帅LOVE俊 阅读(613) 评论(0) 推荐(0) 编辑
摘要: 文章转自https://blog.csdn.net/zcf980/article/details/83040029 项目源码: 链接: https://pan.baidu.com/s/1Gp9cY1Qf51tG9-5gUZsnHQ 提取码: 5izt CSDN源码下载: https://downlo 阅读全文
posted @ 2019-02-01 10:06 帅LOVE俊 阅读(1261) 评论(0) 推荐(0) 编辑
摘要: 文章转自https://www.jb51.net/article/151723.htm 什么是多租户 多租户技术或称多重租赁技术,简称SaaS,是一种软件架构技术,是实现如何在多用户环境下(此处的多用户一般是面向企业用户)共用相同的系统或程序组件,并且可确保各用户间数据的隔离性。 简单讲:在一台服务 阅读全文
posted @ 2019-01-22 22:23 帅LOVE俊 阅读(5310) 评论(0) 推荐(0) 编辑
摘要: 文章转自 https://www.jianshu.com/p/69c6fba08c92 阅读全文
posted @ 2019-01-22 21:33 帅LOVE俊 阅读(2320) 评论(0) 推荐(0) 编辑
摘要: 文章转自 http://blog.51cto.com/12066352/2093750 最近项目采用spring icloud,用的spring boot版本是1.5.x的,spring boot 2.0,Spring 5.0 以后WebMvcConfigurerAdapter会取消掉。以下介绍下大 阅读全文
posted @ 2019-01-22 21:24 帅LOVE俊 阅读(550) 评论(0) 推荐(0) 编辑
摘要: Now let’s start with some simple searches. There are two basic ways to run searches: one is by sending search parameters through the REST request URIa 阅读全文
posted @ 2019-01-15 18:08 帅LOVE俊 阅读(239) 评论(0) 推荐(0) 编辑
摘要: Sample Dataset Now that we’ve gotten a glimpse of the basics, let’s try to work on a more realistic dataset. I’ve prepared a sample of fictitious JSON 阅读全文
posted @ 2019-01-15 17:42 帅LOVE俊 阅读(134) 评论(0) 推荐(0) 编辑
摘要: In addition to being able to index, update, and delete individual documents, Elasticsearch also provides the ability to perform any of the above opera 阅读全文
posted @ 2019-01-15 16:54 帅LOVE俊 阅读(220) 评论(0) 推荐(0) 编辑
摘要: Deleting a document is fairly straightforward. This example shows how to delete our previous customer with the ID of 2: 删除文档非常简单。此示例显示如何删除ID为2的以前的客户: 阅读全文
posted @ 2019-01-15 16:48 帅LOVE俊 阅读(191) 评论(0) 推荐(0) 编辑
摘要: In addition to being able to index and replace documents, we can also update documents. Note though that Elasticsearch does not actually do in-place u 阅读全文
posted @ 2019-01-15 15:37 帅LOVE俊 阅读(152) 评论(0) 推荐(0) 编辑
摘要: Elasticsearch provides data manipulation and search capabilities in near real time. By default, you can expect a one second delay (refresh interval) f 阅读全文
posted @ 2019-01-15 15:15 帅LOVE俊 阅读(134) 评论(0) 推荐(0) 编辑
摘要: Now let’s delete the index that we just created and then list all the indexes again: 现在让我们删除刚刚创建的索引,然后再次列出所有索引: curl -X DELETE "localhost:9200/custome 阅读全文
posted @ 2019-01-15 15:05 帅LOVE俊 阅读(148) 评论(0) 推荐(0) 编辑
摘要: Let’s now put something into our customer index. We’ll index a simple customer document into the customer index, with an ID of 1 as follows: 现在让我们在客户索 阅读全文
posted @ 2019-01-15 14:55 帅LOVE俊 阅读(147) 评论(0) 推荐(0) 编辑
摘要: Now let’s create an index named "customer" and then list all the indexes again: 现在让我们创建一个名为“customer”的索引,然后再次列出所有索引: The first command creates the ind 阅读全文
posted @ 2019-01-15 14:46 帅LOVE俊 阅读(117) 评论(0) 推荐(0) 编辑
摘要: Now let’s take a peek at our indices: 现在让我们来看看我们的指数: And the response: Which simply means we have no indices yet in the cluster. 这仅仅意味着我们在集群中还没有索引。 Wh 阅读全文
posted @ 2019-01-15 14:37 帅LOVE俊 阅读(354) 评论(0) 推荐(0) 编辑
摘要: Let’s start with a basic health check, which we can use to see how our cluster is doing. We’ll be using curl to do this but you can use any tool that 阅读全文
posted @ 2019-01-15 14:16 帅LOVE俊 阅读(165) 评论(0) 推荐(0) 编辑
摘要: The REST API The REST API Now that we have our node (and cluster) up and running, the next step is to understand how to communicate with it. Fortunate 阅读全文
posted @ 2019-01-15 14:03 帅LOVE俊 阅读(119) 评论(0) 推荐(0) 编辑
摘要: Elasticsearch requires at least Java 8. Specifically as of this writing, it is recommended that you use the Oracle JDK version 1.8.0_131. Java install 阅读全文
posted @ 2019-01-15 12:07 帅LOVE俊 阅读(401) 评论(0) 推荐(0) 编辑
摘要: Basic Concepts Basic Concepts There are a few concepts that are core to Elasticsearch. Understanding these concepts from the outset will tremendously 阅读全文
posted @ 2019-01-14 18:35 帅LOVE俊 阅读(248) 评论(0) 推荐(0) 编辑
摘要: Elasticsearch is a highly scalable open-source full-text search and analytics engine. It allows you to store, search, and analyze big volumes of data 阅读全文
posted @ 2019-01-14 17:47 帅LOVE俊 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 文章转自 https://www.cnblogs.com/evablogs/p/6709707.html 一个视频网站上不小心搜到网络知识的视频,突然以前大学的没有真正接受的知识点,一下子豁然开朗,赶紧整理了下笔记。 一、OSI参考模型 自下而上:物理层(物理介质,比特流)、数据链路层(网卡、交换机 阅读全文
posted @ 2019-01-13 15:04 帅LOVE俊 阅读(311) 评论(0) 推荐(0) 编辑
摘要: 文章转自 https://www.cnblogs.com/shy0322/p/9276883.html 我们以百度为例子,当我在浏览器的中输入网址www.baidu.com时,发生了什么? 1.域名解析 要知道,数据传输时所识别的数据链路层封装的帧,并不是通过字符串“www.baidu.com”传输 阅读全文
posted @ 2019-01-13 14:58 帅LOVE俊 阅读(400) 评论(0) 推荐(0) 编辑
摘要: 文章转自 https://www.cnblogs.com/su-han/p/6204016.html https://www.cnblogs.com/mydriverc/p/8297108.html https://www.cnblogs.com/perfei/p/9689741.html http 阅读全文
posted @ 2018-12-24 13:36 帅LOVE俊 阅读(305) 评论(0) 推荐(0) 编辑
摘要: Most Spring Security users will be using the framework in applications which make user of HTTP and the Servlet API. In this part, we’ll take a look at 阅读全文
posted @ 2018-12-19 22:40 帅LOVE俊 阅读(192) 评论(0) 推荐(0) 编辑
摘要: Spring Security provides comprehensive integration with Spring MVC Test Spring Security提供与Spring MVC Test的全面集成 12.1 Setting Up MockMvc and Spring Secu 阅读全文
posted @ 2018-12-19 22:32 帅LOVE俊 阅读(360) 评论(0) 推荐(0) 编辑
摘要: This section describes the testing support provided by Spring Security. 本节介绍Spring Security提供的测试支持。 To use the Spring Security test support, you must 阅读全文
posted @ 2018-12-19 22:00 帅LOVE俊 阅读(657) 评论(0) 推荐(0) 编辑
摘要: Spring Security has added Jackson Support for persisting Spring Security related classes. This can improve the performance of serializing Spring Secur 阅读全文
posted @ 2018-12-19 13:59 帅LOVE俊 阅读(382) 评论(0) 推荐(0) 编辑
摘要: Spring Security’s PasswordEncoder interface is used to support the use of passwords which are encoded in some way in persistent storage. You should ne 阅读全文
posted @ 2018-12-19 13:52 帅LOVE俊 阅读(168) 评论(0) 推荐(0) 编辑
摘要: Now that we have a high-level overview of the Spring Security architecture and its core classes, let’s take a closer look at one or two of the core in 阅读全文
posted @ 2018-12-19 13:48 帅LOVE俊 阅读(200) 评论(0) 推荐(0) 编辑
摘要: Spring Security supports localization of exception messages that end users are likely to see. If your application is designed for English-speaking use 阅读全文
posted @ 2018-12-19 13:41 帅LOVE俊 阅读(316) 评论(0) 推荐(0) 编辑