See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
// JS array equivalents to C# LINQ methods - by Dan B. | |
// First: This version using older JavaScript notation for universal browser support (scroll down for ES6 version): | |
// Here's a simple array of "person" objects | |
var people = [ | |
{ name: "John", age: 20 }, | |
{ name: "Mary", age: 35 }, | |
{ name: "Arthur", age: 78 }, | |
{ name: "Mike", age: 27 }, |
-- If you want to generate a new Guid (uniqueidentifier) in SQL server the you can simply use the NEWID() function. | |
SELECT NEWID() | |
GO | |
-- This will return a new random uniqueidentifier e.g. | |
E75B92A3-3299-4407-A913-C5CA196B3CAB | |
To select this Guid in in a variable | |
--assign uniqueidentifier in a variable | |
DECLARE @EmployeeID uniqueidentifier |
I use pandoc to convert masses of Word documents to markdown. Still working on a generic script, but for now here's the "gist" of what I type into the terminal:
$ myfilename="example"
$ pandoc \
-t markdown_strict \
--extract-media='./attachments/$myfilename' \
$myfilename.docx \