How do I vertically align text in a div?

The correct way to do this in modern browsers is to use Flexbox. See this answer for details. See below for some older ways that work in older browsers. Vertical Centering in CSShttp://www.jakpsatweb.cz/css/css-vertical-center-solution.html Article summary: For a CSS 2 browser, one can use display:table/display:table-cell to center content. A sample is also available at JSFiddle: Expand snippet … Read more

PowerShell equivalent to grep -f

The -Pattern parameter in Select-String supports an array of patterns. So the one you’re looking for is: This searches through the textfile doc.txt by using every regex(one per line) in regex.txt

application/x-www-form-urlencoded or multipart/form-data?

TL;DR Summary; if you have binary (non-alphanumeric) data (or a significantly sized payload) to transmit, use multipart/form-data. Otherwise, use application/x-www-form-urlencoded. The MIME types you mention are the two Content-Type headers for HTTP POST requests that user-agents (browsers) must support. The purpose of both of those types of requests is to send a list of name/value … Read more

How to unmount a busy device

YES!! There is a way to detach a busy device immediately – even if it is busy and cannot be unmounted forcefully. You may cleanup all later: NOTE/CAUTION These commands can disrupt a running process, cause data loss OR corrupt open files. Programs accessing target DEVICE/NFS files may throw errors OR could not work properly … Read more

How do I pull my project from github?

Git clone is the command you’re looking for: Update: And this is the official guide: https://help.github.com/articles/fork-a-repo Take a look at: https://help.github.com/ It has really useful content