aboutsummaryrefslogtreecommitdiff
path: root/src/content
diff options
context:
space:
mode:
Diffstat (limited to 'src/content')
-rw-r--r--src/content/blog/create-lib-file-from-dll.md10
-rw-r--r--src/content/blog/electron-reload.md7
-rw-r--r--src/content/blog/example-content.md5
-rw-r--r--src/content/blog/getting-source-code-of-chromium.md7
-rw-r--r--src/content/blog/installing-moodle-to-fedora.md7
-rw-r--r--src/content/blog/rust-and-tl-mr3020.md7
-rw-r--r--src/content/config.ts6
7 files changed, 29 insertions, 20 deletions
diff --git a/src/content/blog/create-lib-file-from-dll.md b/src/content/blog/create-lib-file-from-dll.md
index 54b61e2..edece47 100644
--- a/src/content/blog/create-lib-file-from-dll.md
+++ b/src/content/blog/create-lib-file-from-dll.md
@@ -1,8 +1,10 @@
---
-title: 'Create ".lib" file from ".dll" (archive)'
-author: "Adrian Henke"
-pubDate: "2023-05-04"
-description: "Learn how to generate a *.lib file from a *.dll with this comprehensive guide. Using the Visual Studio Command Prompt and Microsoft's recommended tools, this article walks you through the steps for a seamless process. Perfect for developers working with 3rd party win dll's."
+basedOn: "https://adrianhenke.wordpress.com/2008/12/05/create-lib-file-from-dll/"
+title: "Create .lib file from .dll (archive)"
+description: "Quick guide to create a .lib from a .dll on Windows: list exports with dumpbin, make a .def file, then generate the import library with lib."
+datePublished: "2023-05-04"
+dateModified: "2023-05-04"
+lang: "en"
---
> This's a copy of a non-my post. The original article [is here](https://adrianhenke.wordpress.com/2008/12/05/create-lib-file-from-dll/) ([archive](https://web.archive.org/web/20161118122539/https://adrianhenke.wordpress.com/2008/12/05/create-lib-file-from-dll/)).
diff --git a/src/content/blog/electron-reload.md b/src/content/blog/electron-reload.md
index a07d274..a9376ac 100644
--- a/src/content/blog/electron-reload.md
+++ b/src/content/blog/electron-reload.md
@@ -1,8 +1,9 @@
---
title: "Горячая перезагрузка ElectronJS приложения"
-author: "Valentin Popov"
-pubDate: "2019-08-15"
-description: "Руководство по автоматической перезагрузке приложений на Electron с помощью пакетов electron-reload и electron-webpack. Обход проблем с совместимостью и использование HMR для renderer процесса."
+description: "Горячая перезагрузка ElectronJS: перезапуск main через nodemon и автообновление renderer с HMR/chokidar. Пошагово, без electron-reload и с Webpack."
+datePublished: "2019-08-15"
+dateModified: "2019-08-15"
+lang: "ru"
---
## Main процесс
diff --git a/src/content/blog/example-content.md b/src/content/blog/example-content.md
index 662b2b3..28ce23a 100644
--- a/src/content/blog/example-content.md
+++ b/src/content/blog/example-content.md
@@ -1,8 +1,9 @@
---
title: "Example Content"
-author: "Example User"
-pubDate: "2018-01-01"
description: "Howdy! This is an example blog post that shows several types of HTML content supported in this theme."
+datePublished: "2018-01-01"
+dateModified: "2018-01-01"
+lang: "en"
draft: true
---
diff --git a/src/content/blog/getting-source-code-of-chromium.md b/src/content/blog/getting-source-code-of-chromium.md
index 161a40f..5bc5345 100644
--- a/src/content/blog/getting-source-code-of-chromium.md
+++ b/src/content/blog/getting-source-code-of-chromium.md
@@ -1,8 +1,9 @@
---
title: 'Получение исходного кода "Chromium Projects"'
-author: "Valentin Popov"
-pubDate: "2012-01-30"
-description: "Изучение исходных кодов Chromium: подготовка системы и установка необходимых программных компонентов. Руководство для начинающих разработчиков. Получите инструкции по установке Microsoft Visual Studio, Cygwin, Python и других инструментов. Действительно на январь-февраль 2012 года."
+description: "Как получить и подготовить исходники Chromium на Windows: Visual Studio, Cygwin, depot_tools, команды gclient. Краткая пошаговая инструкция."
+datePublished: "2012-01-30"
+dateModified: "2012-01-30"
+lang: "ru"
---
> Перенос [оригинальной статьи](https://adeptus-mechanicus.blogspot.com/2012/01/chromium-projects.html) 2012 года из моего [старого блога](https://adeptus-mechanicus.blogspot.com/) ([зеркало](https://web.archive.org/web/20160217052148/http://adeptus-mechanicus.blogspot.com/)).
diff --git a/src/content/blog/installing-moodle-to-fedora.md b/src/content/blog/installing-moodle-to-fedora.md
index 12e2e4e..a331dec 100644
--- a/src/content/blog/installing-moodle-to-fedora.md
+++ b/src/content/blog/installing-moodle-to-fedora.md
@@ -1,8 +1,9 @@
---
title: "Установка Moodle в Fedora"
-author: "Valentin Popov"
-pubDate: "2018-07-23"
-description: "Решение проблем установки Moodle из-за SELinux: как настроить правила доступа для устранения ошибок в веб-интерфейсе и при работе с cURL. Практические советы и команды."
+description: "Установка Moodle в Fedora: как исправить зависание инсталлятора и cURL error из-за SELinux. Правильные setsebool и chcon для доступа к сети и каталогам."
+datePublished: "2018-07-23"
+dateModified: "2018-07-23"
+lang: "ru"
---
Во время установки Moodle, сталкиваешься со следующими проблемами:
diff --git a/src/content/blog/rust-and-tl-mr3020.md b/src/content/blog/rust-and-tl-mr3020.md
index 2e23f3b..5734b7a 100644
--- a/src/content/blog/rust-and-tl-mr3020.md
+++ b/src/content/blog/rust-and-tl-mr3020.md
@@ -1,8 +1,9 @@
---
title: "Компиляция Rust на TL-MR3020"
-author: "Valentin Popov"
-pubDate: "2023-05-01"
-description: 'Как настроить и оптимизировать проект Rust для кросс-компиляции на TP-Link TL-MR3020 с использованием Fedora Linux 38 и OpenWrt 22.03.4. Шаг за шагом от базового "Hello, World!" до асинхронного TCP сервера.'
+description: "Кросс-компиляция Rust для OpenWrt на TL-MR3020 (MIPS): rustup, cross-rs, Docker/Podman, UPX, пример TCP-сервера и сжатие бинарника."
+datePublished: "2023-05-01"
+dateModified: "2023-05-01"
+lang: "ru"
---
Информация в статье актуальна для дистрибутива [Fedora Linux 38](https://docs.fedoraproject.org/en-US/releases/f38/), прошивки [OpenWrt 22.03.4](https://openwrt.org/releases/22.03/notes-22.03.4) и устройства [TP-Link TL-MR3020](https://www.tp-link.com/en/home-networking/3g-4g-router/tl-mr3020/) ревизии v3.20.
diff --git a/src/content/config.ts b/src/content/config.ts
index 245f20e..4277edc 100644
--- a/src/content/config.ts
+++ b/src/content/config.ts
@@ -3,10 +3,12 @@ import { defineCollection, z } from "astro:content";
const blog = defineCollection({
type: "content",
schema: z.object({
- author: z.string(),
+ basedOn: z.optional(z.string()),
+ dateModified: z.coerce.date(),
+ datePublished: z.coerce.date(),
description: z.string(),
draft: z.optional(z.boolean()),
- pubDate: z.coerce.date(),
+ lang: z.string(),
title: z.string(),
}),
});