Skip to content

Commit

Permalink
Add questions, mini refactoring.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaliy Zarubin committed Dec 16, 2024
1 parent dec638b commit eed572b
Show file tree
Hide file tree
Showing 6 changed files with 341 additions and 13 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 36 additions & 3 deletions collection/faq/en/dataset.pkl
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,44 @@ import "../../templates/FaqTemplate.pkl"

dataset = new Listing<FaqTemplate> {
new {
t = "What is psdk?"
t = "Demo_Message."
i = "https://github.com/keygenqt/aurora-dataset/blob/dump/data/affe3cbb-2142-4fce-88f9-dee606276754.png?raw=true"
b = """
Aurora PSDK is a set of tools for developing, debugging and testing components of Aurora OS.
You can see "HTML style" at the link:
1. https://core.telegram.org/bots/api#html-style
2. <a href="https://core.telegram.org/bots/api#html-style">HTML style</a>
This post demonstrates the tags that can be used:
1. <b>bold</b>
2. <i>italic</i>
3. <u>underline</u>
4. <s>strikethrough</s>
5. <span class="tg-spoiler">spoiler</span>
<blockquote>⌫
This is what a quote looks like without expandable.
</blockquote>
<blockquote expandable>⌫
To prevent texts from turning into a looooong line, a symbol was entered U+232B.⌫
1. The symbol after <code>&gt;</code> - the new line following it will be deleted.
2. In text - will delete the new line and put a space.
3. One on line - the line will be deleted.
</blockquote>
Code insert:
<pre><code class="language-cpp">⌫
// Be careful when adding symbols, html may not understand you. Symbols must be escaped!
int main(int argc, char *argv[]) {
return 0;
}
</code></pre>
Short forms:
1. <code>inline fixed-width code</code>.
2. <pre>inline fixed-width code</pre>
"""
a = authors.keygenqt
ts = 1733423881
ts = 1734261607
}
}
252 changes: 252 additions & 0 deletions collection/faq/ru/dataset.pkl
Original file line number Diff line number Diff line change
Expand Up @@ -1281,4 +1281,256 @@ dataset = new Listing<FaqTemplate> {
a = authors.keygenqt
ts = 1734254020
}
new {
t = "Как получить состояние аккумулятора во Flutter?"
i = "https://github.com/keygenqt/aurora-dataset/blob/dump/data/23ed2376-09cd-444d-a8d9-dd98e56ec847.png?raw=true"
k = new Listing<String> {
"флаттер" "плагин" "plugin" "battery_plus" "battery" "aurora"
}
b = """
Получить статус заряда аккумулятора и его состояние позволяет имплементация плагина⌫
<a href="https://pub.dev/packages/battery_plus">battery_plus</a>⌫
- ⌫
<a href="https://gitlab.com/omprussia/flutter/flutter-community-plugins/plus_plugins/-/tree/master/packages/battery_plus_aurora">battery_plus_aurora</a>.
"""
a = authors.keygenqt
ts = 1734365894
}
new {
t = "Как получить состояние сетевого подключения во Flutter?"
i = "https://github.com/keygenqt/aurora-dataset/blob/dump/data/23ed2376-09cd-444d-a8d9-dd98e56ec847.png?raw=true"
k = new Listing<String> {
"флаттер" "плагин" "plugin" "connectivity" "connectivity_plus" "aurora"
}
b = """
Получить состояние подключений позволяет имплементация плагина⌫
<a href="https://pub.dev/packages/connectivity_plus">connectivity_plus</a>⌫
- ⌫
<a href="https://gitlab.com/omprussia/flutter/flutter-community-plugins/plus_plugins/-/tree/master/packages/connectivity_plus_aurora">connectivity_plus_aurora</a>.
"""
a = authors.keygenqt
ts = 1734365894
}
new {
t = "Как получить информацию об устройстве во Flutter?"
i = "https://github.com/keygenqt/aurora-dataset/blob/dump/data/23ed2376-09cd-444d-a8d9-dd98e56ec847.png?raw=true"
k = new Listing<String> {
"флаттер" "плагин" "plugin" "device_info_plus" "device info" "aurora"
}
b = """
Получить информацию об устройстве позволяет имплементация плагина⌫
<a href="https://pub.dev/packages/device_info_plus">device_info_plus</a>⌫
- ⌫
<a href="https://gitlab.com/omprussia/flutter/flutter-community-plugins/plus_plugins/-/tree/master/packages/device_info_plus_aurora">device_info_plus_aurora</a>.
"""
a = authors.keygenqt
ts = 1734365894
}
new {
t = "Как получить информацию об приложении во Flutter?"
i = "https://github.com/keygenqt/aurora-dataset/blob/dump/data/23ed2376-09cd-444d-a8d9-dd98e56ec847.png?raw=true"
k = new Listing<String> {
"флаттер" "плагин" "plugin" "info_plus" "info" "aurora"
}
b = """
Получить информацию о запущенном приложении позволяет имплементация плагина⌫
<a href="https://pub.dev/packages/package_info_plus">package_info_plus</a>⌫
- ⌫
<a href="https://gitlab.com/omprussia/flutter/flutter-community-plugins/plus_plugins/-/tree/master/packages/package_info_plus_aurora">package_info_plus_aurora</a>.
"""
a = authors.keygenqt
ts = 1734365894
}
new {
t = "Как получить данные датчиков во Flutter?"
i = "https://github.com/keygenqt/aurora-dataset/blob/dump/data/23ed2376-09cd-444d-a8d9-dd98e56ec847.png?raw=true"
k = new Listing<String> {
"флаттер" "плагин" "plugin" "sensors_plus" "sensors" "aurora"
}
b = """
Состояние датчиков позволяет получить имплементация плагина⌫
<a href="https://pub.dev/packages/sensors_plus">sensors_plus</a>⌫
- ⌫
<a href="https://gitlab.com/omprussia/flutter/flutter-community-plugins/plus_plugins/-/tree/master/packages/sensors_plus_aurora">sensors_plus_aurora</a>.
"""
a = authors.keygenqt
ts = 1734365894
}
new {
t = "Как расшарить файл во Flutter?"
i = "https://github.com/keygenqt/aurora-dataset/blob/dump/data/23ed2376-09cd-444d-a8d9-dd98e56ec847.png?raw=true"
k = new Listing<String> {
"флаттер" "плагин" "plugin" "share_plus" "share" "aurora"
}
b = """
Обмениваться данными позволяет имплементация плагина⌫
<a href="https://pub.dev/packages/share_plus">share_plus</a>⌫
- ⌫
<a href="https://gitlab.com/omprussia/flutter/flutter-community-plugins/plus_plugins/-/tree/master/packages/share_plus_aurora">share_plus_aurora</a>.
"""
a = authors.keygenqt
ts = 1734365894
}
new {
t = "Как воспроизвести аудио-файл во Flutter?"
i = "https://github.com/keygenqt/aurora-dataset/blob/dump/data/23ed2376-09cd-444d-a8d9-dd98e56ec847.png?raw=true"
k = new Listing<String> {
"флаттер" "плагин" "plugin" "audioplayers" "audio player" "aurora"
}
b = """
Проиграть аудио-файл позволяет имплементация плагина⌫
<a href="https://pub.dev/packages/audioplayers">audioplayers</a>⌫
- ⌫
<a href="https://gitlab.com/omprussia/flutter/flutter-community-plugins/audioplayers_aurora">audioplayers_aurora</a>.
"""
a = authors.keygenqt
ts = 1734365894
}
new {
t = "Как получить состояние клавиатуры во Flutter?"
i = "https://github.com/keygenqt/aurora-dataset/blob/dump/data/23ed2376-09cd-444d-a8d9-dd98e56ec847.png?raw=true"
k = new Listing<String> {
"флаттер" "плагин" "plugin" "keyboard_visibility" "keyboard visibility" "aurora"
}
b = """
Получить статус клавиатуры и ее высоту позволяет имплементация плагина⌫
<a href="https://pub.dev/packages/flutter_keyboard_visibility">flutter_keyboard_visibility</a>⌫
- ⌫
<a href="https://gitlab.com/omprussia/flutter/flutter-community-plugins/flutter_keyboard_visibility_aurora">flutter_keyboard_visibility_aurora</a>.
"""
a = authors.keygenqt
ts = 1734365894
}
new {
t = "Как отправить системное уведомление во Flutter?"
i = "https://github.com/keygenqt/aurora-dataset/blob/dump/data/23ed2376-09cd-444d-a8d9-dd98e56ec847.png?raw=true"
k = new Listing<String> {
"флаттер" "плагин" "plugin" "flutter_local_notifications" "notifications" "aurora"
}
b = """
Отправить системное уведомление позволяет имплементация плагина⌫
<a href="https://pub.dev/packages/flutter_local_notifications">flutter_local_notifications</a>⌫
- ⌫
<a href="https://gitlab.com/omprussia/flutter/flutter-community-plugins/flutter_local_notifications_aurora">flutter_local_notifications_aurora</a>.
"""
a = authors.keygenqt
ts = 1734365894
}
new {
t = "Как сохранить данные во Flutter?"
i = "https://github.com/keygenqt/aurora-dataset/blob/dump/data/23ed2376-09cd-444d-a8d9-dd98e56ec847.png?raw=true"
k = new Listing<String> {
"флаттер" "плагин" "plugin" "sqflite" "objectbox" "shared preferences" "secure" "aurora"
}
b = """
Зависит от количества данных и надежности их хранения. Для этого можно воспользоваться имплементациями плагинов:
1. <a href="https://pub.dev/packages/sqflite">sqflite</a> -⌫
<a href="https://gitlab.com/omprussia/flutter/flutter-community-plugins/sqflite_aurora">sqflite_aurora</a>.
2. <a href="https://pub.dev/packages/objectbox_flutter_libs">objectbox_flutter_libs</a> -⌫
<a href="https://gitlab.com/omprussia/flutter/flutter-community-plugins/objectbox_flutter_libs_aurora">objectbox_flutter_libs_aurora</a>.
3. <a href="https://pub.dev/packages/shared_preferences">shared_preferences</a> -⌫
<a href="https://gitlab.com/omprussia/flutter/packages/-/tree/main/packages/shared_preferences_aurora">shared_preferences_aurora</a>.
4. <a href="https://pub.dev/packages/flutter_secure_storage">flutter_secure_storage</a> -⌫
<a href="https://gitlab.com/omprussia/flutter/flutter-community-plugins/flutter_secure_storage_aurora">flutter_secure_storage_aurora</a>.
"""
a = authors.keygenqt
ts = 1734365894
}
new {
t = "Как получить данные с Qr кода во Flutter?"
i = "https://github.com/keygenqt/aurora-dataset/blob/dump/data/23ed2376-09cd-444d-a8d9-dd98e56ec847.png?raw=true"
k = new Listing<String> {
"флаттер" "плагин" "plugin" "qr_code_scanner" "qr code" "aurora"
}
b = """
Отсканировать QR код позволяет имплементация плагина⌫
<a href="https://pub.dev/packages/qr_code_scanner">qr_code_scanner</a>⌫
- ⌫
<a href="https://gitlab.com/omprussia/flutter/flutter-community-plugins/qr_code_scanner_aurora">qr_code_scanner_aurora</a>.⌫
А так же имплементация плагина⌫
<a href="https://pub.dev/packages/camera">camera</a>⌫
- ⌫
<a href="https://gitlab.com/omprussia/flutter/packages/-/tree/main/packages/camera_aurora">camera_aurora</a>.
"""
a = authors.keygenqt
ts = 1734365894
}
new {
t = "Как не дать заснуть устройству во Flutter?"
i = "https://github.com/keygenqt/aurora-dataset/blob/dump/data/23ed2376-09cd-444d-a8d9-dd98e56ec847.png?raw=true"
k = new Listing<String> {
"флаттер" "плагин" "plugin" "wakelock_plus" "wakelock" "aurora"
}
b = """
Отключить sleep mode позволяет имплементация плагина⌫
<a href="https://pub.dev/packages/wakelock_plus">wakelock_plus</a>⌫
- ⌫
<a href="https://gitlab.com/omprussia/flutter/flutter-community-plugins/wakelock_plus">wakelock_plus_aurora</a>.
"""
a = authors.keygenqt
ts = 1734365894
}
new {
t = "Как получить путь к файлу во Flutter?"
i = "https://github.com/keygenqt/aurora-dataset/blob/dump/data/23ed2376-09cd-444d-a8d9-dd98e56ec847.png?raw=true"
k = new Listing<String> {
"флаттер" "плагин" "plugin" "path_provider" "path provider" "aurora"
}
b = """
Получить системные пути и пути приложения позволяет имплементация плагина⌫
<a href="https://pub.dev/packages/path_provider">path_provider</a>⌫
- ⌫
<a href="https://gitlab.com/omprussia/flutter/packages/-/tree/main/packages/path_provider_aurora">path_provider_aurora</a>.
"""
a = authors.keygenqt
ts = 1734365894
}
new {
t = "Как открыть ссылку во Flutter?"
i = "https://github.com/keygenqt/aurora-dataset/blob/dump/data/23ed2376-09cd-444d-a8d9-dd98e56ec847.png?raw=true"
k = new Listing<String> {
"флаттер" "плагин" "plugin" "url_launcher" "url launcher" "aurora"
}
b = """
Открыть ссылку, email, телефон позволяет имплементация плагина⌫
<a href="https://pub.dev/packages/url_launcher">url_launcher</a>⌫
- ⌫
<a href="https://gitlab.com/omprussia/flutter/packages/-/tree/main/packages/url_launcher_aurora">url_launcher_aurora</a>.
"""
a = authors.keygenqt
ts = 1734365894
}
new {
t = "Как воспроизвести видео-файл во Flutter?"
i = "https://github.com/keygenqt/aurora-dataset/blob/dump/data/23ed2376-09cd-444d-a8d9-dd98e56ec847.png?raw=true"
k = new Listing<String> {
"флаттер" "плагин" "plugin" "video_player" "video player" "aurora"
}
b = """
Воспроизводить видео файлы позволяет имплементация плагина⌫
<a href="https://pub.dev/packages/video_player">video_player</a>⌫
- ⌫
<a href="https://gitlab.com/omprussia/flutter/packages/-/tree/main/packages/video_player_aurora">video_player_aurora</a>.
"""
a = authors.keygenqt
ts = 1734365894
}
new {
t = "Как подключить камеру во Flutter?"
i = "https://github.com/keygenqt/aurora-dataset/blob/dump/data/23ed2376-09cd-444d-a8d9-dd98e56ec847.png?raw=true"
k = new Listing<String> {
"флаттер" "плагин" "plugin" "camera" "aurora"
}
b = """
Использовать камеру в приложениях Flutter позволяет имплементация плагина⌫
<a href="https://pub.dev/packages/camera">camera</a>⌫
- ⌫
<a href="https://gitlab.com/omprussia/flutter/packages/-/tree/main/packages/camera_aurora">camera_aurora</a>.
"""
a = authors.keygenqt
ts = 1734365894
}
}
8 changes: 5 additions & 3 deletions collection/pub/en/dataset.pkl
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ dataset = new Listing<PublicationTemplate> {
new {
t = "Have you heard of such abbreviations: CLI, API, ABI?"
b = """
*CLI* (command-line interface) - an interface for interacting with a computer program by entering lines of text, called command lines.
*API* (application programming interface) - an application programming interface, a type of software interface that offers services to other programs.
*ABI* (application binary interface) - an application binary interface, an interface between two binary program modules.
<b>CLI</b> (command-line interface) - an interface for interacting with a computer program by entering lines of text, called command lines.
<b>API</b> (application programming interface) - an application programming interface, a type of software interface that offers services to other programs.
<b>ABI</b> (application binary interface) - an application binary interface, an interface between two binary program modules.⌫
Often, one of these modules is a library or an operating system tool, and the other is a program launched by the user.
"""
a = authors.keygenqt
Expand Down
8 changes: 5 additions & 3 deletions collection/pub/ru/dataset.pkl
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ dataset = new Listing<PublicationTemplate> {
new {
t = "Слышали про такие аббревиатуры: CLI, API, ABI?"
b = """
*CLI* (command-line interface) - интерфейс взаимодействия с компьютерной программой путем ввода строк текста, называемых командными строками.
*API* (application programming interface) - интерфейс прикладного программирования, тип программного интерфейса, предлагающий услуги другим программам.
*ABI* (application binary interface) - бинарный интерфейс приложений, интерфейс между двумя двоичными программными модулями.
<b>CLI</b> (command-line interface) - интерфейс взаимодействия с компьютерной программой путем ввода строк текста, называемых командными строками.
<b>API</b> (application programming interface) - интерфейс прикладного программирования, тип программного интерфейса, предлагающий услуги другим программам.
<b>ABI</b> (application binary interface) - бинарный интерфейс приложений, интерфейс между двумя двоичными программными модулями.⌫
Часто один из этих модулей представляет собой библиотеку или средство операционной системы, а другой — программу, запускаемую пользователем.
"""
a = authors.keygenqt
Expand Down
Loading

0 comments on commit eed572b

Please sign in to comment.