Skip to content

Instantly share code, notes, and snippets.

@lyoshenka
lyoshenka / ngrok-selfhosting-setup.md
Last active September 28, 2025 09:54
How to setup Ngrok with a self-signed SSL cert

Intro

The plan is to create a pair of executables (ngrok and ngrokd) that are connected with a self-signed SSL cert. Since the client and server executables are paired, you won't be able to use any other ngrok to connect to this ngrokd, and vice versa.

DNS

Add two DNS records: one for the base domain and one for the wildcard domain. For example, if your base domain is domain.com, you'll need a record for that and for *.domain.com.

Different Operating Systems

@dmitry-osin
dmitry-osin / textual-tui-cheatsheet-rus.md
Created October 10, 2025 21:28
Шпаргалка по Textual TUI Framework на Русском

Шпаргалка по Textual (Textualize)

Оглавление

  1. Введение: что такое Textual
  2. Установка и быстрый старт
  3. Базовая архитектура: App, Widget, Compose, Messages
  4. Структура проекта и организация кода
  5. Базовые виджеты (Static, Button, Checkbox, Input, TextArea, Header/Footer/Log)
  6. Расширенные виджеты (Tabs, TabbedContent, DataTable, Tree, DirectoryTree, ListView, ProgressBar, LoadingIndicator, Tooltip, Markdown)
  7. Контейнеры и Layout (Horizontal/Vertical, ScrollView, ContentSwitcher, Grid, Dock)