This file contains hidden or 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
## | |
## A Sample Makefile | |
## | |
## I worked on a pretty good Makefile once, so here's a sample in case I want to do one again. | |
## Comments are above their relavant sections. | |
## | |
## | |
## SHELL - declare the path to the shell you would like to run this shell as | |
## |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
{ | |
"components": { | |
"schemas": { | |
"account_orders_export_type": { | |
"properties": { | |
"statement_id": { | |
"type": "string" | |
}, | |
"transaction_summary_id": { | |
"type": "string" |
This file contains hidden or 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
/* Nathan's Numerals */ | |
const NathanNumerals = [ | |
"•", "|", "—", | |
"+", "x", "=", | |
"△", "⊓", "ϟ", | |
"⏥", "⧖", "⩕", | |
] as const; | |
type NathanNumeralID = typeof NathanNumerals[number]; | |
const nanu: Record<NathanNumeralID, number> = { | |
"⩕": 117147, |
This file contains hidden or 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
describe('groupByConfig', () => { | |
it('should group primitive values based on predicate', () => { | |
const data = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; | |
const grouped = groupByConfig<number>( | |
{ predicate: (n) => n % 2 === 0, annotation: 'Even numbers' }, | |
{ predicate: (n) => n % 2 !== 0, annotation: 'Odd numbers' } | |
)(data); | |
expect(grouped).toEqual([ | |
{ list: [2, 4, 6, 8, 10], annotation: 'Even numbers' }, |
OlderNewer