Skip to content

Instantly share code, notes, and snippets.

View Pugemon's full-sized avatar
😇
Resurrected

Vyacheslav Ivanov Pugemon

😇
Resurrected
  • Russia
  • 07:25 (UTC +03:00)
View GitHub Profile
@Pugemon
Pugemon / patch_20_disable_dxvk_logs.bat
Created August 11, 2026 19:48
Disable DXVK d3d9.dll logging and file creation
:: Disable DXVK logging and file creation
binary_pattern_replace.exe d3d9.dll "53 83 EC 50 8D 44 24 08" "B8 05 00 00 00 C3 90 90"
@Pugemon
Pugemon / small_vec.hpp
Created July 14, 2026 01:58
Modern C++20 allocator-aware SmallVec with Small Buffer Optimization (SBO), trivial relocation, and strict exception safety.
#pragma once
#include <algorithm>
#include <compare>
#include <cstddef>
#include <cstring>
#include <initializer_list>
#include <iostream>
#include <iterator>
#include <memory>
@Pugemon
Pugemon / Примитивная инструкция PostgreSQL + 1C на Ubuntu 20.04.md
Created January 26, 2026 19:50
Самая примитивная инструкция по установке PostgreSQL 14 + сервер 1C 8.3.20.1710 на Ubuntu 20.04

Самая примитивная инструкция по установке PostgreSQL + сервер 1C на Ubuntu 20.04

Инструкция с минимальным набором шагов по настройке сервера 1С:Предприятия 8.3.20 + PostgreSQL 14 на Ubuntu 20.04. В общем плане актуальна для других версий приложений и ОС. Клиентскую часть 1С здесь не рассматриваем.

Многие вещи в инструкции не раскрыты и вся информация скорее для ознакомления с процессом, а для рабочего окружения нужно более вдумчиво подходить ко всем настройкам.

Настройка ОС

@Pugemon
Pugemon / lotus_58_rgb_matrix.json
Created January 25, 2025 03:11
Lotus 58 QMK RGB matrix data-driven config based on the location of the LEDs on the PCB
"rgb_matrix": {
"driver": "ws2812",
"split_count": [29, 29],
"sleep": true,
"layout": [
{"flags": 4, "matrix": [0, 5], "x": 83, "y": 3},
{"flags": 4, "matrix": [0, 4], "x": 66, "y": 1},
{"flags": 4, "matrix": [0, 3], "x": 50, "y": 0},
{"flags": 4, "matrix": [0, 2], "x": 33, "y": 1},
{"flags": 4, "matrix": [0, 1], "x": 16, "y": 5},