See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| package main | |
| import ( | |
| "fmt" | |
| "github.com/jinzhu/gorm" | |
| _ "github.com/lib/pq" | |
| ) | |
| func main() { | 
| ## Install NGINX | |
| ## when installing on Amazon Linux AMI, use: | |
| $ sudo yum install nginx -y | |
| ## when installing on Amazon Linux 2 AMI, use | |
| $ sudo amazon-linux-extras install nginx1.12 -y | |
| ## Install PHP and PHP-FPM | |
| # for PHP version 7.1 use php71 and php71-fpm instead | |
| $ sudo yum install php -y | |
| $ sudo yum install php-fpm -y | 
| """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
| " Font | |
| :set guifont=Source\ Code\ Pro:h14 | |
| """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
| " Hide pointless junk at the bottom, doesn't work in .vimrc for some reason? | |
| :set laststatus=0 | |
| :set noshowmode "don't show --INSERT-- | |
| :set noruler "don't show line numbers/column/% junk | 
| let UserContext = React.createContext(); | |
| class App extends React.Component { | |
| state = { | |
| user: null, | |
| setUser: user => { | |
| this.setState({ user }); | |
| } | |
| }; |