Categories
- FFMpeg (5)
- Libav (1)
- Google (3)
- iBeacon (1)
- LDAP (3)
- Me (2)
- Network (11)
- OS (149)
- RTMP (4)
- SIP (1)
- Kamailio (1)
- SNMP (1)
- VMware (20)
- VCP考試 (1)
- 伺服器 網站服務 (105)
- 名詞解釋 (4)
- 專案管理 (1)
- 工具軟體 (51)
- Adobe (1)
- FMS (1)
- Cloudera (1)
- Docker (1)
- Eclipse (4)
- Intellij (2)
- OBS (2)
- Office (10)
- Excel (4)
- PowerPoint (5)
- Postman (2)
- Splunk (13)
- Virtualbox (2)
- Visual Studio (2)
- 文字編輯器 (10)
- Sublime Text 2 (6)
- Sublime Text 3 (3)
- Vim (3)
- 連線工具 (1)
- Xshell (1)
- Adobe (1)
- 程式語言 (80)
- CSS (2)
- HTML (2)
- iOS (1)
- Java (30)
- JavaScript (5)
- jQuery (4)
- jsTree (2)
- JSP (3)
- PHP (16)
- Python (8)
- Ruby (1)
- sed (1)
- Shell Script (8)
- Windows Bash Script (1)
- XML (1)
- 資料庫 (37)
- FFMpeg (5)
Category Archives: 伺服器 網站服務
Gitbook 超過兩層目錄無法創建檔案/目錄的解套
因為gitbook作者認為一本書的章節目錄不應該過於複雜 所以原本預設只有兩層目錄 在去年一堆相關討論串結束後雖然已讓目錄可以超過兩層 但是gitbook (github源)卻無法建立相對應的目錄及檔案 在爬了許多code後 (/usr/lib/node_modules/gitbook)決定還是自己寫一個parse code來處理 這邊在讀完SUMMARY.md後會自動偵測檔案目錄是否不存在 不存在就直接創建 預設只抓三層檔案目錄的結構 # !/usr/bin/python # -*- coding: utf-8 -*- import re import os for line in open(“SUMMARY.md”): try: src1 = re.search(‘((.+?))’, line) src = src1.group(1) except: print line else: cnt = … Continue reading
Posted in Gitbook, Python
Leave a comment
淺談 Elasticsearch 的定義
[摘錄自Elasticsearch Server, 2nd Edition第12頁] The basics of Elasticsearch Elasticsearch is an open source search server project started by Shay Banon and published in February 2010. During this time, the project has grown into a major player in the field of … Continue reading
Posted in Elasticsearch
Leave a comment
elasticsearch.yml 檔案說明
##################### Elasticsearch Configuration Example ##################### # This file contains an overview of various configuration settings, # targeted at operations staff. Application developers should # consult the guide at . 說明此檔案包含多個設定的部份,可以至 Elasticsearch Guide 觀看說明 # # The installation procedure is covered … Continue reading
Posted in Elasticsearch
Leave a comment
Logstash + Redis + Nginx + Kibana + ElasticSearch
環境: Ubuntu 14.04 x64 server 安裝Java環境 sudo apt-get install openjdk-7-jdk 下載Logstash壓縮檔 cd /tmp curl -O https://download.elasticsearch.org/logstash/logstash/logstash-1.4.0.tar.gz tar zxvf logstash-1.4.0.tar.gz -C /opt/logstash 基本測試 cd /opt/logstash bin/logstash -e ‘input { stdin { } } output { stdout {} } # 試著打幾個字看看 安裝Elasticsearch … Continue reading
Posted in Elasticsearch, Kibana, Logstash, Redis
Leave a comment
Xibo 修改網頁page template
避免在指派播放網頁的時候會因為activeX被關閉而失敗 修改 {xibo directory}/modules/preview/HtmlTemplateSimple.html 最上面加入 <!– saved from url=(0014)about:internet –>
Posted in Xibo
Leave a comment
Xibo使用web page時出現白邊解決方法
即使在設定上已經選擇了fullscreen,可是在client播放時四週會有白邊 這時候的解決方法為將layout的設定稍為超過,蓋掉白邊…Orz
Posted in Xibo
Leave a comment
Xibo 增加 Menu
page 資料表新增資料 pageID => 流水號 name => 名稱 pageGroupID => groupID menuitem 資料表新增資料 MenuItemID => 流水號 MenuID => 屬於哪一層Menu PageID => 哪一個頁面,對應到 1. 的資料 Args => link,外部link要連http一起打 Text => 顯示資訊 Class => 未知 Img => 圖片 Sequence => 在這一層menu的順序 External … Continue reading
Posted in Xibo
Leave a comment
Xibo 修正上傳中文檔名會空白
修改 {xibo}/3rdparty/jquery-file-upload/UploadHandler.php 主要是因為basename這個function對解析中文會有問題~ protected function trim_file_name($name, $type, $index, $content_range) { // Remove path information and dots around the filename, to prevent uploading // into different directories or replacing hidden system files. // Also remove control characters and spaces (x00..x20) around … Continue reading
Posted in Xibo
Leave a comment
Xibo 增加 display 顯示頁面連結,開啟 rtmp 串流頁面
修改 {xibo}/theme/default/html/display_page_grid.php 修改為 <img src=”../OBSLogo80.png” alt=”” width=”20″ />
Posted in Xibo
Leave a comment
Xibo 修改外部 link 為新開視窗
修改檔案 {xibo}/lib/app/thememanager.class.php $item[‘li’] = ” . $item[‘title’] . ”; 修改為 $item[‘li’] = ” . $item[‘title’] . ”;
Posted in Xibo
Leave a comment