#define KNOWLEDGE FREE
gnome builder
Install flatpak package
sudo add-apt-repository ppa:alexlarsson/flatpak
sudo apt update
sudo apt install flatpak
Install gnome builder via flatpakflatpak install --from https://git.gnome.org/browse/gnome-apps-nightly/plain/gnome-builder.flatpakref
$ flatpak run org.gnome.Builder
Install gnome builder via flatpak
cx_Freeze - make python program executable
- Intro.
- Installation
- Get started with cx_freeze
cx_Freeze is tool for making your python program as executable program under Linux, Mac OS and Windows operating system (similar with pyinstaller) I couldn't make it work well with one of my PyQt project. pyinstaller is my top choice of this kind tools.
simply create a setup.py under your working directory and run below command to create executable program
pyinstaller - make python program executable
- Installation
- Run pyinstaller switch to your program directory
- Reference http://www.pyinstaller.org/
jupyter notebook
- Installation skip below step if you have pip installed
- Example
https://ipython.org/ipython-doc/1/interactive/notebook.html
https://www.digitalocean.com/community/tutorials/how-to-set-up-a-jupyter-notebook-to-run-ipython-on-ubuntu-16-04
opencc - open chinese convert
install opencc via apt
sudo apt install opencc
example for convert chs to cht
opencc -i "input.txt" -o "output.txt"
example for convert chs to cht
opencc -i "input.txt" -o "output.txt"
Install python3.6 on Ubuntu 16.04
sudo add-apt-repository ppa:jonathonf/python-3.6
sudo apt update
sudo apt install python3.6
sudo apt install python3.6-dev
sudo apt install python3.6-venv
wget https://bootstrap.pypa.io/get-pip.py
sudo python3.6 get-pip.py
sudo ln -s /usr/bin/python3.6 /usr/local/bin/python3
sudo ln -s /usr/local/bin/pip /usr/local/bin/pip3
type python3 and pip3 -V to get version information
sudo apt update
sudo apt install python3.6
sudo apt install python3.6-dev
sudo apt install python3.6-venv
wget https://bootstrap.pypa.io/get-pip.py
sudo python3.6 get-pip.py
sudo ln -s /usr/bin/python3.6 /usr/local/bin/python3
sudo ln -s /usr/local/bin/pip /usr/local/bin/pip3
type python3 and pip3 -V to get version information
Subscribe to:
Posts (Atom)
Orange - data analysis tool
Installation pip install orange3 Run orange python -m Orange.canvas
-
Socket Connection 節錄自筆者的Network Programming其中的資料,一般在Windows底下如果要寫網路程式多半會想到Microsoft MFC提供的相關API,而Linux底下則多使用Unix Socket來實現,這裡筆者要簡短的介紹如何使用最基礎...
-
system("pause") for linux 在windows底下如果不想藉由開發工具做debug時,筆者我多數使用system("pause")這個指令,但是一到了linux之後,這個指令完全無效,因為linux的termainl底...
-
Calling Gnuplot in C Download: callGnuPlot.c 懶惰是程式設計師的天性,所以才會創造出許多方便的程式,最近一直需要作圖分析,厭倦了Origin重複且繁複的設定,所以決定將要分析的資料使用c做分析後再由gnuplot畫出。 熟悉gnuplo...