Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

SSL-TLS-HTTPS

Nginx Docs

源码剖析

密码套件

TLS1.3

HTTPS性能优化实践

精华

Git Usage

  • git log获取提交的文件列表
*git log --stat
* git log --oneline --name-only -2
# --name-only 只显示文件名 
git log --name-only -1
# --pretty=format:"" 格式化commit message 这里什么都不显示
git log --pretty=format:"" -1
# 最终
* git log --pretty=format:"" --name-only  -1 
  • 将master分支内容合并到dev分支:

    流程如下:
      一、将分支切换到master
    
      git checkout master
    
      二、将代码pull到本地
      git pull
    
      三、修改冲突
      
      四、提交到本地
      git add .
    
      git commit -m "merge"
      
      五、切换到你所在分支dev
    
      git checkout dev
    
    
      六、merge
    
      git merge master
    
      七、将本地内容push到dev分支
      git push
    
    

编译nghttp

git clone https://github.com/tatsuhiro-t/nghttp2.git
cd nghttp2
git submodule update --init
autoreconf -i
automake
autoconf
./configure --enable-app --prefix=/tmp/nghttp

杂项

yum install ncurses-devel
wget https://github.com/vim/vim/archive/master.zip
unzip master.zip
cd vim-master
cd src/
./configure
make
sudo make install
vim

对于 CentOS 7,请以根用户 root 运行下面命令: cd /etc/yum.repos.d/ wget https://download.opensuse.org/repositories/shells:zsh-users:zsh-completions/CentOS_7/shells:zsh-users:zsh-completions.repo yum install zsh-completions 对于 CentOS 6,请以根用户 root 运行下面命令: cd /etc/yum.repos.d/ wget https://download.opensuse.org/repositories/shells:zsh-users:zsh-completions/CentOS_6/shells:zsh-users:zsh-completions.repo yum install zsh-completions

*[bash-completion](https://github.com/scop/bash-completion)

	```
	https://unix.stackexchange.com/questions/21135/package-bash-completion-missing-from-yum-in-centos-6
	yum install epel-release.noarch bash-completion.noarch
	https://packages.ubuntu.com/trusty-updates/bash-completion
  • brew bundle dump

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors