Mermaid
External Links
Tutorials: https://mermaid.js.org/config/Tutorials.html
Online editor + exporter: https://mermaid.live
Installation
Mermaid has plugins for VS Code, Obsidian, works with GitHub, GitLab etc.
Full list of integrations: https://github.com/mermaid-js/mermaid/blob/develop/docs/misc/integrations.md
Flowcharts
Example:
graph LR %% TD = Top->Down, LR = Left->Right etc.
S[Start] --> A;
A(Enter your EMail) --> E{Existing user?};
E -->|No| Create(Enter name)
E -->|Yes| Send(Send a letter to address)
Create --> EULA{Accept conditions}
EULA -->|Yes| Send
EULA -->|No|A
Result:
graph LR
S[Start] --> A;
A(Enter your EMail) --> E{Existing user?};
E -->|No| Create(Enter name)
E -->|Yes| Send(Send a letter to address)
Create --> EULA{Accept conditions}
EULA -->|Yes| Send
EULA -->|No|A
Sequence Diagrams
Example:
sequenceDiagram
autonumber %% action numbers placed on every arrow
actor C as Client
Note left of C: User %% [ right of | left of | over ] supported
participant I as Identity Provider
participant S as Service Provider
Note right of S: Blitz Identity
C->>S: Resource request
activate C
activate S
S-->>C: Redirect to Identity Provider
deactivate S
loop every hour %% loop start
C->>I: Request Access Token
activate C
activate I
I-->>C: Access Token
deactivate C
deactivate I
end %% loop end
C->>S: Access granted
Note over C,S: Browser access
deactivate C
Result:
sequenceDiagram
autonumber
actor C as Client
Note left of C: User
participant I as Identity Provider
participant S as Service Provider
Note right of S: Blitz Identity
C->>S: Resource request
activate C
activate S
S-->>C: Redirect to Identity Provider
deactivate S
loop every hour
C->>I: Request Access Token
activate C
activate I
loop
I->>I: Kerberos cert
end
I-->>C: Access Token
deactivate C
deactivate I
end
C->>S: Access granted
Note over C,S: Browser access
deactivate C
Obsidian
Obsidian Articles
Obsidian + Dataview
https://habr.com/ru/articles/710508/
Чтобы немного упростить процесс ведения дневника, можно поставить плагин календаря (Calendar), периодических заметок (Periodic notes) и шаблонов (Templater). Логика думаю тут довольно проста – календарь позволяет лучше ориентироваться во времени, периодические заметки - организуют заметки, а шаблоны упрощают создание самих дневниковых заметок.
Сначала мы быстро читаем какой-то отрывок, главу. Не отвлекаемся, не тормозим, не ходим по ссылкам.
Далее читаем заново и оставляем метки, по которым сформируем впоследствии конспект.
Пишем конспект:
Сначала пишем просто изложение (значит своими словами). Не думаем о ссылках, не думаем о том, как атомизировать. Просто пишем четкое последовательное изложение по прочитанному.
Расширяем и дополняем конспект своими мыслями и наблюдениями, вставляем ссылки и источники.
(при необходимости формируем какой-то сопроводительный текст)
Начинаем атомизировать наш конспект на отдельные заметки.
Связываем заметки с другими, если, конечно, в голову приходят эти связи.
Медитируем
- Okular, потому что эта программа открывает pdf и djvu (и многие другие), а также в ней прям очень легко и быстро можно аннотировать текст.
Zotero
Это ультимативная, бесплатная программа для работы с источниками информации
Плагины
Инструменты
- Peerdraft - совместная работа над заметками;
- Qartz - расшарить в веб свой обсидиан;
- Obsidian Publish - тот же Кварц, но его не надо хостить, крутится на серверах Обсидиан (платный).
Средства публикации заметок
Обсидианы других людей
Кварц позволяет открыть свои markdown-страницы для других людей через веб-сайт.
Есть даже целая концепция learn in public, когда люди открывают аудитории свои незавершённые наработки с целью эффективного обучения. Закон Каннингема гласит:
Лучшим способом получить правильный ответ в Интернете будет не задавать вопрос, а разместить ложный ответ
Вот обсидианы некоторых инженеров:
Кстати, статьи, которые я пишу для своего телеграм канала тоже написаны в Обсидиан и опубликованы через Quartz.
Для того, чтобы их можно было удобно читать, не выходя из приложения, я написал шаблон для telegram instant view.
Top Plugins
Calendar
Позволяет создать календарь и писать в него быстрые заметки по дням.
DataView
Позволяет делать выборки из файлов с SQL Syntax и отображать результат в виде таблицы
Outliner
Создание и управление структурированными списками.
Novel Word Count
Отображение количества страниц и текста в папке.
Style Settings
Изменить стиль Obsidian, сделать Softpaper стиль.
Установить стиль (Theme) = AnuPpuccin
Зайти в настройки плагина Style Settings, выбрать конфиг для AnuPpuccin темы -> Import… и ввести:
{
"anuppuccin-theme-settings@@anuppuccin-theme-light": "ctp-rosepine-light",
"anuppuccin-theme-settings@@anuppuccin-theme-dark": "ctp-frappe",
"anuppuccin-theme-settings@@anuppuccin-light-theme-accents": "ctp-accent-light-teal",
"anuppuccin-theme-settings@@anuppuccin-theme-accents": "ctp-accent-teal",
"anuppuccin-theme-settings@@anuppuccin-accent-toggle": true,
"anuppuccin-theme-settings@@ctp-custom-peach@@light": "#DD7F67",
"anuppuccin-theme-settings@@ctp-custom-teal@@dark": "#11B7C5",
"anuppuccin-theme-settings@@ctp-custom-teal@@light": "#1A7DA4",
"anuppuccin-theme-settings@@ctp-custom-subtext1@@light": "#EE653A",
"anuppuccin-theme-settings@@ctp-custom-subtext0@@dark": "#FB35D8",
"anuppuccin-theme-settings@@ctp-custom-subtext0@@light": "#0C9FCE",
"anuppuccin-theme-settings@@ctp-custom-overlay2@@dark": "#0AD1D0",
"anuppuccin-theme-settings@@ctp-custom-overlay2@@light": "#525252",
"anuppuccin-theme-settings@@ctp-custom-overlay1@@dark": "#FFA600",
"anuppuccin-theme-settings@@ctp-custom-overlay1@@light": "#CCCCCC",
"anuppuccin-theme-settings@@ctp-custom-overlay0@@dark": "#4CFFD2",
"anuppuccin-theme-settings@@ctp-custom-overlay0@@light": "#0C9FCE",
"anuppuccin-theme-settings@@anp-active-line": "anp-no-highlight",
"anuppuccin-theme-settings@@anp-callout-select": "anp-callout-sleek",
"anuppuccin-theme-settings@@anp-callout-color-toggle": true,
"anuppuccin-theme-settings@@anp-custom-checkboxes": true,
"anuppuccin-theme-settings@@anp-speech-bubble": true,
"anuppuccin-theme-settings@@tag-radius": 2,
"anuppuccin-theme-settings@@cards-border-width": "4px",
"anuppuccin-theme-settings@@anp-color-transition-toggle": true,
"anuppuccin-theme-settings@@anp-cursor": "pointer",
"anuppuccin-theme-settings@@anp-toggle-scrollbars": true,
"anuppuccin-theme-settings@@anp-editor-font-source": "\"\"",
"anuppuccin-theme-settings@@anp-editor-font-lp": "\"New York\"",
"anuppuccin-theme-settings@@bold-weight": "700",
"anuppuccin-theme-settings@@anp-font-live-preview-wt": "400",
"anuppuccin-theme-settings@@anp-header-color-toggle": true,
"anuppuccin-theme-settings@@anp-header-divider-color-toggle": true,
"anuppuccin-theme-settings@@h1-weight": 900,
"anuppuccin-theme-settings@@h1-line-height": 1.2,
"anuppuccin-theme-settings@@anp-h1-divider": true,
"anuppuccin-theme-settings@@h2-size": 1.9,
"anuppuccin-theme-settings@@h2-weight": 100,
"anuppuccin-theme-settings@@h3-size": 1.6,
"anuppuccin-theme-settings@@h3-weight": 700,
"anuppuccin-theme-settings@@anp-h3-color-custom": "anp-h3-green",
"anuppuccin-theme-settings@@h4-weight": 700,
"anuppuccin-theme-settings@@h5-weight": 700,
"anuppuccin-theme-settings@@h6-size": 1.1,
"anuppuccin-theme-settings@@h6-weight": 700,
"anuppuccin-theme-settings@@anp-decoration-toggle": true,
"anuppuccin-theme-settings@@anp-colorful-frame": true,
"anuppuccin-theme-settings@@anp-colorful-frame-opacity": 1,
"anuppuccin-theme-settings@@anp-file-icons": true,
"anuppuccin-theme-settings@@anp-file-label-align": "0",
"anuppuccin-theme-settings@@anp-alt-rainbow-style": "anp-full-rainbow-color-toggle",
"anuppuccin-theme-settings@@anp-rainbow-file-toggle": true,
"anuppuccin-theme-settings@@anp-rainbow-folder-bg-opacity": 0.9,
"anuppuccin-theme-settings@@anp-simple-rainbow-title-toggle": true,
"anuppuccin-theme-settings@@anp-simple-rainbow-indentation-toggle": true,
"anuppuccin-theme-settings@@anp-stacked-header-width": 30,
"anuppuccin-theme-settings@@anp-alt-tab-style": "anp-safari-tab-toggle",
"anuppuccin-theme-settings@@anp-alt-tab-custom-height": 40,
"anuppuccin-theme-settings@@anp-disable-newtab-align": true,
"anuppuccin-theme-settings@@anp-depth-tab-opacity": 0.6,
"anuppuccin-theme-settings@@anp-depth-tab-gap": 10,
"anuppuccin-theme-settings@@anp-safari-tab-radius": 5,
"anuppuccin-theme-settings@@anp-safari-tab-gap": 3,
"anuppuccin-theme-settings@@anp-safari-tab-animated": true,
"anuppuccin-theme-settings@@anp-layout-select": "anp-card-layout",
"anuppuccin-theme-settings@@anp-card-radius": 8,
"anuppuccin-theme-settings@@anp-card-layout-padding": 1,
"anuppuccin-theme-settings@@anp-card-shadows": true,
"anuppuccin-theme-settings@@anp-card-layout-actions": true,
"anuppuccin-theme-settings@@anp-card-layout-filebrowser": true,
"anuppuccin-theme-settings@@anp-border-radius": 16,
"anuppuccin-theme-settings@@anp-border-padding": 20
}
TGSummarize
Link: https://habr.com/ru/articles/804111
Group chats:
The JSON document below is a message history from a Telegram group chat.
I need you to summarize this chat history and yield 5 primary conversation topics.
Each conversation topic mentioned should be accompanied by one-sentence summaries of 2-3 most representative dialogs (not single messages) from the conversation on the given topic including usernames.
For each dialog summary provide the exact keywords with which the message can be found in the history using text search.
IMPORTANT: The output should be provided in the language which prevails in the messages text.
Here's an example of desired output in Russian language (follow the exact structure):
1. <b>Изменения в политике открытия счетов в Испании для россиян по паспорту гражданина РФ без получения ВНЖ. Обсуждаются новые ограничения, введенные в начале 2024</b>.
Примеры сообщений:
- <b>Bolzhedor рассказывает</b> о неудачной попытке открытия счета по паспорту РФ в банке Caixa. Ключевые слова: "<i>завернули с паспортом</i>", "<i>больше никому не открывают :(</i>".
- <b>Александр Сергеевич</b> отмечает, что единственный банк, до сих пор открывающий счета россиянам по паспорту - это BBVA. Ключевые слова: "<i>BBVA пока разрешает</i>", "<i>главное дружить с хестором</i>".
2. <b>Изменения в политике налогообложения России и Испании в 2024 году</b>.
Примеры сообщений:
- <b>Себастьян Перейро</b> и <b>Max</b> обсуждают изменения в налоговом законодательстве и влияние налогового резидентства на обязательства. Ключевые слова: "<i>нерезидентам сейчас хуже всего</i>", "<i>кто попался на непредоставлении?</i>", "<i>зачем вообще об этом сообщать/<i>".
- <b>Akakij M</b> и <b>Олег</b> делятся опытом и советами по вопросам налогообложения и требованиям налоговых органов. Ключевые слова: "<i>Будут спрашивать - скажете</i>", "<i>у меня пока ничего не просили</i>".
3. <b>Судебные приставы и исполнение налоговых требований: пользователи делились опытом взаимодействия с судебными приставами и налоговыми органами, включая случаи неправомерного списания средств</b>.
Примеры сообщений:
- <b>Маша К</b> рассказывает о своем опыте с неправомерным списанием средств и последующим взысканием через суд. Ключевые слова: "<i>по судам затаскают</i>".
- <b>Любитель Бокса</b> упоминает о списании штрафов с нескольких счетов одновременно. Ключевые слова: "<i>уж не знаю как, но нашли</i>".
4. <b>Вопросы по открытию и пополнению счета для получения студенческой визы</b>.
Примеры сообщений:
- <b>Родион Раскольников</b> ищет информацию о том, как показать на счете 1337€ для студенческой визы, учитывая ограничения на пополнение счета в Nickel. Ключевые слова: "<i>студенческая виза</i>", "<i>leet</i>", "<i>1337€</i>".
- <b>Kusswurm</b> предлагает пополнение через Bank для обхода лимитов Nickel. Ключевые слова: "<i>пополнение через Bank</i>", "<i>обход лимитов Nickel</i>".
5. <b>Обсуждение возможности использования банковских услуг для нерезидентов и резидентов с TIE</b>.
Примеры сообщений:
- <b>Александр</b> спрашивает о переводе средств из РФ в Испанию, будучи нерезидентом без резиденции. Ключевые слова: "<i>вывод средств</i>", "<i>РФ в Испанию</i>", "<i>нерезидент</i>".
- <b>Жулик Обманщик</b> предлагает привезти наличные, а также упоминает о наличии людей, заинтересованных в обмене рублей на евро. Ключевые слова: "<i>привезти наличные</i>", "<i>рубли на евро</i>".
Here's the JSON document:
{text_to_summarize}
Habr Channel:
The JSON document attached is a message history from a Telegram channel chat.
I need you to summarize this channel history and for all days yield 4 primary topics for each day connected to DevOps Kubernetes and Linux commands, only Rust language programming from programming languages, DIY topics, network and VPN, Ai LLM, HR and psychology, Data Security, Sysadmin tools topics. Every day must have this summarization separately.
For posts named "Новости к этому часу" provide each news line inside this post as is with an accompanying URL link.
IMPORTANT: For each summary provide the href URL link (in clickable format) and the date connected to the channel post which was summarized. The output should be provided in the language which prevails in the post message text.
Other Channel:
The JSON document attached is a message history from a Telegram channel chat.
I need you to summarize this channel history and for all days primary topics for each day. Every day must have this summarization done separately.
IMPORTANT: If a post has a URL link, then add it to the summarization (in clickable format) and also add the date connected to the channel post which was summarized. The output should be provided in the language which prevails in the post message text.