原创 elk7.7.1【系列二】集成 Java High Level REST Client,並查詢es中所有索引
1、pom.xml中集成rest-high-level-client <dependency> <groupId>org.elasticsearch.client</groupId> <artifactId>elastics
原创 elk7.7.1【系列一】rpm安裝教程
1、下載elk 下載elasticsearch-7.7.1-x86_64.rpm https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.7.1-x86_6
原创 ubuntu14 打包成 iso
1、sudo add-apt-repository ppa:mutse-young/remastersys 2、sudo apt-get update 3、sudo apt-get install remastersys 4、安裝完了重啓
原创 ubuntu14 apt-get update 更新失敗
錯誤: W: Failed to fetch http://ppa.launchpad.net/sergiomejia666/xresprobe/ubuntu/dists/trusty/main/binary-amd64/Package
原创 ubuntu14.04 阿里雲源
1、源地址 /etc/apt/sources.list 2、替換爲以下內容 deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiver
原创 vue 表格中包含圖片,點擊圖片,滾動條消失
如果採用了element-ui2.13.0,則將 "element-ui": "2.13.0" 升級到 "element-ui": "2.13.1",即可解決該bug。
原创 The HTTP request is not acceptable for the requested resource.
問題:window.open(url) 報以上錯 原因: 當點擊訪問頁面中外鏈地址時,會產生一個http請求(用於獲取外鏈地址內容),此時出於安全策略(一些用戶信息或登錄信息會通過url傳遞),瀏覽器會在請求頭中添加一個referrer,
原创 mysql 遞歸查詢父節點 和子節點
1、表結構 表名稱:treeNodes 表結構: id parentid ... 2、查父集合 --drop FUNCTION `getParentList` CREATE FUNCTION `getParen
原创 cesium 繪製軌跡
1、官網地址:https://sandcastle.cesium.com/?src=CZML%20Path.html&label=CZML 2、以下是簡寫後的demo var czml = [ { id: "documen
原创 cesiumjs 代碼選中entity,vue版
let _this = this; var rider = _this.viewer.entities.getById( "b03de0dffb724f0f8796f45eb00d51c8"
原创 統計最近7天每天數據
統計最近7天每天數據mysql腳本sql語句 mysql腳本 CREATE TABLE `alarm_car_spend` ( `id` varchar(64) NOT NULL COMMENT 'id', `eventI
原创 css 樣式兼容ie11 注意事項
border:unset 建議改爲 border: 0px background-color: #273166d5 建議改爲 background-color: rgba(39, 49, 102, 0.835) backgroun
原创 vue 父組件調用子組件方法,子組件頁面值不自動更新
子組件中需要watch監聽被調用方案,對變動的值重新賦值即可,代碼如下: 父組件: <CommentReply ref="child"></CommentReply> this.$refs.child.getComment(); 子組
原创 vue 表格格式化顯示內容
<el-table-column label="開關狀態" align="center" prop="startUp" > <template slot-scope="scope"> <span v-
原创 ip 白名單判斷工具類
import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.re