pip3 install --user pyqt5
sudo apt-get install python3-pyqt5
sudo apt-get install pyqt5-dev-tools
sudo apt-get install qttools5-dev-tools
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In the buffer containing the list of your gists, you can use the following commands | |
RETURN : opens the gist in a new buffer | |
g : reload the gist list from server | |
e : edit the gist description, so you know what this gist is about | |
k : delete current gist | |
b : opens the gist in the current web browser | |
y : show current gist url & copies it into the clipboard | |
* : star gist (stars do not show in gist list, only when browsing them on github) | |
^ : unstar gist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1.系统复用: | |
##install | |
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm | |
git clone https://github.com/tmux-plugins/tmux-yank ~/.tmux/plugins/ | |
sudo apt-get install xclip | |
##edit .tmux.conf file | |
set -g @plugin 'tmux-plugins/tmux-yank' | |
run '~/.tmux/plugins/tpm/tpm' | |
run-shell ~/.tmux/plugins/tmux-yank/yank.tmux | |
set -g @yank_selection 'primary' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
M-x customize-mode RET tramp-mode | |
Set Tramp Copy Size Limit and Tramp Inline Compress Start Size to a very high number (1000000 in my case) | |
to avoid out-of-the band and/or compressed data transfer. Note that, unlike the OP, I had to change both | |
of them to get it to work. Again, this means it only works for inline, uncompressed transfer but as for | |
the OP, this is more than enough for me since I just want to remotely edit fairly small ASCII files with | |
the best editor that exists. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1.sudo apt-get install nfs-common(mount 执行者) | |
2.sudo apt-get install nfs-kernel-server (被mount) | |
3.(被mount) sudo vim /etc/exports /home/vk *(rw,sync,no_root_squash,no_subtree_check) | |
4.sudo /etc/init.d/rpcbind restart sudo /etc/init.d/nfs-kernel-server restart | |
5.showmount -e | |
6.mount -t nfs 192.168.1.203:/root/nfs /mnt/nfs -o nolock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************************************/ | |
基本命令 | |
C-x C-f 打开/新建文件 | |
C-x C-s 保存当前缓冲区 | |
C-x C-w 当前缓冲区另存为 | |
C-x C-v 关闭当前Buffer并打开新文件 | |
C-x i 光标处插入文件 | |
C-x b 切换Buffer | |
C-x C-b 显示Buffer列表 | |
C-x k 关闭当前Buffer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install autokey-gtk | |
开机启动 | |
/usr/bin/autokey-gtk | |
交换caps和ctrl | |
sudo apt install gnome-tweak-tool |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
安装Qt5 creator和designer | |
$ sudo apt-get install qtcreator | |
$ sudo apt-get install qt5-default qttools5-dev-tools | |
安装完成之后designer 可以在/usr/lib/x86_64-linux-gnu/qt5/bin/designer中找到,通过如下方式启动designer | |
$ designer | |
or | |
$ /usr/lib/x86_64-linux-gnu/qt5/bin/designer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$xz -d ***.tar.xz | |
$tar -xvf ***.tar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Added by me | |
sudo apt-get install freeglut3 freeglut3-dev libtbb-dev libqt4-dev | |
# install deps | |
sudo apt-get install build-essential cmake git pkg-config | |
sudo apt-get install libjpeg8-dev libtiff4-dev libjasper-dev libpng12-dev | |
sudo apt-get install libgtk2.0-dev | |
sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev libv4l-dev | |
sudo apt-get install libatlas-base-dev gfortran | |
# clone opencv source | |
mkdir softwares |