Skip to content

Instantly share code, notes, and snippets.

View tankorsmash's full-sized avatar

TankorSmash tankorsmash

View GitHub Profile
N4IgzgphAmIFwGYAMAOA7AJgDQgO4EMAnSGeARgE4A2NTHQiMAewFdCBjCeUAJQDkAgtxAA7fAFsucEPyE5oASzAAHADb4AnvAAuhFhBwTWI7fAAsGAKw5x+AB7mr8hQDMX5JBQB0l7CGgQqtr48Ej0+NpSZDjshBGMoTFMJvgKIhDEoQC+OAAigsJikvAg+XL+SmqaOnoGIEYsJuQUCF5mlihmVJZmCD0IZEhoNvbwyGEVbmOt7fKBwYkgcZHkMcsJcBPsycFpGWDZOACyyRBacKBFUiAAJCDOKurnLviqkIbixqabIw5wg0gJoopj9/PMQqD1qtwMF2ABrfAAI1UUhebzqsXiB1B2xSe0ymxyIGUhCY2iYVTA4kKEmuAAVSeTKdSHlVnq93vVPo1vhNbH8ga53KCAkEIRMoaCwLCEcjURyMetsVsdql0gSkESAMrqABuUkutJKOvw+vuFUe1TgaM5DSaoP5i2BwqB4MWkom0vw8KRKPgNsVWMWuN26uVRKO+DENOK0kj0dZT39Co+X0WjpFQqdbsh8WhAHMICJFoWRAB9WBSmW++XotZBnGq/HhnAAUXV+fOhtjIHbGU75sUlvZda5aYdo0zINdYvdear3tlfutKZAmMiyqSeLDhxAWpY2O7133KgU7AUyUHlSTK9Hdt5vydWZFOYl8891blydH642Ku3+y7gA0iITC4Ci0CFjG1wgWBEFQYmVoBqmPLppOALONOcyzrmKz/DgXo+l+t6cr+m5rk2O6EjgABaRbQSUdEiAABHSYEZFew7fra3L2nyk6ClhYI4W+eEfouNbcYGG7BpRgHUSAADCSoMdIyl5ohI48eO/ECphLrYQsuFSOJRHLsha4qY2AEakSilyQSR4lPZNmcWyUkoXxj5TgZwlGaJJkEZ+5mrmRsk2S2IAAGJMEwlZOdIMVxW5N4Wbqrz6PA1hjqhE5/FYgm+aK/nhHh0QwhJxG6Po9YydZobyRMuj4AEu4ADIsOIiIcRcohGtIHVdRxmkeSA6
@tankorsmash
tankorsmash / plugins_to_load.vim
Created March 9, 2024 19:07
A mirror of my vim plugins as of March 2024
call plug#begin('~/.vim/plugged')
Plug 'https://github.com/tpope/vim-repeat.git'
Plug 'https://github.com/stefandtw/quickfix-reflector.vim'
Plug 'https://github.com/takac/vim-hardtime.git'
Plug 'https://github.com/ctrlpvim/ctrlp.vim.git'
" Plug 'https://github.com/nixprime/cpsm.git'
Plug 'https://github.com/FelikZ/ctrlp-py-matcher'
" Plug 'https://github.com/JazzCore/ctrlp-cmatcher/'
" Plug 'https://github.com/tmhedberg/matchit.git' "replaced with matchup
@tankorsmash
tankorsmash / stats.js
Created August 15, 2024 16:41
Embed stats.js
javascript:(function(){var script=document.createElement('script');script.onload=function(){var stats=new Stats();document.body.appendChild(stats.dom);requestAnimationFrame(function loop(){stats.update();requestAnimationFrame(loop)});};script.src='https://mrdoob.github.io/stats.js/build/stats.min.js';document.head.appendChild(script);})()
data ← •file.Lines "../../samples/2020/day7.txt"
data ↩ •file.Lines "../../samples/2020/day7_alt.txt"
data ↩ •file.Lines "../../inputs/2020/day7.txt"
Log ← {
msg‿val ← 𝕩
•Show msg‿val
val
}
@tankorsmash
tankorsmash / bouncing_tsoding.bqn
Last active March 11, 2025 04:52
Bouncing Tsoding using BQN and Rayed-BQN https://github.com/Brian-ED/rayed-bqn/
⟨color,window,draw, key⟩ ← r ← •Import "./rayed.bqn" # run from rayed-bqn root
fntSz‿spd ← 50‿3
boxClr ← 255‿0‿0‿255
pos‿dir ← ⟨0‿0, 1‿1⟩
w‿h ← ⟨1920÷2, 1080÷2⟩
PerFrame ← {𝕊⟨font⟩:
fps ← " FPS"∾˜•Repr window.GetFPS@ # display FPS