Skip to content

Instantly share code, notes, and snippets.

View sergev's full-sized avatar

Serge Vakulenko sergev

View GitHub Profile
c
g*to*buf: ,name,
,bss, 1
,end,
c
g*buf: ,name,
,bss, 1
,end,
c
g*size: ,name,
c
printf: ,name,
b/ret: ,subp,
,its, 13
,call, b/save
15 ,utm, 1
6 ,utc, 1
14 ,vtm, 0
,ita, 14
7 ,atx,
@sergev
sergev / daa-das-286.txt
Created February 10, 2026 03:37
DAA and DAS outputs on 80286 processor
DAA:
AL AF CF -> AL AF CF
00 0 0 -> 00 0 0
00 0 1 -> 60 0 1
00 1 0 -> 06 1 0
00 1 1 -> 66 1 1
01 0 0 -> 01 0 0
01 0 1 -> 61 0 1
01 1 0 -> 07 1 0
01 1 1 -> 67 1 1
@sergev
sergev / daa-das-8086.txt
Created February 10, 2026 03:32
DAA and DAS outputs on 8086 processor
DAA:
AL AF CF -> AL AF CF
00 0 0 -> 00 0 0
00 0 1 -> 60 0 1
00 1 0 -> 06 1 0
00 1 1 -> 66 1 1
01 0 0 -> 01 0 0
01 0 1 -> 61 0 1
01 1 0 -> 07 1 0
01 1 1 -> 67 1 1
@sergev
sergev / puzzle15.log
Last active November 10, 2025 05:49
Playing 15 puzzle game written in Gisp
$ ./puzzle15.gisp
7 3 4
2 11 8 12
1 13 6 15
5 9 14 10
Enter a move: (down right)
down
@sergev
sergev / vakcf30.txt
Created September 16, 2025 21:07
Custom configuration for sendmail
###########
# Макросы #
###########
# Версия конфигурации sendmail. В данном случае
# Copyright (C) 1992-2007 Сергей Вакуленко, <vak@cronyx.ru>.
DVvak/3.0
V10
# Ссылки на макросы имеют вид $X. Макросы a-z используются системой,
@sergev
sergev / gist:2f27c348147bdef7c388b97da4fabfa8
Created August 22, 2025 00:00
List of all human protein records from UniProt/SwissProt
This file has been truncated, but you can view the full file.
Accession Protein Name Gene Name
A0A024R1R8 Translation machinery-associated protein 7B TMA7B
A0A024RBG1 Diphosphoinositol polyphosphate phosphohydrolase NUDT4B NUDT4B
A0A075B6H7 Probable non-functional immunoglobulin kappa variable 3-7 IGKV3-7
A0A075B6H8 Probable non-functional immunoglobulin kappa variable 1D-42 IGKV1D-42
A0A075B6H9 Immunoglobulin lambda variable 4-69 IGLV4-69
A0A075B6I0 Immunoglobulin lambda variable 8-61 IGLV8-61
A0A075B6I1 Immunoglobulin lambda variable 4-60 IGLV4-60
A0A075B6I3 Probable non-functional immunoglobulin lambda variable 11-55 IGLV11-55
A0A075B6I4 Immunoglobulin lambda variable 10-54 IGLV10-54
@sergev
sergev / v7-besm-utab.ast
Created May 9, 2025 01:01
AST dump of utab.c created by clang with -ast-dump=json option.
{
"id": "0x7f91c1059208",
"kind": "TranslationUnitDecl",
"loc": {},
"range": {
"begin": {},
"end": {}
},
"inner": [
{
@sergev
sergev / besm6-flushed-output.txt
Created April 27, 2025 00:07
Example of flushed output on BESM6 under SIMH
26.04.25 М3
М О Н И Т О Р-8 0 (3.7) 25.09.84* ( МС " Д У Б Н А " ИАЭ ) ШИФР 419999000000
21 AПP 25 00.11
ЙOKCEЛ БЭCM-6/5 ШИФP-12
MOHИTOPHAЯ CИCTEMA ′Д Y Б H A′ - 20/10/88