Skip to content

Instantly share code, notes, and snippets.

View ironlungx's full-sized avatar
🍁

ironlung :) ironlungx

🍁
  • 14:43 (UTC +01:00)
View GitHub Profile
@ironlungx
ironlungx / nvim-pio.md
Last active May 5, 2025 17:23
PlatformIO with Neovim

Caution

I've moved this gist over to a template repository here. Everything here is unmaintained...

Extensions

Following are the extensions required for neovim:

@securibee
securibee / harpoon.lua
Last active July 29, 2024 20:59
Add the Harpoon plugin to LazyVim
return {
"ThePrimeagen/harpoon",
lazy = false,
dependencies = {
"nvim-lua/plenary.nvim",
},
config = true,
keys = {
{ "<leader>a", "<cmd>lua require('harpoon.mark').add_file()<cr>", desc = "Mark file with harpoon" },
{ "<C-e>", "<cmd>lua require('harpoon.ui').toggle_quick_menu()<cr>", desc = "Show harpoon marks" },
@joe-scotto
joe-scotto / Animation
Last active February 11, 2025 02:33
QMK OLED Displays
#ifdef OLED_ENABLE
// Rotate OLED
oled_rotation_t oled_init_user(oled_rotation_t rotation) {
return OLED_ROTATION_90;
}
// Animation parameters
#define FRAME_DURATION 333 // How long each frame lasts in milliseconds
@Obydux
Obydux / Fabric-Quilt-Server-Optimization.md
Last active May 7, 2025 11:55
Fabric/Quilt Server Optimization

Fabric/Quilt Server Optimization

This has updated for 1.20.4, all of the optimization mods mentioned here are compatible with each other and don't affect vanilla behaviour by default.

Mods

@lifepillar
lifepillar / 24-bit-color.sh
Created November 20, 2017 11:48
Test 24 bit colors in terminals
#!/bin/bash
#
# This file echoes a bunch of 24-bit color codes
# to the terminal to demonstrate its functionality.
# The foreground escape sequence is ^[38;2;<r>;<g>;<b>m
# The background escape sequence is ^[48;2;<r>;<g>;<b>m
# <r> <g> <b> range from 0 to 255 inclusive.
# The escape sequence ^[0m returns output to default
setBackgroundColor()