Skip to content

Instantly share code, notes, and snippets.

@kksudo
kksudo / vpn-instructions.md
Last active December 6, 2026 08:41
Настраиваем подключение к впн Устанавливайте только Stable версии приложений!

Настраиваем подключение к VPN

Используйте только Stable-версии приложений!

Кратко

Установите приложение для вашего устройства, импортируйте ключ (или отсканируйте QR-код) и включите подключение. Ключ или ссылку на подписку вы получаете от администратора — сами приложения лишь подключаются к серверу по этому ключу.

Для кого эта страница: шаги рассчитаны на человека без опыта настройки сетей. Непонятные слова по ходу текста поясняются.


@AmirMahdyJebreily
AmirMahdyJebreily / conventional_commit_messages.md
Last active December 6, 2026 08:40 — forked from qoomon/conventional-commits-cheatsheet.md
کامیت های مرسوم گیت | Conventional Commit Messages

کامیت های مرسوم گیت | Conventional Commit Messages

ترجمه شده از اینجا با زبان خودمونی تر که هر آدمی بفهمه

چرا باید خوب کامیت بزنیم ؟

این که شما بخواهید در یک پروژه متن باز مشارکت داشته باشید یا اینکه یک پروژه رو با دوستانتون پیش ببرید، نیازمند یک فرمت یا قانون مشخص برای کامیت زدنه! زمانی این نیاز احساس میشه که کامیت های پروژه زیاد شدن و شما نمیدونید دقیقا توی کدوم کامیت چیکار کردید. درست کامیت زدن باعث میشه تا بتونید راحت تر تغییرات رو مدیریت و در انتها یک ریپوزیتوری خوب بسازید که همه بتونن بفهمن شما دقیقا چیکار کردید و بتونن بهتر کمک کنند !
ببین چطوری میتونی با تغییر دادن مدل کامیت زدنت، بین خودت و بقیه تفاوت ایجاد کنی. نمونه ها به شخصه استفاده از این قرارداد یا انواع دیگه ای از اینجور قرارداد ها برای کامیت زدن رو پیشنهاد میکنم. چرا که نه تنها به درد کار های شخصی و تیمی کوچیک میخوره، بلکه به درد کار های بزرگ و سازمانی هم میخورن! باعث میشه از یه جایی به بعد کار ها هم سریع تر پیش برن، هم دقیق تر و هم با باز

@markasoftware
markasoftware / enterprise_token.rb
Last active December 6, 2026 08:39
OpenProject Enterprise mode for free
############ If you are using DOCKER all-in-one image, create Dockerfile like: ################
############ FROM openproject/openproject:16 ################
############ COPY ./enterprise_token.rb app/models/enterprise_token.rb ################
############ If you are runing a manual installation: ################
############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################
############ also be sure to RESTART OpenProject after replacing the file. ################
############ If using some other set up (eg docker-compose), read the comments on ################
############ https://gist.github.com/markasoftware/f5b2e55a2c2e3abb1f9eefcdf0bfff45 ################
@zgid123
zgid123 / setup-touch-id-for-ssh-key.md
Created May 19, 2026 18:40
Setup Touch ID for SSH Key

Setup Key

Create CTK Identity

sc_auth create-ctk-identity -l "alpha-ssh" -k p-256-ne -t bio

Check list CTK Identities

@Lxydw404
Lxydw404 / riscv_guide_1.md
Created December 5, 2026 10:23 — forked from robert-saramet/riscv_guide_1.md
Comprehensive Guide to 32-Bit RISC-V Assembly Programming (RV32I)

Comprehensive Guide to 32-Bit RISC-V Assembly Programming (RV32I)

This guide provides a thorough introduction to programming in 32-bit RISC-V assembly language, focusing on the RV32I base integer instruction set. It starts with content from this cheat sheet and expands it into a complete, structured reference. The guide is organized for easy navigation, with clear sections, tables for listings, explanations, examples, and notes. It draws from official specifications and tutorials to ensure accuracy and completeness. Beginners can follow sequentially, while experienced users can reference specific sections.

Key assumptions:

  • We use the GNU Assembler (GAS) syntax, common for RISC-V tools.
  • Examples assume a bare-metal or simple simulator environment (e.g., RARS, Spike, or QEMU).
  • RV32I is the base; extensions like M (multiply/divide) are noted but not required unless specified.
  • Code snippets are testable in simulators; error handling and overflows are ign
@karl-zylinski
karl-zylinski / android_setup.odin
Last active December 6, 2026 08:17
Download the Android SDK, Android NDK and JRE in a portable way so that Odin can it for building Android apps.
/* This program downloads the Android SDKs and Java Runtime Environment (JRE) in a portable way. It
will all just end up in a folder. It can then be used for building Odin Android apps. It can be used
for non-Odin things as well.
`odin run odin_android_setup.odin -file -- path/where/you/want/the/stuff`
After the install, the program will tell you which environment variables you need to set for Odin to
use the downloaded stuff.
-------
@syhily
syhily / SKILL.md
Created October 26, 2026 10:06
把扫描版中文书籍 PDF 制作成排版精良的 EPUB 3 电子书的 SKILL
name scanned-book-to-epub
description 把扫描版中文书籍 PDF 制作成排版精良的 EPUB 3 电子书并发布到 GitHub Releases 的完整工作流——书籍勘察、脚手架移植、MinerU 双模式 OCR(pipeline 底稿 + vlm 交叉比对)、并行子代理 swarm 交叉校对(Ghostscript 渲染原页裁决分歧、页底脚注逐页补回)、pandoc + Lua 过滤器构建、tag 触发 CI 发布。当用户要把某本扫描书/PDF 做成 EPUB 电子书、提到"OCR 实现 EPUB"、"孙绍振系列"、"close-reading-of-* 项目"、"审校完前不要打 tag"等时使用。已验证项目:syhily/close-reading-of-masterpieces(名作细读)、syhily/close-reading-of-classical-poetry(月迷津渡)、syhily/close-reading-of-classical-prose(古典散文解读全编,455 页 62 篇,7 代理 swarm 完成)。

扫描书 → EPUB 工作流

把一本扫描版中文书做成 EPUB 3 并发布 GitHub Release。六个阶段:勘察 → 脚手架 → OCR → swarm 交叉校对 → 全书统一与卫生检查 → 构建发布。

模板项目

@eyelash
eyelash / kde_plasma_wallpapers.md
Last active December 6, 2026 08:09
KDE Plasma Default Wallpapers

KDE Plasma Default Wallpapers

6.8

@crxssrazr93
crxssrazr93 / sunshine-headless-virtual-display-wayland-linux.md
Last active December 6, 2026 08:07
How to create a virtual dummy display for Sunshine on headless Linux Wayland (KDE Plasma/GNOME) without an HDMI/DisplayPort dummy plug. Fixes Sunshine 'Unable to find display or encoder', empty KMS monitor list, and Moonlight Error 503 using a forced connector + synthetic EDID + multi-GPU adapter_name.

How to Create a Virtual Dummy Display for Sunshine on Wayland (Headless Linux, No HDMI/DisplayPort Dongle)

A complete, tested guide to running Sunshine game streaming on a headless Linux Wayland desktop (KDE Plasma, GNOME, wlroots) without a physical HDMI or DisplayPort dummy plug. This fixes the common Sunshine startup errors on a monitorless PC by forcing a virtual display connector and feeding it a synthetic EDID, so Sunshine and Moonlight get a real capturable screen.

Keywords: Sunshine headless display, virtual display Linux, Wayland dummy plug alternative, Moonlight headless streaming, EDID override, KMS capture, KDE Plasma Wayland, multi-GPU Sunshine, AMD amdgpu, NVIDIA, Error 503.

The problem this solves

On a headless machine (no monitor attached), Sunshine has nothing to capture, so it fails at startup with errors like: