Skip to content

Commit

Permalink
Makes some minor changes to the graph
Browse files Browse the repository at this point in the history
  • Loading branch information
sindoc committed Jan 2, 2023
1 parent 11015be commit dec8998
Show file tree
Hide file tree
Showing 4 changed files with 338 additions and 11 deletions.
25 changes: 15 additions & 10 deletions journals/2022_12_30.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
- TODO [[+/build your personal website/public graph/digital garden]]
- TODO [[->/publish website block]] The first block on my site on Web.
- ### DONE 11:42 [[+/build your personal website/public graph/digital garden]]
:LOGBOOK:
CLOCK: [2022-12-31 Sat 01:24:29]--[2023-01-02 Mon 14:52:18] => 61:27:49
:END:
- DONE [[->/publish website block]] The first block on my site on Web.
- ## Welcome to my website / public graph 😊
- I like the term **website** as it could denote a **site** on the **Web**.
- Have you ever thought about the type of thinking that leads to, or the amount of energy that goes into to building an actual site whether it be a **site** that:
- is built for a family to live in, i.e. **family home**
Expand All @@ -13,36 +17,37 @@
- The blocks that help build **this site are not made of brick and mortar**. But they are made of bytes, Unicode characters, structured or unstructured content, to help communicate with my audience. An audience we may call knowledge artists, or not. I will soon write of course, the audience I intend to achieve, with this site.
- I have seen more and more people referring to websites as *digital gardens*. Sure, a site would only become more useful it were to have a garden as part of it.
- [[...has colophon...]]
collapsed:: true
- I am building this website using [Logseq](https://logseq.com/) and GitHub
- You're not supposed to have a lot of hard technical skills to be able to publish a website like this. I might write more and more about how one can publish a website like this.
- The following steps show how it's done, you can safely skip anything below this sub-block.
- TODO [[->/follow steps in the video]] to publish a website using [[GitHub]] and [[Logseq]]
collapsed:: true
- DONE [[->/follow steps in the video]] to publish a website using [[GitHub]] and [[Logseq]]
- {{video https://www.youtube.com/watch?v=UYqJcFEYUsY}}
- #+BEGIN_NOTE
The look and feel of the screenshots below may be different from a vanilla Logseq environment, simply because I have installed a few plugins, following recommendations from the following video, thanks to the Tools on Tech channel
#+END_NOTE
- (expand this block to see the video)
collapsed:: true
- {{video https://youtu.be/7yVdh7ITvz4}}
- TODO {{youtube-timestamp 13}} [[->/initialise a GitHub repository]]
- TODO Use [[command-line]] or via GitHub Desktop
- LATER {{youtube-timestamp 13}} [[->/initialise a GitHub repository]]
- LATER Use [[command-line]] or via GitHub Desktop
collapsed:: true
- ![Screenshot 2022-12-30 at 15.46.38.png](../assets/Screenshot_2022-12-30_at_15.46.38_1672411613091_0.png){:height 429, :width 410}
- Choose Git Ignore style, for now, since I'm using Logseq, I chose Clojure. But that's probably the wrong choice if I'm going to focus more on Javascript as the language of choice. In fact, as a former Lisper, you always have a bias for Lisp because of its power. But I also want my writing to be understood by using standards that have evolved within large communities. And in terms of the community and standard process, what Javascript has achieved is seldom comparable with any other programming language. And Clojure is a gift to humanity from the heavens, but while I think that the Lisp paradigm is still very much alive and kicking, there's probably still more value in promoting a language that has been standardised and has been adapted rapidly to represent the state of the art in programming languages. This is by the way, by no means meant to mean any disrespect to any community out there, standing up for their programming language of choice. It's just a matter of scale in the responsibilities assigned to a platform such as Web, which Javascript (EMCAscript) represents.
- Choose the License
- For now, I'll go with GPLv2, following along the copyleft tradition but I might change this in the future.
- These are the choices i.e. [[List of allowed values for Open Source Licenses]]
- ![Screenshot 2022-12-30 at 12.36.12.png](../assets/Screenshot_2022-12-30_at_12.36.12_1672415108005_0.png){:height 272, :width 236}
- TODO {{youtube-timestamp 33}} Navigate to the graph that you intend to make public, either you create a fresh one, which is what I did here, or if you make an existing graph, public, that's up to you.
- LATER {{youtube-timestamp 33}} Navigate to the graph that you intend to make public, either you create a fresh one, which is what I did here, or if you make an existing graph, public, that's up to you.
collapsed:: true
- ![Screenshot 2022-12-30 at 16.26.52.png](../assets/Screenshot_2022-12-30_at_16.26.52_1672414670385_0.png){:height 296, :width 304}
- ![Screenshot 2022-12-30 at 16.37.31.png](../assets/Screenshot_2022-12-30_at_16.37.31_1672415236758_0.png){:height 204, :width 300}
- TODO {{youtube-timestamp 40}} Add some content, including a few pages
- LATER {{youtube-timestamp 40}} Add some content, including a few pages
collapsed:: true
- ![Screenshot 2022-12-30 at 16.49.34.png](../assets/Screenshot_2022-12-30_at_16.49.34_1672416022488_0.png)
- TODO {{youtube-timestamp 48}} Tell Logseq that all pages in this graph are supposed to be public.
- LATER {{youtube-timestamp 48}} Tell Logseq that all pages in this graph are supposed to be public.
collapsed:: true
- This is useful, for otherwise, each page has to be declared public, which may not be practical to maintain.
- ![Screenshot 2022-12-30 at 17.48.27.png](../assets/Screenshot_2022-12-30_at_17.48.27_1672418928462_0.png)
-
-
-
4 changes: 4 additions & 0 deletions journals/2023_01_02.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- #### Backlog of topics
- TODO Define [[Self-Aware Entity]]
- TODO Define Data Product and Dignified Data Models
-
318 changes: 318 additions & 0 deletions logseq/bak/logseq/config/2023-01-02T14_02_35.016Z.Desktop.edn
Original file line number Diff line number Diff line change
@@ -0,0 +1,318 @@
{:meta/version 1

;; Currently, we support either "Markdown" or "Org".
;; This can overwrite your global preference so that
;; maybe your personal preferred format is Org but you'd
;; need to use Markdown for some projects.
;; :preferred-format ""

;; Preferred workflow style.
;; Value is either ":now" for NOW/LATER style,
;; or ":todo" for TODO/DOING style.
:preferred-workflow :now

;; The app will ignore those directories or files.
;; E.g. :hidden ["/archived" "/test.md" "../assets/archived"]
:hidden []

;; When creating the new journal page, the app will use your template if there is one.
;; You only need to input your template name here.
:default-templates
{:journals ""}

;; Whether to enable hover on tooltip preview feature
;; Default is true, you can also toggle this via setting page
:ui/enable-tooltip? true

;; Show brackets around page references
;; :ui/show-brackets? true

;; Enable Block timestamp
:feature/enable-block-timestamps? false

;; Enable remove accents when searching.
;; After toggle this option, please remember to rebuild your search index by press (cmd+c cmd+s).
:feature/enable-search-remove-accents? true

;; Enable journals
;; :feature/enable-journals? true

;; Enable flashcards
;; :feature/enable-flashcards? true

;; Disable Built-in Scheduled and deadline Query
;; :feature/disable-scheduled-and-deadline-query? true

;; Specify the date on which the week starts.
;; Goes from 0 to 6 (Monday to Sunday), default to 6
:start-of-week 6

;; Specify a custom CSS import
;; This option take precedence over your local `logseq/custom.css` file
;; You may find a list of awesome logseq themes here:
;; https://github.com/logseq/awesome-logseq#css-themes
;; Example:
;; :custom-css-url "@import url('https://cdn.jsdelivr.net/gh/dracula/logseq@master/custom.css');"

;; Set Bullet indentation when exporting
;; default option: tab
;; Possible options are for `:sidebar` are
;; 1. `:eight-spaces` as eight spaces
;; 2. `:four-spaces` as four spaces
;; 3. `:two-spaces` as two spaces
;; :export/bullet-indentation :tab


;; When :all-pages-public? true, export repo would export all pages within that repo.
;; Regardless of whether you've set any page to public or not.
;; Example:
;; :publishing/all-pages-public? true

;; Specify default home page and sidebar status for Logseq
;; If not specified, Logseq default opens journals page on startup
;; value for `:page` is name of page
;; Possible options for `:sidebar` are
;; 1. `"Contents"` to open up `Contents` in sidebar by default
;; 2. `page name` to open up some page in sidebar
;; 3. Or multiple pages in an array ["Contents" "Page A" "Page B"]
;; If `:sidebar` is not set, sidebar will be hidden
;; Example:
;; 1. Setup page "Changelog" as home page and "Contents" in sidebar
;; :default-home {:page "Changelog", :sidebar "Contents"}
;; 2. Setup page "Jun 3rd, 2021" as home page without sidebar
;; :default-home {:page "Jun 3rd, 2021"}
;; 3. Setup page "home" as home page with multiple pages in sidebar
;; :default-home {:page "home" :sidebar ["page a" "page b"]}

;; Tell logseq to use a specific folder in the repo as a default location for notes
;; if not specified, notes are stored in `pages` directory
;; :pages-directory "your-directory"

;; Tell logseq to use a specific folder in the repo as a default location for journals
;; if not specified, journals are stored in `journals` directory
;; :journals-directory "your-directory"

;; Set this to true will convert
;; `[[Grant Ideas]]` to `[[file:./grant_ideas.org][Grant Ideas]]` for org-mode
;; For more, see https://github.com/logseq/logseq/issues/672
;; :org-mode/insert-file-link? true

;; Setup custom shortcuts under `:shortcuts` key
;; Syntax:
;; 1. `+` means keys pressing simultaneously. eg: `ctrl+shift+a`
;; 2. ` ` empty space between keys represents key chords. eg: `t s` means press `t` followed by `s`
;; 3. `mod` means `Ctrl` for Windows/Linux and `Command` for Mac
;; 4. use `false` to disable particular shortcut
;; 4. you can define multiple bindings for one action, eg `["ctrl+j" "down"]`
;; full list of configurable shortcuts are available below:
;; https://github.com/logseq/logseq/blob/master/src/main/frontend/modules/shortcut/config.cljs
;; Example:
;; :shortcuts
;; {:editor/new-block "enter"
;; :editor/new-line "shift+enter"
;; :editor/insert-link "mod+shift+k"
;; :editor/hightlight false
;; :ui/toggle-settings "t s"
;; :editor/up ["ctrl+k" "up"]
;; :editor/down ["ctrl+j" "down"]
;; :editor/left ["ctrl+h" "left"]
;; :editor/right ["ctrl+l" "right"]}
:shortcuts {}

;; By default, pressing `Enter` in the document mode will create a new line.
;; Set this to `true` so that it's the same behaviour as the usual outliner mode.
:shortcut/doc-mode-enter-for-new-block? false

;; Block content larger than `block/content-max-length` will not be searchable
;; or editable for performance.
:block/content-max-length 10000

;; Whether to show command doc on hover
:ui/show-command-doc? true

;; Whether to show empty bullets for non-document mode (the default mode)
:ui/show-empty-bullets? false

;; Pre-defined :view function to use with advanced queries
:query/views
{:pprint
(fn [r] [:pre.code (pprint r)])}

;; Pre-defined :result-transform function for use with advanced queries
:query/result-transforms
{:sort-by-priority
(fn [result] (sort-by (fn [h] (get h :block/priority "Z")) result))}

;; The app will show those queries in today's journal page,
;; the "NOW" query asks the tasks which need to be finished "now",
;; the "NEXT" query asks the future tasks.
:default-queries
{:journals
[{:title "🔨 NOW"
:query [:find (pull ?h [*])
:in $ ?start ?today
:where
[?h :block/marker ?marker]
[(contains? #{"NOW" "DOING"} ?marker)]
[?h :block/page ?p]
[?p :block/journal? true]
[?p :block/journal-day ?d]
[(>= ?d ?start)]
[(<= ?d ?today)]]
:inputs [:14d :today]
:result-transform (fn [result]
(sort-by (fn [h]
(get h :block/priority "Z")) result))
:collapsed? false}
{:title "📅 NEXT"
:query [:find (pull ?h [*])
:in $ ?start ?next
:where
[?h :block/marker ?marker]
[(contains? #{"NOW" "LATER" "TODO"} ?marker)]
[?h :block/page ?p]
[?p :block/journal? true]
[?p :block/journal-day ?d]
[(> ?d ?start)]
[(< ?d ?next)]]
:inputs [:today :7d-after]
:collapsed? false}]}

;; Add your own commands to slash menu to speedup.
;; E.g.
;; :commands
;; [
;; ["js" "Javascript"]
;; ["md" "Markdown"]
;; ]
:commands
[]

;; By default, a block can only be collapsed if it has some children.
;; `:outliner/block-title-collapse-enabled? true` enables a block with a title
;; (multiple lines) can be collapsed too. For example:
;; - block title
;; block content
:outliner/block-title-collapse-enabled? false

;; Macros replace texts and will make you more productive.
;; For example:
;; Change the :macros value below to:
;; {"poem" "Rose is $1, violet's $2. Life's ordered: Org assists you."}
;; input "{{poem red,blue}}"
;; becomes
;; Rose is red, violet's blue. Life's ordered: Org assists you.
:macros {}

;; The default level to be opened for the linked references.
;; For example, if we have some example blocks like this:
;; - a [[page]] (level 1)
;; - b (level 2)
;; - c (level 3)
;; - d (level 4)
;;
;; With the default value of level 2, `b` will be collapsed.
;; If we set the level's value to 3, `b` will be opened and `c` will be collapsed.
:ref/default-open-blocks-level 2

:ref/linked-references-collapsed-threshold 50

;; Favorites to list on the left sidebar
:favorites []

;; any number between 0 and 1 (the greater it is the faster the changes of the next-interval of card reviews) (default 0.5)
;; :srs/learning-fraction 0.5

;; the initial interval after the first successful review of a card (default 4)
;; :srs/initial-interval 4

;; hide specific properties for blocks
;; E.g. :block-hidden-properties #{:created-at :updated-at}
;; :block-hidden-properties #{}

;; Enable all your properties to have corresponding pages
:property-pages/enabled? true

;; Properties to exclude from having property pages
;; E.g.:property-pages/excludelist #{:duration :author}
;; :property-pages/excludelist

;; By default, property value separated by commas will not be treated as
;; page references. You can add properties to enable it.
;; E.g. :property/separated-by-commas #{:alias :tags}
;; :property/separated-by-commas #{}

;; Properties that are ignored when parsing property values for references
;; :ignored-page-references-keywords #{"author" "startup"}

;; logbook setup
;; :logbook/settings
;; {:with-second-support? false ;limit logbook to minutes, seconds will be eliminated
;; :enabled-in-all-blocks true ;display logbook in all blocks after timetracking
;; :enabled-in-timestamped-blocks false ;don't display logbook at all
;; }

;; Mobile photo uploading setup
;; :mobile/photo
;; {:allow-editing? true
;; :quality 80}

;; Mobile features options
;; Gestures
;; :mobile
;; {:gestures/disabled-in-block-with-tags ["kanban"]}

;; Extra CodeMirror options
;; See https://codemirror.net/5/doc/manual.html#config for possible options
;; :editor/extra-codemirror-options {:keyMap "emacs" :lineWrapping true}

;; Enable logical outdenting
;; :editor/logical-outdenting? true

;; Enable preferring pasting file from clipboard
;; :editor/preferred-pasting-file? true

;; Quick capture templates for receiving contents from other apps.
;; Each template contains three elements {time}, {text} and {url}, which can be auto-expanded
;; by received contents from other apps. Note: the {} cannot be omitted.
;; - {time}: capture time
;; - {text}: text that users selected before sharing.
;; - {url}: url or assets path for media files stored in Logseq.
;; You can also reorder them, or even only use one or two of them in the template.
;; You can also insert or format any text in the template as shown in the following examples.
;; :quick-capture-templates
;; {:text "[[quick capture]] **{time}**: {text} from {url}"
;; :media "[[quick capture]] **{time}**: {url}"}

;; Quick capture options
;; :quick-capture-options {:insert-today? false :redirect-page? false}

;; File sync options
;; Ignore these files when syncing, regexp is supported.
;; :file-sync/ignore-files []

;; dwim (do what I mean) for Enter key when editing.
;; Context-awareness of Enter key makes editing more easily
; :dwim/settings {
; :admonition&src? true
; :markup? false
; :block-ref? true
; :page-ref? true
; :properties? true
; :list? true
; }

;; Decide the way to escape the special characters in the page title.
;; Warning:
;; This is a dangerous operation. If you want to change the setting,
;; should access the setting `Filename format` and follow the instructions.
;; Or you have to rename all the affected files manually then re-index on all
;; clients after the files are synced. Wrong handling may cause page titles
;; containing special characters to be messy.
;; Available values:
;; :file/name-format :triple-lowbar
;; ;use triple underscore `___` for slash `/` in page title
;; ;use Percent-encoding for other invalid characters
:file/name-format :triple-lowbar
:publishing/all-pages-public? true
}
2 changes: 1 addition & 1 deletion logseq/config.edn
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
;; Preferred workflow style.
;; Value is either ":now" for NOW/LATER style,
;; or ":todo" for TODO/DOING style.
:preferred-workflow :now
:preferred-workflow :todo

;; The app will ignore those directories or files.
;; E.g. :hidden ["/archived" "/test.md" "../assets/archived"]
Expand Down

0 comments on commit dec8998

Please sign in to comment.