Skip to content

Instantly share code, notes, and snippets.

@yydai
Last active August 18, 2019 03:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yydai/241a13c2dca23324be39faae11067508 to your computer and use it in GitHub Desktop.
Save yydai/241a13c2dca23324be39faae11067508 to your computer and use it in GitHub Desktop.
linux env setup
# install emacs
sudo add-apt-repository ppa:ubuntu-elisp/ppa
sudo apt update
sudo apt install emacs-snapshot emacs-snapshot-el
# install gnome-tweak-tool
sudo apt-get install gnome-tweak-tool
# install pip3
sudo apt install python3-pip
# install chrome
sudo apt-get install gdebi
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo gdebi google-chrome-stable_current_amd64.deb
# install autokey
sudo apt install autokey-qt
# install albert
wget https://build.opensuse.org/package/binary/download/home:manuelschneid3r/albert/xUbuntu_16.04/x86_64/albert_0.16.1_amd64.deb
sudo gdebi xUbuntu_16.04/x86_64/albert_0.16.1_amd64.deb
# curl zsh oh-my-zsh
sudo apt install curl
sudo apt install zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# install tomcat
# install idea
# wget https://download.jetbrains.com/idea/ideaIU-2019.2.tar.gz
# sudo tar -xzf jetbrains-toolbox-1.13.4801.tar.gz -C /opt
# https://github.com/nagygergo/jetbrains-toolbox-install/blob/master/jetbrains-toolbox.sh
# install autojump
git clone git://github.com/wting/autojump.git
cd autojump
./install.py
cd ..
# config
## set the .m2
## env
## config .ssh/config
cat >> ~/.ssh/config <<- "EOF"
Host cn2
HostName xxxx
User xxxx
Port 22
StrictHostKeyChecking no
EOF

install apps

input method

  1. install sogou input method
  2. install fictx
  3. open fictx configuration and add sogou input method

install emacs

sudo add-apt-repository ppa:ubuntu-elisp/ppa
sudo apt update
sudo apt install emacs-snapshot emacs-snapshot-el
emacs --version

change ubuntu keybindings to emacs

install:

sudo apt-get install  gnome-tweak-tool

then open gnome-tweak-tool, set the keybind to emacs

pip3

sudo apt install python3-pip

install chrome

just search the chrome will be ok

install wechat

install qtalk

install autokey

set the C-n C-p key map

  1. sudo apt install autokey-qt
  2. add config <up> <down> how to filter emacs:
    ((?<!^emacs).)*$
        

install albert(0.16 version)

open the albert install page: and then click openSUSE link, choose the ubuntu version. download the deb package

install idea

music

netease cloud music just download from music.163.com

j command

jump to folder

Config

config thunderbird

.bashrc config

ssh config

auto passcode config

<a href=” -s @@html:@@home/yingdai@@html:@@.autojump/etc/profile.d/autojump.sh “> -s home/yingdai.autojump/etc/profile.d/autojump.sh && source home/yingdai.autojump/etc/profile.d/autojump.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment