This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fs = require("fs"); | |
yaml = require("yamljs"); | |
// Sort root level keys on a JS object. | |
function sortKeys(obj, promote = [], demote = [], sorter) { | |
const sorted = {}; | |
promote.forEach((k) => (sorted[k] = obj[k])); | |
Object.keys(obj) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node_modules | |
build | |
npm-debug.log | |
.env | |
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<title>This is the title of the webpage!</title> | |
</head> | |
<body> | |
<p>This is an example paragraph. Anything in the <strong>body</strong> tag will appear on the page, just like this <strong>p</strong> tag and its contents.</p> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Adafruit_RGBLCDShield.h> | |
// globals: | |
Adafruit_RGBLCDShield lcd = Adafruit_RGBLCDShield(); | |
int counter = 0; | |
int currentButtons; | |
int currentPlayer = 1; | |
int currentStat = 0; | |
int cursor = 0; | |
int lastButton; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var book = [ | |
{ | |
title: 'parte 1', | |
definitions: ['por causa de si ...', 'se llama finita en su genero ...'], | |
references: [] | |
}, | |
{ | |
title: 'parte 2 (importante)', | |
definitions: ['definition parte 2 def 1', 'aqui hay otra cosa'], | |
references: [{ |