Skip to content

Instantly share code, notes, and snippets.

View sergev's full-sized avatar

Serge Vakulenko sergev

View GitHub Profile
@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
@sergev
sergev / hello.lst
Created March 5, 2025 00:01
hello.pascal compiled with besmc
04 MAP 25 16.00
ЙOKCEЛ БЭCM-6/5 ШИФP-12
MOHИTOPHAЯ CИCTEMA ′Д Y Б H A′ - 20/10/88
@sergev
sergev / retrobsd-startup-syscalls.log
Created February 9, 2025 23:44
Log of syscalls at RetroBSD startup
Syscall Return
------------------------------------------------------------------------------------
execv(7f008040 "/sbin/init", 7f008058) (no return)
gettimeofday(7f01ff30, 00000000) return 0
getuid() return 0
getpid() return 1
sigaction(12, 7f01ff2c, 7f01ff20) return 0
sigaction(15, 7f01040c, 00000000) return 0
sigaction(18, 7f01ff2c, 7f01ff20) return 0
sigaction(17, 7f01ff2c, 7f01ff20) return -1 = 0xffffffff
@sergev
sergev / man_or_boy.trace
Created August 23, 2024 07:39
Trace of Man-or-boy test on Algol X1
This file has been truncated, but you can view the full file.
Memory Write [23500] = 00 00 00140
Memory Write [23501] = 52 20 23600
Memory Write [23502] = 42 20 00001
Memory Write [23503] = 00 00 00131
Memory Write [23504] = 12 20 00241
Memory Write [23505] = 00 00 00020
Memory Write [23506] = 12 20 00241
Memory Write [23507] = 00 00 00043
Memory Write [23510] = 00 00 00125
Memory Write [23511] = 52 20 23556
@sergev
sergev / man-or-boy.trace
Created August 20, 2024 06:45
Trace of man-or-boy test
A called, k = 10
B called, k = 10
k := 9
A called, k = 9
B called, k = 9
k := 8
A called, k = 8
B called, k = 8
k := 7
A called, k = 7