Skip to content

Instantly share code, notes, and snippets.

View NCMBianchi's full-sized avatar
🧬
BMC bioinformatics paper soon-to-be published!

Niccolò Bianchi NCMBianchi

🧬
BMC bioinformatics paper soon-to-be published!
  • Italy, Netherlands
View GitHub Profile
@bashbunni
bashbunni / pom.fish
Created January 21, 2026 06:35
Pomodoro CLI for Fish Shell
function pom
set split $POMO_SPLIT
if ! test -n "$split"
set split $(gum choose "25/5" "50/10" "all done" --header "Choose a pomodoro split.")
end
switch $split
case 25/5
set work 25m
set break 5m
@OrionReed
OrionReed / dom3d.js
Last active February 6, 2026 16:33
3D DOM viewer, copy-paste this into your console to visualise the DOM topographically.
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks.
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/)
(() => {
const SHOW_SIDES = false; // color sides of DOM nodes?
const COLOR_SURFACE = true; // color tops of DOM nodes?
const COLOR_RANDOM = false; // randomise color?
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com)
const MAX_ROTATION = 180; // set to 360 to rotate all the way round
const THICKNESS = 20; // thickness of layers
const DISTANCE = 10000; // ¯\\_(ツ)_/¯
@bashbunni
bashbunni / .zshrc
Last active February 12, 2026 09:51
CLI Pomodoro for Mac
# I'll be doing another one for Linux, but this one will give you
# a pop up notification and sound alert (using the built-in sounds for macOS)
# Requires https://github.com/caarlos0/timer to be installed
# Mac setup for pomo
alias work="timer 60m && terminal-notifier -message 'Pomodoro'\
-title 'Work Timer is up! Take a Break 😊'\
-appIcon '~/Pictures/pumpkin.png'\
-sound Crystal"