You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
4.8 KiB

{
"nodes":[
{"type":"text","text":"<iframe src=\"https://indify.co/widgets/live/weather/CMOfmBCtA1f1TmJRfduo\" width=\"100%\" length=“100%”></iframe>\n","id":"e4889634623a84ae","x":425,"y":720,"width":435,"height":200},
{"type":"text","text":"```dataview\nTable without id \"![](\" + Source.Cover + \")\" as \"Cover\", file.link as \"Title\", Source.Author as \"Author\", Source.Published as \"Publication Date\", Source.Language as \"Language\" \nwhere Source.Type = \"Book\"\nwhere ReadingState = \"🟧\"\n```","id":"419b58907d6d0610","x":-40,"y":720,"width":405,"height":523},
{"type":"text","text":"```dataview\ntable without id file.link as \"Title\", Tag as \"Themes\" from \"00.03 News\"\nwhere contains(Read, \"🟥\")\nlimit 6\n```","id":"21094e4af9cf9502","x":-40,"y":1320,"width":405,"height":640},
{"type":"text","text":"``` tracker\nsearchType: frontmatter\nsearchTarget: Happiness, Steps, Ski, Riding, Racket, Football, Swim, IceSkating\nfolder: /00.01 Admin/Calendars\nmonth:\n mode: annotation\n startWeekOn: 'Mon'\n threshold: 75, 10000, 0, 0, 0, 0, 0, 0\n color: green\n headerMonthColor: orange\n dimNotInMonth: false\n annotation: ☀️,🏃,🎿,🏇,🎾,⚽,🏊🏼‍♂️, ⛸\n showAnnotationOfAllTargets: true\n```","id":"6096454290cfc990","x":920,"y":720,"width":435,"height":420},
{"id":"f7b69542268fdc17","x":-40,"y":2000,"width":405,"height":400,"type":"text","text":"```dataview\nTable without id \"[[\" + file.name + \"|\" + replace(file.name, \"@\", \"\") + \"]]\" as \"Name\", Tag as \"Tag\" , \"Next review on \" + NextReviewDate as \"Date\", choice(NextReviewDate > date(today), \"☑️ On track\", choice(NextReviewDate < date(today), \"⚠️ Review overdue\", \"🚦 Review today\")) as \"Review\" from #✅\nWhere DocType = \"Task\"\nsort NextReviewDate asc\n```"},
{"id":"e0714d5f838497bc","x":920,"y":1200,"width":435,"height":477,"type":"text","text":"### 😴 Sleep Pattern\n\n```tracker\nsearchType: frontmatter\nsearchTarget: Sleep\nfolder: /00.01 Admin/Calendars\nstartDate: 2022-01-22\nline:\n xAxisLabel: Date\n yAxisLabel: Hours slept\n lineColor: green\n showPoint: false\n xAxisColor: grey\n xAxisLabelColor: grey\n yAxisColor: grey\n yAxisLabelColor: grey\n```"},
{"type":"text","text":"```dataviewjs\nconst today = DateTime.now()\nconst endOfYear = {\n year: today.year,\n month: 12,\n day: 31\n}\n\nconst lifespan = { year: 85 } \nconst birthday = DateTime.fromObject({\n year: 1984,\n month: 7,\n day: 7\n});\nconst deathday = birthday.plus(lifespan)\n\nfunction progress(type) {\n let value;\n \n switch(type) {\n case \"lifespan\": \n value = (today.year - birthday.year) / lifespan.year * 100;\n break;\n case \"year\":\n value = today.month / 12 * 100\n break;\n case \"month\":\n value = today.day / today.daysInMonth * 100\n break;\n case \"day\":\n value = today.hour / 24 * 100\n break;\n }\n return `<progress value=\"${parseInt(value)}\" max=\"100\"></progress> | ${parseInt(value)} %`\n}\n\n\ndv.span(`\n| | | |\n| --- | --- |:---:|\n| **Life** | ${progress(\"lifespan\")}\n| | |\n| **Year** | ${progress(\"year\")}\n| **Month**| ${progress(\"month\")}\n| **Day**| ${progress(\"day\")}\n`)\n```\n","id":"7e80f44c67f7a9e8","x":425,"y":940,"width":435,"height":200},
{"id":"6dd9182a1b72702a","x":425,"y":1200,"width":435,"height":477,"type":"text","text":"### 👣 Daily steps\n\n``` tracker\nsearchType: frontmatter\nsearchTarget: Steps\nfolder: /00.01 Admin/Calendars\nstartDate: 2022-01-22\nendDate:\nline:\n xAxisLabel: Date\n yAxisLabel: \"# of steps\"\n lineColor: cyan\n showPoint: false\n xAxisColor: grey\n xAxisLabelColor: grey\n yAxisColor: grey\n yAxisLabelColor: grey\n```"},
{"id":"3eacafacaea81472","x":425,"y":1720,"width":435,"height":477,"type":"text","text":"### ⚖️ Weight\n\n``` tracker\nsearchType: frontmatter\nsearchTarget: Weight\nfolder: /00.01 Admin/Calendars\nstartDate: 2023-01-10\nignoreZeroValue: true\nline:\n xAxisLabel: Date\n yAxisLabel: Weight\n lineColor: red\n showPoint: false\n xAxisColor: grey\n xAxisLabelColor: grey\n xAxisTickInterval: 1w\n yAxisColor: grey\n yAxisLabelColor: grey\n fillGap: true\n```"},
{"id":"469332051f4aac8d","x":920,"y":1720,"width":435,"height":477,"type":"text","text":"### 🚰 Water Consumption\n\n``` tracker\nsearchType: frontmatter\nsearchTarget: Water\nfolder: /00.01 Admin/Calendars\nstartDate: 2022-01-22\nendDate:\nline:\n xAxisLabel: Date\n yAxisLabel: Amount of soft drink (liter)\n lineColor: blue\n showPoint: false\n xAxisColor: grey\n xAxisLabelColor: grey\n yAxisColor: grey\n yAxisLabelColor: grey\n```"}
],
"edges":[]
}