字段 | 类型 | 用途 |
---|---|---|
id | integer | id |
account_id | string | 用户名 |
nick_name | string | 昵称 |
dev_group | integer | 开发组 |
#!/bin/bash | |
wget http://downloads.sourceforge.net/tmux/tmux-1.8.tar.gz | |
wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz | |
tar zxvf tmux-1.8.tar.gz | |
tar zxvf libevent-2.0.21-stable.tar.gz | |
yum install gcc kernel-devel make ncurses-devel -y | |
From: Undo a commit and redo
$ git commit -m "Something terribly misguided" #(1)
$ git reset HEAD~ #(2)
#< edit files as necessary >> #(3)
$ git add ... #(4)
$ git commit -c ORIG_HEAD #(5)
- This is what you want to undo
# use address "*" and port "5000"
ASPNETCORE_ENVIRONMENT=Development ASPNETCORE_URLS="http://*:5000" dotnet run
Bash is the default command-line shell on most Linux distributions, from Ubuntu and Debian to Red Hat and Fedora. Bash is also the default shell included with macOS, and you can install a Linux-based bash environment on Windows 10.
The bash shell features a wide variety of keyboard shortcuts you can use. These will work in bash on any operating system. Some of them may not work if you’re accessing bash remotely through an SSH or telnet session, depending on how you have your keys mapped.
Use the following shortcuts to manage running processes.
For beginners, may need to read getting started with vi first.
First, how to QUIT the "help page": :q<CR>
, <CR>
is the 'Enter' or 'Return' on the keyboard
To enter help page of vim, just input :help[ topic]<CR>
, and [ topic]
means something you wanna know about, wrap in []
means this portion can be omit, e.g. :help<CR>
to enter start help page. Look out for the "space" before the "topic", means "if you wanna a topic, don't forget the 'space' before it", e.g. help about "tabe", should be :help tabe<CR>
,
Ctrl-]
follow the link under the cursor.
mkcd() { mkdir -p "$@" && cd "$@"; } |