project-turrim / turrim0

0 stars 0 forks source link

Cool to see some logging output shown inline with the code #4

Open project-turrim opened 4 years ago

project-turrim commented 4 years ago
def sort_array(arr):
  LOG(arr) # [1,-2,0,10,2]
  sorted(arr)
  LOG(arr) # [-2, 0, 1, 2, 10]
project-turrim commented 4 years ago

Nevermind. It's way cooler if we can have a server call the functions written inside the iCloud Note and dump the result back into the iCloud Note.

project-turrim commented 4 years ago

Seems like iCloud Notes are stored as sqlite database and protobufs.

We'd have to write a parser/writer for the plaintext of the notes, because it seems like no one is doing that on Github right now.

This is an example plaintext stored in the Protobuf of the iNote:

- [ ] Notes
.
- 2
    - 1
- 3

topleft top-right
bottomleft
Second row
Looooooooooooooooooooooooong row    bottomright

top left, top-right, bottom left, bottom right is actually a table. Columns are separated using Tab

project-turrim commented 4 years ago