分类 默认分类 下的文章

 dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs sudo apt-get -y purge

L-GXdJph7lkG-1CvkTwHlvk#741
L-KMGcqlMxTo-Fkd1ultFTt#3810
A-TgIjrDbn41-5w05ktrJFf#18128
A-3rk5EoAR9t-vdItuCJtVi#2898
S-DJMhaqMnvW-36Sb5jcGYO#31259
L-qOQRsFcEcF-LqVM1lqxQm#1437
A-3VIC9ISIit-SkVGccmWta#689
L-dpoWt86zUZ-tzJNLsXY75#4229
S-yYk9XkHyyY-3GVAtuBBkR#1104
S-QH9BAugD8L-EZ2KbOTiIL#31225

Var branch = new-feat

In-master-branch

git pull --rebase

git checkout -b <branch>

In-<branch>-branch

Make some change

git add .

git commit -m '<fix || feat>: <msg>'

git checkout master

In-master-branch

git pull --rebase

git checkout <branch>

git rebase master

git log --graph --decorate --all //查看log,是否符合要求

git push --set-upstream origin new-feat

点击终端里面的链接,快速提交merge request

sudo apt-get install software-properties-common python-software-properties 

sudo add-apt-repository ppa:ondrej/php && sudo apt-get update

sudo apt-get -y install php7.2

 # 如果之前有其他版本PHP,在这边禁用掉
sudo a2dismod php5
sudo a2enmod php7.2

# 安装常用扩展
sudo -y apt-get install php7.2-fpm php7.2-mysql php7.2-curl php7.2-json php7.2-mbstring php7.2-xml  php7.2-intl 

#  安装其他扩展(按需安装)
sudo apt-get install php7.2-gd
sudo apt-get install php7.2-soap
sudo apt-get install php7.2-gmp    
sudo apt-get install php7.2-odbc       
sudo apt-get install php7.2-pspell     
sudo apt-get install php7.2-bcmath   
sudo apt-get install php7.2-enchant    
sudo apt-get install php7.2-imap       
sudo apt-get install php7.2-ldap       
sudo apt-get install php7.2-opcache
sudo apt-get install php7.2-readline   
sudo apt-get install php7.2-sqlite3    
sudo apt-get install php7.2-xmlrpc
sudo apt-get install php7.2-bz2
sudo apt-get install php7.2-interbase
sudo apt-get install php7.2-pgsql      
sudo apt-get install php7.2-recode     
sudo apt-get install php7.2-sybase     
sudo apt-get install php7.2-xsl
sudo apt-get install php7.2-cgi        
sudo apt-get install php7.2-dba 
sudo apt-get install php7.2-phpdbg     
sudo apt-get install php7.2-snmp       
sudo apt-get install php7.2-tidy       
sudo apt-get install php7.2-zip