(0) env
manjaro 18 kde
(1) beautify
- theme
- system settings -> Appearance -> Workspace Theme
Look And Feel -> Breeze Dark
Desktop Theme -> Numix
Splash Screen -> Numix
- icon theme -> Breath
- vim
- vundle
~: cd .vim/bundle
~:git clone https://github.com/VundleVim/Vundle.vim.git
~:cd ~
~:vim .vimrc
- .vimrc
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
" The following are examples of different formats supported.
" Keep Plugin commands between vundle#begin/end.
" plugin on GitHub repo
Plugin 'tpope/vim-fugitive'
" plugin from http://vim-scripts.org/vim/scripts.html
" Plugin 'L9'
" Git plugin not hosted on GitHub
Plugin 'git://git.wincent.com/command-t.git'
" git repos on your local machine (i.e. when working on your own plugin)
Plugin 'file:///home/gmarik/path/to/plugin'
" The sparkup vim script is in a subdirectory of this repo called vim.
" Pass the path to set the runtimepath properly.
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
" Install L9 and avoid a Naming conflict if you've already installed a
" different version somewhere else.
" Plugin 'ascenator/L9', {'name': 'newL9'}
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
" To ignore plugin indent changes, instead use:
"filetype plugin on
"
" Brief help
" :PluginList - lists configured plugins
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
"
" see :h vundle for more details or wiki for FAQ
" Put your non-Plugin stuff after this line
~:vim
:PluginInstall
- powerline fonts
-> url
https://github.com/powerline/fonts
-> .vimrc
let g:airline_powerline_fonts = 1
- plugins
-> .vimrc
Plugin 'vim-airline/vim-airline'
Plugin 'scrooloose/nerdtree'
Plugin 'Xuyuanp/nerdtree-git-plugin'
Plugin 'tpope/vim-fugitive'
Plugin 'morhetz/gruvbox'
- vscode
- terminal powerline fonts
- zsh powerlevel9k
(2) tools
- jdk
- remove openjdk
~:sudo pacman -R jdk8-openjdk
~:sudo pacman -R jre8-openjdk
~:sudo pacman -R jre8-openjdk-headless
- python3.6
- download source code and install
~:./configure --enable-optimizations --prefix=/usr/lib/python3.6
~:sudo make
~:sudo make install
~:cd /user/bin
~:sudo ln -s /user/lib/python3.6/bin/python3.6 python3.6
~:sudo ln -s /user/bin/pthon3.6 python3
~:sudo ln -s /usr/lib/python3.6/bin/python3.6m python3.6m
~:sudo ln -s /usr/lib/python3.6/bin/python3.6m-config python3.6m-config
~:sudo ln -s /usr/bin/python3.6m-config python3.6-config
~:sudo ln -s /usr/bin/python3.6-config python3-config
~:sudo pip install -U pip
- beautify zsh
= 1 powerline=
~:sudo pacman -S powerline
~:sudo pacman -S powerline-fonts
~:sudo pip install powerline-status
= 2 powerlevel9k =
~:cd ~/.oh-my-zsh/custom/themes
~:git clone https://github.com/bhilburn/powerlevel9k.git
~:cd ~
~:vim .zshrc
= 3 .zshrc =
ZSH_THEME="powerlevel9k/powerlevel9k"
= 4 source .zshrc =
- vscode terminal fonts
= 1. Noto Mono for Powerline =
~:cd /user/share/fonts
~sudo :mkdir myfonts
~:cd myfonts
~:sudo cp ~/Download/Noto Mono for Powerline.ttf ./
~:sudo mkfontscale
~:sudo mkfontdir
~:sudo fc-cache -fv
= 2. System Settings use Noto Mono for Powerline =
System Settings => fonts
(1) Ajust All Fonts
+ Font: Noto Mono for Powerline
+ Font Style: Regular
(2) Use anti-aliasing: Enabled
= 3. vscode terminal =
ctrl+shift+p=>open user settings
setting.json => "terminal.integrated.fontFamily": "Noto Mono for Powerline"
- rabbitmq
-
install rabbitmq and rabbitmqadmin
-
start rabbitmq
~:systemctl status rabbitmq
~:systemctl start rabbitmq
- add user
~:sudo rabbitmqctl add_user guest guest
~:sudo rabbitmqctl set_user_tag guest administrator
- enable manage gui plugin
~:sudo rabbitmq-plugins enable rabbitmq_management
-> localhost:15672
- rabbitmqadmin
~:rabbitmqadmin -h
~:rabbitmqadmin -u guest -p guest -h
- erl
~:erl
1>halt().
- gnome-keyring
for your system to store password. such like data-grip, mysql-workbench
- mariadb
(1) install from soft center
(2) install detault db
sudo mysql_intall_db --basedir=/usr --datadir=/var/lib/mysql --user=mysql
(3) start service
systemctl start mysqld.service
(4) install secure to set.password
sudo mysql_secure_installation
网友评论