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
[package] | |
name = "task-1" | |
version = "0.1.0" | |
authors = ["Mark S. Everitt <[email protected]>"] | |
edition = "2018" | |
[dependencies] | |
regex = "1" | |
lazy_static = "1.2.0" |
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
[package] | |
name = "task-1" | |
version = "0.1.0" | |
authors = ["Mark S. Everitt <[email protected]>"] | |
edition = "2018" | |
[dependencies] | |
recap = "0.1" | |
serde = "1.0.90" |
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 lang="en"> | |
<head> | |
<script type="module" src="index.js"></script> | |
<title>Game of Life</title> | |
<meta charset="utf-8"> | |
</head> | |
<body> | |
<h1>Game of Life</h1> | |
<canvas width="600" height="600"></canvas> |
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
Show hidden characters
{ | |
"env": { | |
"mocha": true | |
}, | |
"rules": { | |
"max-nested-callbacks": ["error", 7], | |
"no-restricted-properties": [ | |
"error", | |
{ "object": "describe", "property": "only" }, | |
{ "object": "context", "property": "only" }, |
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
/** | |
* There's no real reason to use this. Buffer is available in node: | |
* | |
* Buffer.from(typedArray.buffer).toString('base64'); | |
* | |
* and the browser has atob/btoa (which are fine to use for the ascii | |
* characters used to represent bytes. | |
*/ | |
function byteToBin(byte) { |
OlderNewer