Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Frontmatter example:
- ---
- cardtitle: "Backfire Effect"
- definition: "A [[Cognitive Bias]] that causes people who encounter **evidence that challenges their beliefs to reject that evidence**, and to *strengthen their support for their original stance*."
- ---
- Query:
- ``` dataview
- TABLE
- definition
- FROM ""
- WHERE
- definition and cardtitle
- FLATTEN
- date(now) as Now
- FLATTEN
- (file.mtime.year + file.mtime.hour + file.mtime.day + file.mtime.hour + file.mtime.minute + file.mtime.second + file.size + Now.hour + Now.minute + Now.second) * 15485863 as Hash
- FLATTEN
- ((Hash * Hash * Hash) % 2038074743) / 2038074743 as Rand
- WHERE
- max(Rand)
- SORT
- Rand
- LIMIT
- 1
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement