Skip to content

Instantly share code, notes, and snippets.

View zoomlogo's full-sized avatar
🍪
cookie

zoomlogo

🍪
cookie
  • 12th grade
  • 12d universe
View GitHub Profile
@gitonthescene
gitonthescene / apl-forks.org
Last active May 28, 2022 07:15
Basic introduction to using forks in Dyalog APL

Forks: Spoon fed

This just a short article explaining how forks work in Dyalog APL. Some basic knowledge of APL is assumed but not much more than can be attained by browsing an introduction to the language.

I should say that this will be opinionated. It’s not meant to declare what is but rather my take on what is. Feel free to read “as I see it” before every sentence. Further, this is meant for beginners. It attempts to present a framework for thinking about this tool and not as a historical reference on the development of it. It’s similar to learning a Chinese character and thinking “that looks like a mouse!” Even if that’s not the origin of the character, if it helps you remember it then it’s worth latching onto.

@zoomlogo
zoomlogo / .vimrc
Last active October 10, 2022 13:04
very smol vim config
"plugins: vim-polygot cemant.vim vim-visual-multi vim-easy-align
" vim-abolish golden-ratio vim-surround vim-commentary vim-terminal-help
se nocp nohls nowrap et ts=4 sw=4 nobk ru is nu rnu ls=2 tgc noswf nowb so=1
se stal=2 list lcs=tab:→\ ,space:· bg=dark gfn=sevka,agave_NF_r:h13
se bs=2 sc wmnu shm=asWIcq ttimeout ttm=100 top rtp+=~/ngn_k/vim-k enc=utf-8
au bufreadpost * sil! norm! g`"zv
au bufnew,bufnewfile,bufread *.k :se ft=k
au vimleave * se gcr=a:ver25
au filetype python nn <cr> :w<cr>:!python %<cr>
au filetype k nn <cr> :w<cr>:!k %<cr>

Let Ǎ, Ǐ, Ǒ be triads +, ÷, × be dyads A, I, O be monads 1, 2, 3 be nilads

Monadic Chaining

Pattern : curr =
@zoomlogo
zoomlogo / init.lua
Last active March 21, 2022 13:14
my neovim lua config
-- vim settings
vim.cmd([[
set guifont=Iosevka\ Kalki,agave\ NF\ r:h13
]])
vim.o.expandtab = true
vim.o.tabstop = 4
vim.o.shiftwidth = 4
vim.o.number = true
@abrudz
abrudz / Nord for 18.0 Unicode 64.reg
Created August 19, 2021 12:06
Nord Theme for 64-bit Unicode edition of Dyalog APL 18.0 on Windows
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Dyalog\Dyalog APL/W-64 18.0 Unicode\Colours\Schemes\Nord]
"Data"=hex:4b,00,00,00,80,00,00,00,00,81,20,ec,ef,f4,81,40,bf,61,6a,84,20,8f,\
bc,bb,84,40,2e,34,40,83,20,8f,bc,bb,83,40,2e,34,40,8c,20,d8,de,e9,8c,40,2e,\
34,40,8d,20,eb,cb,8b,8d,40,2e,34,40,85,20,81,a1,c1,85,40,2e,34,40,86,20,d8,\
de,e9,86,40,2e,34,40,87,20,eb,cb,8b,87,40,2e,34,40,88,20,b4,8e,ad,88,40,2e,\
34,40,8b,20,a3,be,8c,8b,40,2e,34,40,89,20,61,6e,88,89,40,2e,34,40,8a,20,81,\
a1,c1,8a,40,2e,34,40,82,20,4c,56,6a,82,40,2e,34,40,8e,20,d8,de,e9,8e,40,2e,\
34,40,8f,20,00,c0,00,8f,40,2e,34,40,90,20,00,c0,00,90,40,2e,34,40,91,20,eb,\
@zoomlogo
zoomlogo / private-build-plans.toml
Last active February 24, 2022 12:49
My custom Iosevka build.
[buildPlans.iosevka-kalki]
family = "Iosevka Kalki"
spacing = "term"
serifs = "sans"
no-cv-ss = true
no-ligation = true
[buildPlans.iosevka-kalki.variants.design]
apl-form = 'enable'
capital-q = "straight"
@ld100
ld100 / ArchLinuxWSL2.md
Last active March 24, 2025 13:09
Steps for setting up Arch Linux on WSL2

Migrating from Ubuntu on WSL to ArchLinux on WSL2

Obsolete notice

This document was created back in 2020 and might not be actual nowadays. It is not supported anymore, so use thise information at your own risk.

Upgrading to WSL 2

  • Download WSL2 Kernel
  • run wsl --set-default-version 2 in windows command line, so that all future WSL machine will use WSL2.
@chrispsn
chrispsn / k_tech_tree.md
Last active March 26, 2024 01:00
k tech tree

k tech tree

Thought experiment:

Which k primitives can be implemented as k-strings, reasonably efficiently, with a handful of 'native' built-ins?

Not verified to be in dependency order yet... may depend on the choice of 'fundamental' primitives. Need to do speed tests too.

k9 syntax (download via Shakti). Got a better way to write one? Feel free to comment, you'll be credited!

@evilcel3ri
evilcel3ri / init.vim
Last active December 1, 2021 15:15
nvim configuration
let mapleader=","
call plug#begin()
set rtp+=~/.fzf
" colorschemes
Plug 'ayu-theme/ayu-vim'
" syntax helpers
Plug 'jparise/vim-graphql'
@fnky
fnky / ANSI.md
Last active May 5, 2025 16:20
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27