2019年11月11日 星期一

Failed to launch Splunk with error "Validating databases (splunkd validatedb) failed with code '1'."

Recently I moved my previous Splunk db from my old laptop to the new one.  There is an error "Validating databases (splunkd validatedb) failed with code '1’.”” When I tried to launch the Splunk.  After did some googling, I found it was caused by file locked.  The solution is to append the following configuration option to  $SPLUNK_HOME/etc/splunk-launch.conf:

#########################

OPTIMISTIC_ABOUT_FILE_LOCKING = 1

2019年10月28日 星期一

2019年10月9日 星期三

Mac 10.15 only support x64 application: 如何檢查MacBook 應用程式是x32

1. 使用 spotlight command line

mdfind "kMDItemExecutableArchitectures == '*i386*' &&
kMDItemExecutableArchitectures != '*x86*'"

2.從系統報告內的軟體,使用64位元欄位做sorting

2019年9月20日 星期五

Asciidoctor-pdf

asciidoctor-pdf -o asciidoctor-diagram -D generated slides.adoc

 

產生pdf 檔案在 generated folder下面

2019年8月30日 星期五

Facebook 登入地點資訊落差

昨天從我的line然後點選連結要去facebook按讚,登入後就收到異常登入警告,然後顯示的登入地點是高雄,單當時我人在台北,好奇用smartwhois 查了一下,ip的確是台灣大哥大註冊的資訊,但facebook顯示的geoip location 卻顯示是高雄,然不成facebook得到的資料是有包過gps的回傳資料,而非單純從註冊ip來的資料


demo_article

使用 msty.app 和 Knowledge Stacks 建立個人知識庫系統 說明 嘗試利用local llm自動從文字檔轉成影音檔 利用AI自動對文件檔產生影音檔案 - YouTube 引言 在資訊爆炸的時代,我們每天接收大量的資訊,但如何有效地管理...