See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
| # UPDATED 17 February 2019 | |
| # Redirect all HTTP traffic to HTTPS | |
| server { | |
| listen 80; | |
| listen [::]:80; | |
| server_name www.domain.com domain.com; | |
| return 301 https://$host$request_uri; | |
| } | |
| # SSL configuration |
| #!/bin/bash | |
| install_prerequisites() { | |
| YES=$1 | |
| echo "This installation depends on: git curl wget" | |
| if [[ -z "$YES" ]]; then | |
| read -p "Do you want to install them? (y/n): " OPTION | |
| fi | |
| if [[ ! -z "$YES" ]] || [[ "$OPTION" == "y" ]] || [[ "$OPTION" == "yes" ]]; then |
| autocmd Filetype html inoremap !!! <!DOCTYPE html><CR><html lang="en"><CR></html><ESC>O<head><CR></head><CR><body><CR></body><ESC>gg/head<CR>o<meta charset="utf-8"><CR><meta name="viewport" content="width=device-width, initial-scale=1.0"><CR><title></title><ESC>:nohl<CR>cit | |
| autocmd Filetype html inoremap h1> <h1></h1><ESC>cit | |
| autocmd Filetype html inoremap h11> <h1 class=""></h1><ESC>cit | |
| autocmd Filetype html inoremap h111> <h1 id=""></h1><ESC>cit | |
| autocmd Filetype html inoremap h2> <h2></h2><ESC>cit | |
| autocmd Filetype html inoremap h22> <h2 class=""></h2><ESC>cit | |
| autocmd Filetype html inoremap h222> <h2 id=""></h2><ESC>cit | |
| autocmd Filetype html inoremap h3> <h3></h3><ESC>cit | |
| autocmd Filetype html inoremap h33> <h3 id=""></h3><ESC>cit | |
| autocmd Filetype html inoremap h333> <h3 class=""></h3><ESC>cit |
| /** | |
| * This is a test_colorscheme.c to check how the colorscheme looks like | |
| * TODO(srvariable): Improve the colorscheme! | |
| */ | |
| #include <stdio.h> | |
| #ifndef INITIAL_VALUE | |
| # define INITIAL_VALUE 0 | |
| #endif //INITIAL VALUE |
| if !has("gui_running") && &t_Co < 256 | |
| finish | |
| endif | |
| "if exists("syntax_on") | |
| " syntax reset | |
| "endif | |
| set background=dark | |
| "hi clear |
| augroup CFileMappings | |
| autocmd! | |
| " Write the template | |
| " | |
| " ``` | |
| " int main(int argc, char **argv) | |
| " { | |
| " return (0); | |
| " } | |
| " ``` |
| syntax on " Enables the syntax of the language. | |
| set number " Display the number lines | |
| set relativenumber " Display the relative number lines | |
| set encoding=utf-8 " Set the encoding to utf-8 | |
| set nocompatible " Disable compatibility | |
| set showcmd " Enables the command history | |
| filetype plugin indent on " Indents the file according to the plugin | |
| set cc=80 " Set the column to 80 characters | |
| set nowrap " Disable line wrap | |
| "set hlsearch " Highlight matching searches |