原创 go lang chrome 爬蟲 (MAC 系統)

本文是在 mac 系統操作 Chrome headless 模式 介紹 Chrome-headless 模式, Google 針對 Chrome 瀏覽器 59版 新增加的一種模式,可以讓你不打開UI界面的情況下使用 Chrome 瀏覽

原创 省市區獲取,根據 中國行政區劃代碼及淘寶部分數據整合而成

爬蟲爬 省市區數據 中國行政區劃代碼 http://www.mca.gov.cn/article/sj/xzqh/ http://www.mca.gov.cn/article/sj/xzqh/2018/ 統計用區劃和城鄉劃分代碼 ht

原创 某些情況下java md5 base64_encode 與 php md5 base64_encode的簽名

要求:待簽名數據以UTF-8的格式轉字節流,對字節流進行MD5算法得到的簽名字節流,再經過Base64轉換爲字符串,即生成了數字簽名。 所有編碼都是 UTF-8 編碼 字符串:A12345 值:hySqdYwvZi15lShw70

原创 Could not locate PropertySource: I/O error on GET request

2018-09-20 11:20:30.514 WARN [provider-demo,,,] 17603 --- [on(6)-127.0.0.1] c.c.c.ConfigServicePropertySourceLocator

原创 springboot 微服務相關收藏

微服務之分佈式跟蹤系統(springboot+zipkin) https://blog.csdn.net/qq_21387171/article/details/53787019 微服務之分佈式跟蹤系統(springboot+zipk

原创 SpringBoot2 Spring Cloud consul 分佈式配置中心使用教程

目錄環境說明consul 安裝與啓動手冊創建測試案例idea 創建SpringBoot2 Spring Cloud consul 案例pom.xml 完整配置如下入口如下Config 類控制器瀏覽器效果源碼 環境說明 java 1.

原创 SpringBoot2 Spring Cloud Config Server和Config Client分佈式配置中心使用教程

環境 JAVA 1.8 SpringBoot2 2.0.5.RELEASE fox.風 SpringBoot2 Spring Cloud Config Server pom.xml 配置增加 完整的如下 <?xml

原创 docker rocketmq 安裝及使用

rocketmq docker hub地址 https://hub.docker.com/r/foxiswho/rocketmq/ 風.fox 啓動 rocketmq server 容器 docker run -d -p 9876:9

原创 docker 中安裝 docker jenkins 的安裝及配置

環境 Centos 7.5 拉取鏡像 https://hub.docker.com/r/jenkins/jenkins/ docker pull jenkins/jenkins:2.138.1-alpine 設置本地目錄 創建用戶 u

原创 Centos7 安裝 redis

安裝 Centos7 略 配置IP https://blog.csdn.net/fenglailea/article/details/12191607 根據上面案例配置出IP和DNS TYPE=Ethernet PROXY_METH

原创 Centos7 安裝solr及配置

安裝 Centos7 略 配置IP https://blog.csdn.net/fenglailea/article/details/12191607 根據上面案例配置出IP和DNS vim /etc/sysconfig/netwo

原创 java spring boot 項目 熱加載 有利於快速開發

spring boot devtools 方式 pox.xml 加入 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>sprin

原创 Centos7 FastDFS 安裝和配置啓動

安裝 Centos7 略 配置IP https://blog.csdn.net/fenglailea/article/details/12191607 根據上面案例配置出IP和DNS vim /etc/sysconfig/netwo

原创 Linux Tomcat9 控制界面及管理配置

安裝 java https://blog.csdn.net/fenglailea/article/details/26006647 安裝 tomcat https://tomcat.apache.org/download-90.cgi

原创 java spring boot2 springMVC thymeleaf 整合案例

java 安裝配置等相關 java 版本 1.8.x https://blog.csdn.net/fenglailea/article/details/82152210 風.foxwho IDEA 安裝配置 略 IDEA 創建項目 Cre