Skip to content

Instantly share code, notes, and snippets.

View zotko's full-sized avatar
:octocat:
Building cool things

Mykola Zotko zotko

:octocat:
Building cool things
View GitHub Profile
@zotko
zotko / vim-conform-biome-config.lua
Last active September 27, 2025 17:02
Neovim conform.nvim configuration using Biome formatter for JS, TS, CSS, HTML and Stylua for Lua
local options = {
formatters_by_ft = {
lua = { "stylua" },
css = { "biome" },
html = { "biome" },
javascript = { "biome" },
typescript = { "biome" },
json = { "biome" },
graphql = { "biome" },
},
@zotko
zotko / bron_kerbosh.py
Last active December 25, 2024 10:04
Implementation of the Bron-Kerbosch Algorithm from Wikipedia https://en.wikipedia.org/wiki/Bron–Kerbosch_algorithm
### Without pivoting ###
adj_matrix = [
[0, 1, 0, 0, 1, 0],
[1, 0, 1, 0, 1, 0],
[0, 1, 0, 1, 0, 0],
[0, 0, 1, 0, 1, 1],
[1, 1, 0, 1, 0, 0],
[0, 0, 0, 1, 0, 0]]