發表文章

目前顯示的是 一月, 2014的文章

Canvas animation Example

Canvas animation Example

See the Pen canvas animate example by CarterTsai (@CarterTsai) on CodePen.

CSS3 Icon Animation Example

Only using CSS, Click the Icon, you can see icon animation :) Development by Chrome Version 32.0.1700.77 See the Pen Icon animation by CarterTsai (@CarterTsai) on CodePen.

CPU Usage chart with d3js

CPU usage chart with d3js (CPU usage is simulation by math.random)



See the Pen d3.js cpu usage chart example by CarterTsai (@CarterTsai) on CodePen.

用CMake的方始來編譯LLVM的Kaleidoscope範例

用CMake的方始來編譯LLVM的Kaleidoscope範例Ref.1
Ref.2最近在練習LLVM的Kaleidoscope的範例,他的範例是用指令來編譯整個程式,但是我想說
改成用cmake來編譯,但是一直發生find_package(LLVM)有問題,整個訊息就像以下一樣 CMakeWarning at CMakeLists.txt:4(find_package):Bynot providing "FindLLVM.cmake"in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by"LLVM", but CMake did not find one.Couldnot find a package configuration file provided by"LLVM"with any of the following names:LLVMConfig.cmake llvm-config.cmake Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH orset"LLVM_DIR" to a directory containing one of the above files.If"LLVM" provides a separate development packageor SDK, be sure it has been installed.因為我的系統是Ubunut 13.10,我也確定了我有裝LLVM的Library,一直花了很多時間在
改CMakeLists.txt,也一直找不到問題。後來搜尋找到一封email(就是Ref.1)裡面說明了
因為一些原因Ubuntu LLVM/Clang development套件沒有包含正確的CMake module檔案,
所以變成我們要自己手動安裝LLVM跟Clang,那安裝的方式就在下面。 手動安裝LLVM先下載llvm3.4跟clang3.4 $>…

如何用指令來檢查SSL證書(SSL cert)到期日?

如何用指令來檢查SSL證書(SSL cert)到期日? References: How to check the SSL cert expiration date using command?
用openssl的指令來檢查SSL證書(SSL cert)到期日 $> echo | openssl s_client -connect www.google.com:4432>/dev/null| openssl x509 -noout -dates 結果
notBefore=Dec1112:02:582013 GMT notAfter=Apr1000:00:002014 GMT