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
[ | |
{ | |
"dst": "$raw", | |
"src": [ | |
"roads_annotated/*" | |
], | |
"action": "data", | |
"settings": { | |
"classes_mapping": "default" | |
} |
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
// DANGER: Run this too frequently and you can lock out your Notion account. | |
// Once a day should be sufficient for most use cases. | |
// | |
// npm i -D playwright | |
// export NOTION_TOKEN=`node gettoken/gettoken.js` | |
const { chromium } = require('playwright'); | |
const user = 'XXXX'; | |
const pass = 'YYYY'; |
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
for (var id of window.__console.AppStore.instanceState.currentBlockStore.instanceState.value.content) { | |
for (var entry of Array.from(window.__console.AppStore.instanceState.currentBlockStore.inMemoryRecordCache.cache)) { | |
if (entry[0].startsWith(id)) { | |
console.log(entry[1].value.value); | |
} | |
} | |
} |
OlderNewer