From 70399f3e1864c8e494a24950dfa94544584edc65 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Thu, 9 Jun 2022 02:49:25 +0300 Subject: [PATCH] init --- .gitignore | 2 + .gitmodules | 3 + archetypes/default.md | 7 ++ config.toml | 148 ++++++++++++++++++++++++ content/posts/opengl_always_software.md | 20 ++++ content/posts/takje.md | 16 +++ content/posts/xojo.md | 12 ++ themes/papermod | 1 + 8 files changed, 209 insertions(+) create mode 100644 .gitignore create mode 100644 .gitmodules create mode 100644 archetypes/default.md create mode 100644 config.toml create mode 100644 content/posts/opengl_always_software.md create mode 100644 content/posts/takje.md create mode 100644 content/posts/xojo.md create mode 160000 themes/papermod diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8dd6d56 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +public/ +.hugo_build.lock diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..e5d8e42 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "blog/themes/papermod"] + path = themes/papermod + url = https://github.com/adityatelange/hugo-PaperMod diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..810399e --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,7 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +tags: [] +--- + diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..47bb8fd --- /dev/null +++ b/config.toml @@ -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 = [ '' ] +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 = '' + favicon16x16 = '' + favicon32x32 = '' + apple_touch_icon = '' + safari_pinned_tab = '' + + [params.label] + text = 'На главную' + icon = '' + iconHeight = 35 + + [params.profileMode] + enabled = true + title = "Привет, я Сашка Попов" + subtitle = '(phc forever)' + imageUrl = '' + 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 diff --git a/content/posts/opengl_always_software.md b/content/posts/opengl_always_software.md new file mode 100644 index 0000000..288dc69 --- /dev/null +++ b/content/posts/opengl_always_software.md @@ -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) с ЛОРа. diff --git a/content/posts/takje.md b/content/posts/takje.md new file mode 100644 index 0000000..32f1980 --- /dev/null +++ b/content/posts/takje.md @@ -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) с ЛОРа. diff --git a/content/posts/xojo.md b/content/posts/xojo.md new file mode 100644 index 0000000..3c3b04e --- /dev/null +++ b/content/posts/xojo.md @@ -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/)! diff --git a/themes/papermod b/themes/papermod new file mode 160000 index 0000000..c692695 --- /dev/null +++ b/themes/papermod @@ -0,0 +1 @@ +Subproject commit c69269575464ba6f029d9bb51e1f984045c22d5c