原创 使用 github+Action 部署 Hexo 博客

前言 爲便於敘述,統一說明如下: 博客 github 源碼倉庫默認分支爲 main,ssh 地址:[email protected]:username/blog.git username.github.io:博客部署倉庫,默認分支爲 mai

原创 VBA-將彙總表按指定條件拆分

需求 彙總表部分截取如下: 現需要把其中內容按訂單日期、收貨地區、供應商三個條件拆分成可獨立成頁的審批表,審批表表頭含有公共信息,額外含有供應商聯繫人及聯繫方式。審批表模板如下: 最終效果: 分析 1、拆分條件 每份審批表的訂單日期、

原创 CompletableFuture 異步處理任務總結

oracle JDK8 有關內容的文檔:https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html 創建異步任務 runAs

原创 create-react-app 腳手架引入 scss

create-react-app 7.3.0 已經在 node_modules/react-scripts/config/webpack.config.js 當中內置了 scss 的預處理器,不用再手動添加,如下: …… // style

原创 Quartz 2.3.0 文檔中英文參考 Lesson 1: Using Quartz

修改及建議:https://github.com/clxering/Quartz-Doc-Chinese-English-bilingual/blob/dev/Tutorials/Lesson-1 Before you can use

原创 Quartz 2.3.0 文檔中英文參考 Lesson 2: The Quartz API, Jobs And Triggers

修改及建議:https://github.com/clxering/Quartz-Doc-Chinese-English-bilingual/blob/dev/Tutorials/Lesson-2 The Quartz API Quar

原创 docker 下配置 Oracle Database Server 12c R2 的流程備忘

下載鏡像 https://hub.docker.com/_/oracle-database-enterprise-edition 修改源 採用阿里雲提供的國內源,Docker Desktop 依次進入 Settings→Docker Eng

原创 Spring Boot 配合 Mybatis 實現多數據源

1 環境 plugins { id 'org.springframework.boot' version '2.3.5.RELEASE' id 'io.spring.dependency-management' versio

原创 樹莓派4B 安裝 Raspberry Pi OS 流程及問題處理備忘

1 準備 micro SD 卡 外接顯示器 Raspberry Pi 4B 3.5 英寸硬盤 2 安裝 Raspberry Pi OS(previously called Raspbian) 官方鏈接:https://www.raspb

原创 HttpClient 4.5.2 文檔的中英文參考(第一章) Chapter 1 Fundamentals

轉譯自:http://hc.apache.org/httpcomponents-client-ga/tutorial/html/fundamentals.html 本文在已發佈在GitHub(https://github.com/clxe

原创 Hadoop 3.2.0 在 CentOS 7 下搭建僞分佈式和完全分佈式集羣的案例 公共部分 僞分佈式的搭建 完全分佈式的搭建 4 啓動 Hadoop 其它

環境及工具 Hadoop 3.2.0 Windows 10 1809 CentOS 7.6.1810 VMware 15.1.0 OpenJDK 8(Amazon Corretto 8.222.10.1) 注意事項:由於 javax.

原创 雲服務器部署 JavaWeb 環境(基於 docker)

1 切換鏡像數據源 前往阿里雲開通容器鏡像服務,進入控制檯後進入鏡像加速器,按照流程操作即可。操作文檔摘錄如下,有刪減: 1.1 Ubuntu/CentOS (1)安裝/升級 Docker 客戶端 推薦安裝 1.10.0 以上版本的 Doc

原创 React Function Components(React 的函數組件)

轉譯自:https://www.robinwieruch.de/react-function-component 本文在已發佈在GitHub(https://github.com/clxering/Technical-Articles-C

原创 將 VSCode 添加到右鍵菜單

問題描述 Windows 10 或 macOS 10.14 下安裝 VSCode 後,右鍵快速打開選項並沒有快捷啓動。 Windows 10 解決方案 通過註冊表添加三個位置的快速打開選項:文件、目錄、桌面(目錄內)的空白位置。 1、添加至

原创 使用 try-with-resources 關閉資源

JDK7 引入了 try-with-resources,爲資源關閉提供了更爲方便簡潔的方法。以一段簡單的 BIO 服務端代碼爲例,使用傳統方式關閉資源: public static void main(String[] args) {