linux工具集
持续更新ing……
Table of Contents
Deepin
交换CapsLock和Esc键
Vim键盘手专用
gsettings set com.deepin.dde.keybinding.mediakey capslock "['']" && \
gsettings set com.deepin.dde.keyboard layout-options "['caps:swapescape']"
dconf-editor
图形化的配置编辑器 be careful
sudo apt install dconf-editor
VCS
sudo apt install git git-extras subversion
rabbitvcs
linux下的TortoiseSVN / TortoiseGit替代方案
sudo apt install rabbitvcs-cli rabbitvcs-core rabbitvcs-gedit rabbitvcs-nautilus
编程语言
Rust
curl https://sh.rustup.rs -sSf | sh
国内源
USTC的源
rustup: The Rust toolchain installer
export RUSTUP_DIST_SERVER=https://mirrors.ustc.edu.cn/rust-static
export RUSTUP_UPDATE_ROOT=https://mirrors.ustc.edu.cn/rust-static/rustup
更改 $HOME/.cargo/config 为以下内容:
[source.crates-io]
registry = "https://github.com/rust-lang/crates.io-index"
replace-with = 'ustc'
[source.ustc]
registry = "git://mirrors.ustc.edu.cn/crates.io-index"
php
sudo apt install php7.0-cli php7.0-dev php7.0-pgsql php7.0-sqlite3 php7.0-gd \
php7.0-curl php7.0-mcrypt php7.0-imap php7.0-mysql php7.0-readline php-xdebug php-common \
php7.0-mbstring php7.0-xml php7.0-zip
composer
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && \
php -r "if (hash_file('SHA384', 'composer-setup.php') === '55d6ead61b29c7bdee5cccfb50076874187bd9f21f65d8991d46ec5cc90518f447387fb9f76ebae1fbbacf329e583e30') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" && \
php composer-setup.php && \
php -r "unlink('composer-setup.php');"
phpmd
语法检查工具,作为编辑器外部工具
composer global require phpmd/phpmd
javascript
TODO
编辑器
Emacs
sudo apt install emacs
Spacemacs
安装
git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d
Spacemacs相关工具
Fira Code 字体
https://github.com/tonsky/FiraCode
搜索工具
sudo apt install silversearcher-ag ack-grep
GNU global
由于apt源的版本比较老,所以通过编译安装最新
安装编译依赖
sudo apt install make bison autoconf texinfo flex gperf libtool-bin libncurses5-dev
编译
sh reconf.sh && ./configure && make
sudo make install
tern
sudo npm install -g tern
数据库相关
客户端
MySQL Workbench
Docker
docker-compose
sudo curl -L "https://github.com/docker/compose/releases/download/1.9.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose && sudo chmod +x /usr/local/bin/docker-compose
推荐镜像
laraedit-docker
Dockerized version of Laravel Homestead.
https://hub.docker.com/r/laraedit/laraedit/
坚果云
国内比较优秀的跨平台同步云盘
Last modified on 2017-01-10