原创 jdk1.8 日期 API 常用方法
Date to LocalDateTime 方法1 Date d = new Date(); LocalDateTime ldt = d.toInstant().atZone(ZoneId.systemDefault()).toLocalD
原创 docker 創建私有倉庫
卸載舊版本 sudo yum remove docker \ docker-client \ docker-client-latest \
原创 2、zookeeper系列 -- 簡單學習 zk 提供的 java API
前置聲明 maven <dependencies> <dependency> <groupId>org.apache.zookeeper</groupId> <artifactId>zookeeper
原创 1、zookeeper 系列 -- zookeeper 的創建與使用
本地搭建 單機版 zoo.cfg 配置文件 tickTime=2000 dataDir=/var/lib/zookeeper clientPort=2181 initLimit=5 syncLimit=2 server.1=IP1:2888
原创 centos + fastdfs + nginx docker 化
環境準備: 使用的軟件: libfatscommon:FastDFS分離出的一些公用函數包 https://github.com/happyfish1... FastDFS:FastDFS本體 https://github.com/happ
原创 laravel-admin 開發 bootstrap-treeview 擴展包
laravel-admin 擴展開發文檔https://laravel-admin.org/doc... 效果圖: 開發過程: 1、先創建Laravel項目,並集成laravel-admin,教程: http://note.youdao.
原创 css、js阻塞
大家是不是會遇到這樣的一個問題,頁面加載速度過慢,瀏覽器老在轉圈圈,頁面部分內容需要花費較多的時間才能加載出來? 要明白上述問題,我們需要知道是什麼在阻塞頁面的渲染? 1、瀏覽器如何渲染? 1.1、渲染引擎介紹要先說明:Firebox 的渲
原创 springboot jar 啓動腳本
#!/bin/bash PID=$(ps -ef | grep renovation-1.0.0.jar | grep -v grep | awk '{print $2}') if [ ! -z "$PID" ] then