Skip to content

Instantly share code, notes, and snippets.

// the generator singleton
const generatorSingleton = (() => {
function getUniqueInstance() {
if (!instance) {
instance = this.getLetterRepresenations();
}
return instance;
}
let instance = null;
return {getUniqueInstance};
@ellockie
ellockie / FreeMind mindmap template.mm
Last active August 7, 2018 03:33
FreeMind mindmap template
<map version="1.1.0">
<!-- To view this file, download free mind mapping software FreeMind from http://freemind.sourceforge.net -->
<node BACKGROUND_COLOR="#99ff99" CREATED="1458015007312" ID="ID_1619910941" MODIFIED="1458536974209" STYLE="bubble">
<richcontent TYPE="NODE"><html>
<head>
</head>
<body>
<p style="text-align: center">
FreeMind
@ellockie
ellockie / .gitignore
Last active December 28, 2015 04:53 — forked from aortbals/dispatch.py
Synchronize two folders using python.
config.json
json_example as xml.xml