How To Vertically Align Blocks Using CSS

Author: , June 4th, 2020

Outer Block – set the line-height: {some value} Inner Block – set the line-height: normal, along with display: inline-block; vertical-align: middle; Also works if you set OUTER height instead of the line-height (or together with the same value as the height).

How To Prevent Vim From Auto-Commenting New Lines

Author: , August 4th, 2019

To prevent vim from added net comments, edit the .vimrc file in your home directory, and add: