This commit is contained in:
Alexander Popov 2022-06-09 02:49:25 +03:00
commit 70399f3e18
Signed by: iiiypuk
GPG Key ID: 3F76816AEE08F908
8 changed files with 209 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
public/
.hugo_build.lock

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "blog/themes/papermod"]
path = themes/papermod
url = https://github.com/adityatelange/hugo-PaperMod

7
archetypes/default.md Normal file
View File

@ -0,0 +1,7 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
tags: []
---

148
config.toml Normal file
View File

@ -0,0 +1,148 @@
baseURL = 'https://me.a2s.su/blog/'
languageCode = 'ru'
title = 'Alexander Popov'
theme = 'papermod'
enableRobotsTXT = false
buildDrafts = false
buildFuture = false
buildExpired = false
googleAnalytics = 'UA-123-45'
[minify]
disableXML = true
minifyOutput = true
[params]
env = 'production'
title = 'Блог Сашки Попова'
description = 'Блог Сашки Попова'
keywords = ['Blog', 'iiiypuk']
author = 'Alexander Popov'
images = [ '<link or path of image for opengraph, twitter-cards>' ]
DateFormat = 'January 2, 2006'
defaultTheme = 'auto'
disableThemeToggle = false
ShowReadingTime = true
ShowShareButtons = false
ShowPostNavLinks = true
ShowBreadCrumbs = true
ShowCodeCopyButtons = true
ShowWordCount = false
ShowRssButtonInSectionTermList = false
UseHugoToc = false
disableSpecial1stPost = false
disableScrollToTop = false
comments = false
hidemeta = false
hideSummary = false
showtoc = false
tocopen = false
[params.assets]
favicon = '<link / abs url>'
favicon16x16 = '<link / abs url>'
favicon32x32 = '<link / abs url>'
apple_touch_icon = '<link / abs url>'
safari_pinned_tab = '<link / abs url>'
[params.label]
text = 'На главную'
icon = ''
iconHeight = 35
[params.profileMode]
enabled = true
title = "Привет, я Сашка Попов"
subtitle = '(phc forever)'
imageUrl = '<img location>'
imageWidth = 120
imageHeight = 120
imageTitle = 'Avatar'
[[params.profileMode.buttons]]
name = 'Блог'
url = 'posts'
[[params.profileMode.buttons]]
name = 'Теги'
url = 'tags'
[[params.profileMode.buttons]]
name = 'Портфолио'
url = 'https://me.a2s.su'
[params.homeInfoParams]
Title = 'Hi there 👋'
Content = 'Welcome to my blog'
[[params.socialIcons]]
name = 'kofi'
url = 'https://ko-fi.com/iiiypuk'
[[params.socialIcons]]
name = 'email'
url = 'mailto:iiiypuk@fastmail.fm'
[[params.socialIcons]]
name = 'twitter'
url = 'https://twitter.com/_iiiypuk'
[[params.socialIcons]]
name = 'gitea'
url = 'https://git.a2s.su'
[[params.socialIcons]]
name = 'lastfm'
url = 'https://www.last.fm/user/Alex_Popov'
[[params.socialIcons]]
name = 'steam'
url = 'https://steamcommunity.com/id/_iiiypuk'
[params.analytics.google]
SiteVerificationTag = ''
[params.analytics.bing]
SiteVerificationTag = ''
[params.analytics.yandex]
SiteVerificationTag = ''
[params.cover]
hidden = true
hiddenInList = true
hiddenInSingle = true
[params.editPost]
URL = 'https://git.a2s.su.com/iiiypuk/Blog/content'
Text = 'Предложить исправление'
appendFilePath = true
[params.fuseOpts]
isCaseSensitive = false
shouldSort = true
location = 0
distance = 1_000
threshold = 0.4
minMatchCharLength = 0
keys = [ 'title', 'permalink', 'summary', 'content' ]
[[menu.main]]
identifier = 'posts'
name = 'блог'
url = '/posts/'
weight = 10
[[menu.main]]
identifier = 'tags'
name = 'теги'
url = '/tags/'
weight = 20
[[menu.main]]
identifier = 'example'
name = 'example.org'
url = 'https://example.org'
weight = 30

View File

@ -0,0 +1,20 @@
---
title: "Использование софтверного драйвера OpenGL"
date: 2022-06-09T02:28:20+03:00
draft: false
tags: [opengl, linux, games]
---
Переменная окружения `LIBGL_ALWAYS_SOFTWARE=1` позволяет задействовать софтварный драйвер OpenGL.
С этим параметром даже Minecraft 1.18.2 на мамонте запускатся.
```
lspci | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
glxinfo | grep "OpenGL version"
OpenGL version string: 2.1 Mesa 22.1.
```
Спасибо **devl547**.
[Линк](https://www.linux.org.ru/forum/linux-hardware/16870862?cid=16873411) с ЛОРа.

16
content/posts/takje.md Normal file
View File

@ -0,0 +1,16 @@
---
title: "Так же != также"
date: 2022-06-09T02:32:57+03:00
draft: false
tags: [grammar, language]
---
Так же = таким же образом.
Также = тоже (ещё).
Эти слова не являются аналогом и не взаимозаменяемы.
by ValdikSS.
[Линк](https://www.linux.org.ru/forum/talks/16862138?cid=16863196) с ЛОРа.

12
content/posts/xojo.md Normal file
View File

@ -0,0 +1,12 @@
---
title: "Xojo"
date: 2022-06-09T02:37:53+03:00
draft: false
tags: [development, ide]
---
[Xojo](https://xojo.com/) - фреймворк для разработки кроссплатформенных нативных приложений.
Посмотреть [видик](https://xojo.com/assets/img/xojoinaction.mp4).
[Платный](https://xojo.com/store/)!

1
themes/papermod Submodule

@ -0,0 +1 @@
Subproject commit c69269575464ba6f029d9bb51e1f984045c22d5c