Skip to content

Instantly share code, notes, and snippets.

Gaston Sanchez gaastonsr

Block or report user

Report or block gaastonsr

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
gaastonsr / MTMR.json
Last active May 8, 2019
MTMR settings
View MTMR.json
// Escape key.
"type": "escape",
"width": 64,
"align": "left"
// Keyboard illumination.
"type": "illuminationDown",
View flattenArray.js
const assert = require('assert');
function flattenArray(array) {
return array.reduce((acc, current) => {
if (Array.isArray(current)) {
return acc.concat(flattenArray(current));
return acc.concat([current]);
}, []);
You can’t perform that action at this time.