View gist:5b77582116ed6c9e73a8d37c88a61ff7
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
const Table = styled.table` | |
margin-right: 8px; // <-- flipping does work | |
td { | |
text-align: left; // <-- flipping does not work | |
} | |
` | |
/////// |
View theorem.js
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
const assert = require("assert"); | |
/** | |
* Write some code, that will flatten an array of arbitrarily nested arrays of integers into a flat array of integers. e.g. [[1,2,[3]],4] -> [1,2,3,4]. | |
*/ | |
function flattenArray(array) { | |
if (!Array.isArray(array)) { | |
throw new Error("Array expected"); | |
} |
View theorem.js
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
const assert = require("assert"); | |
/** | |
* Write some code, that will flatten an array of arbitrarily nested arrays of integers into a flat array of integers. e.g. [[1,2,[3]],4] -> [1,2,3,4]. | |
*/ | |
function flattenArray(array) { | |
if (!Array.isArray(array)) { | |
throw new Error("Array expected"); | |
} |
View css prototype rules
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
$debug: false; | |
@if $debug { | |
div[class] { | |
box-sizing: border-box; | |
border: 3px ridge lightgrey; | |
} | |
} |
View atomSettings
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
atomSettings |