Skip to content

Instantly share code, notes, and snippets.

@cgi
cgi / auto-1765995107037-7829.md
Created December 18, 2025 08:17
dochub_example

документ1

Пример документа

@cgi
cgi / context.yaml
Created April 18, 2025 15:11
Пример метамодели для dochub
entities:
agent:
title: Агент
description: Тот, который управляет другими обектами
objects:
agent:
route: "/"
title: Агент
schema:
type: object
require 'csv'
require 'resolv'
csv_list = CSV.read("top500.csv")
domains = []
csv_list.each_with_index do |line, idx|
if idx <= 1000 then
@cgi
cgi / .vimrc
Created November 9, 2017 14:22
Vim config for reuse
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=%HOME%/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required