Skip to content

Instantly share code, notes, and snippets.

@clw-dm
clw-dm / README.md
Created June 20, 2019 16:11 — forked from magnetikonline/README.md
Bash getopts usage template.

Bash getopts usage template

#!/bin/bash -e

function usage {
	cat <<EOM
Usage: $(basename "$0") [OPTION]...

 -a VALUE argument description
@clw-dm
clw-dm / ultimate-ut-cheat-sheet.md
Created June 29, 2018 16:51 — forked from yoavniran/ultimate-ut-cheat-sheet.md
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai and Sinon

The Ultimate Unit Testing Cheat-sheet

For Mocha, Chai and Sinon

using mocha/chai/sinon for node.js unit-tests? check out my utility: mocha-stirrer to easily reuse test components and mock require dependencies


@clw-dm
clw-dm / README-Template.md
Created February 9, 2018 19:54 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites