- Meðalaldur 46.17
- Staðalfrávik 15.40
- Yngst/ur: Björgúlfur Egill Pálsson 18
- Elst/ur: Hlíf Böðvarsdóttir 104
- Meðalaldur 42.24
- Staðalfrávik 11.98
Notes from watching and reading:
mobx is built on four core concepts:
import prismic from 'prismic.io'; | |
/** | |
* Patches the `prismic.io` module to provide null checks on data that might | |
* be there or not. You can then safely call the API without running into nulls, | |
* but you still have to provide some fallback data, e.g. | |
* | |
* ``` | |
* const html = data.getStructuredText('key').asHtml() || 'defaultValue'; | |
* const bool = data.getBoolean('nonExistantKey') || false; |
Nótur einstaklings sem ekki hefur notað Python í mörg mörg ár. Allt keyrt á macos 12.5. Mjög verbose.
Vill byrja á að fá eins afmarkað umhverfi og ég get til að keyra Python.
Leit og smá prófanir leiða mig að pyenv
. Einfaldar leiðbeiningar um uppsetningu, enda á að keyra ca.
import slugify from 'slugify'; | |
import { valueToSementer } from '../lib/mappers.js'; | |
import type { Course, DepartmentImport } from '../types.js'; | |
/** | |
* Parse JSON data representing index files. | |
* @param input string with JSON data | |
* @returns parsed list of files | |
*/ | |
export function parseJson(input: string): Array<DepartmentImport> { |