This is a logseq advanced query which fetches all your tasks, sorts them by (the earlier of) scheduled and deadline date if those are defined and then displays them in a table.
Here's how the query looks for the example tasks above:
| #!/usr/bin/python3 | |
| import re | |
| import numpy as np | |
| import dbus | |
| from dbus.mainloop.glib import DBusGMainLoop | |
| from time import sleep | |
| from vidgear.gears import WriteGear | |
| from gstreamer import GstContext, GstPipeline, GstApp, Gst, GstVideo |
| 2019/09/04 18:26:38 [INFO] Terraform version: 0.12.7 | |
| 2019/09/04 18:26:38 [INFO] Go runtime version: go1.12.9 | |
| 2019/09/04 18:26:38 [INFO] CLI args: []string{"/usr/local/bin/terraform", "apply"} | |
| 2019/09/04 18:26:38 [DEBUG] Attempting to open CLI config file: /home/tknoeppl/.terraformrc | |
| 2019/09/04 18:26:38 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
| 2019/09/04 18:26:38 [INFO] CLI command args: []string{"apply"} | |
| 2019/09/04 18:26:38 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config | |
| 2019/09/04 18:26:38 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory | |
| 2019/09/04 18:26:38 [DEBUG] New state was assigned lineage "cdc059ec-19ff-682c-dd12-716beaae90b9" | |
| 2019/09/04 18:26:38 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend) |