Showing posts with label tools. Show all posts
Showing posts with label tools. Show all posts

Monday, June 8, 2020

blisk工具

可以同時開發手機版與電腦版的工具。左右兩邊同時顯示畫面結果︰
https://blisk.io/product

Saturday, November 4, 2017

筆記

最近聽到了兩個工具,先記一下。
Kubernetes 跨主機集群的自動部署、擴展以及運行應用程序容器的平台。
TMUX 全稱terminal multiplexer,可以在linux中保存session, 視窗分割、視窗切換、多人共享畫面等。

其中TMUX 會在近期試用,好像關閉terminal下次重連可以繼續。

Monday, August 29, 2016

Tools: Sublime Text 3

對於編寫程序來說,Sublime text 比Notepad++好用太多了,本質上就是為了編程人員開發,一個可以執行指令的編輯器。

安裝可以到這裏下載最新的版本。安裝包控制(Package Controller)可以按 Ctril + ` 輸入這些代碼進行安裝。

之後按Ctrl + Shift + P 可以輸入 Install Package 和 名字就可以進行安裝了,例如SFTP。

Wednesday, August 10, 2016

ESET: 解除安裝

在Uninstall or change a program中找不到ESET的解除安裝方法,網上官方有一個解除安裝包可以使用。請參考︰How do I manually uninstall my Windows ESET product?

Thursday, December 17, 2015

工具大全

實用工具集合︰

格式統一化︰

格式轉換︰

編碼轉換︰

PDF相關︰

設計相關︰

影片相關︰

設計圖︰

Wednesday, August 19, 2015

Python: Anaconda 安裝包

如果想在Linux環境下安裝pip以及其他python package,但沒有root權限時要怎麼辦?
解決方法︰Anaconda (總覺得在賣廣告...)
  1. 進入網頁後在CHOOSE YOUR INSTALLER右邊選擇相對應的操作系統。
  2. 我選擇的是Python 2.7, Linux 64-bits (有32-bits可以下載的)
  3. 下載後放到Linux系統後運行
    [root@mkytap root]# bash Anaconda-2.3.0-Linux-x86_64.sh
    
  4. 然後會彈出一個同意書,大家可以仔細看清楚裏面的條例 (我是按q跳過的XD),看完後輸入yes表示同意。
  5. 之後會問是否確認安裝在這個路徑 ~/anaconda,直接點下去吧! (不能使用已存在的目錄)
  6. 接著它就開始裝很多不可思議的東西,即使沒有root權限,等它跑完吧。zzZ
  7. 最後它會問你是否建立~/.bashrc這個檔案 (它會在登入時把生成的檔案路徑加入到預設路徑中),這當然是yes啦~~完成!
接著可以測試一下了...
[root@mkytap root]# python
Python 2.7.10 |Anaconda 2.3.0 (64-bit)| (default, May 28 2015, 17:02:03) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://binstar.org
>>> import theano
>>>

成功載入了不可思議的python package了~~

 Reference: Download Anaconda Python Distribution

Python: Python 中使用 KenLM

在Linux打算安裝KenLM並用在Python中, 下載了KenLM 但無法在編譯。
python setup.py install

執行上述命令時出現以下Error:
In file included from ./lm/vocab.hh:7:0,
                 from lm/search_trie.cc:12:
./util/fake_ofstream.hh:15:34: fatal error: boost/lexical_cast.hpp: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1

然後上網找了一個新版本的boost並下載,我用的版本是1.59.0
解壓縮後進到裏面執行了一次bjam(其實我也不知道是否必要)
[root@mkytap root]# ./bjam

最後有幾個failed和幾個skipped,沒有理會它們。
...failed gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-5.1.0/release/link-static/threading-multi/bzip2.o...
...skipped <pbin.v2/libs/iostreams/build/gcc-5.1.0/release/link-static/threading-multi>libboost_iostreams.a(clean) for lack of <pbin.v2/libs/iostreams/build/gcc-5.1.0/release/link-static/threading-multi>bzip2.o...
...skipped <pbin.v2/libs/iostreams/build/gcc-5.1.0/release/link-static/threading-multi>libboost_iostreams.a for lack of <pbin.v2/libs/iostreams/build/gcc-5.1.0/release/link-static/threading-multi>bzip2.o...
...skipped <pstage/lib>libboost_iostreams.a for lack of <pbin.v2/libs/iostreams/build/gcc-5.1.0/release/link-static/threading-multi>libboost_iostreams.a...
...failed updating 2 targets...
...skipped 6 targets...

但在裏面發現有一個folder叫做boost,然後把這個folder複製到kenlm後
[root@mkytap root]# cp -R boost_1_59_0/boost kenlm/

就奇蹟地運行起來了!!!並且成功生成了kenlm.so檔案!! Nice~~
[root@mkytap root]# python setup.py install
...略過安裝信息...
[root@mkytap root]# find ./ -name kenlm.so
./build/lib.linux-x86_64-2.7/kenlm.so

生成kenlm.so後的詳細使用方法請參考這個連結,最下面就有解釋了。