原创 Python使用python-nmap(windows)
安裝 首先需要安裝nmap!!!(這很重要):https://nmap.org/download.html 測試代碼: import nmap nm = nmap.PortScanner(nmap_search_path=('nma
原创 Tesseract+Pillow識別圖片初體驗
首先要安裝pillow和pytesseract pip install pillow pip install pytesseract 安裝Tesseract tesseract下載地址:https://digi.bib.uni-man
原创 HttpClient簡單使用
導入pom文件 <!--HttpClient--> <dependency> <groupId>org.apache.httpcomponents</groupId>
原创 通過Docker部署Disconf
首先要安裝Docker yum install docker -y 啓動docker systemctl start docker #systemctl enable docker #自啓動 驗證是否安裝成功 docker -
原创 Disconf配SpringBoot實戰(自動刷新無需重啓)
前置環境需要的配置: disconf環境搭建:https://blog.csdn.net/qq_37598011/article/details/93619525 SpringBoot與Disconf整合 pom文件 這裏我用的是Spri
原创 Linux下部署disconf(分佈式配置中心)
前置環境需要的配置: MySQL安裝:https://blog.csdn.net/qq_37598011/article/details/93489404 Zookeeper安裝:https://blog.csdn.net/qq_3759
原创 Linux安裝Nginx
注:首先要安裝這四個依賴: yum -y install gcc zlib zlib-devel pcre-devel openssl openssl-devel 下載安裝 下載 wget http://nginx.org/down
原创 Linux安裝Tomcat
到這個網頁下查看最新的鏡像:https://mirrors.tuna.tsinghua.edu.cn/apache/tomcat 下載安裝 下載 wget https://mirrors.tuna.tsinghua.edu.c
原创 Linux安裝MySQL5.7
下載地址:https://dev.mysql.com/downloads/mysql/5.7.html#downloads 解壓 tar -xvf mysql-5.7.26-linux-glibc2.12-x86_64.tar
原创 Linux安裝Redis
下載安裝 注:要先安裝c/c++環境!!! yum -y install gcc gcc-c++ autoconf pcre pcre-devel make automake 下載 wget http://download.red
原创 Spring源碼分析(三)(解決循環依賴)
spring解決循環依賴主要通過三級緩存去完成。 /** Cache of singleton objects: bean name --> bean instance */ private final Map<String
原创 CopyOnWriteArrayList 實現原理
CopyOnWriteArrayList是Java併發包中提供的一個併發容器,它是個線程安全的ArrayList,寫操作通過創建底層數組的新副本來實現,是一種讀寫分離的併發策略,我們也可以稱這種容器爲"寫時複製器",Java併發包
原创 Spring Boot啓動原理解析(執行流程篇)
SpringApplication.run @SpringBootApplication public class DemoApplication { public static void main(St
原创 提升訪問github的訪問速度
首先進入這個網站: http://tool.chinaz.com/dns 查詢以下幾個地址: github.com assets-cdn.github.com github.global.ssl.fastly.net 如: 找到TT
原创 Spring Boot啓動原理解析(註解篇)
SpringBoot內置的自動配置使開發變得很方便,所以這次就來看看它的啓動源碼和它的自動化配置的實現原理。 啓動類: @SpringBootApplication public class DemoApplicatio