Skip to content

Instantly share code, notes, and snippets.

View kamilmodest's full-sized avatar

Kamil Babaev kamilmodest

View GitHub Profile
@bitmonk8
bitmonk8 / pi-slack-setup.md
Created April 14, 2026 11:28
Pi Slack MCP Setup - paste into Pi to auto-configure Slack integration

Pi Slack MCP Setup

Hi Pi! Thomas sent me this link and asked you to set up the Slack MCP integration for me.

Please do the following, step by step:

What you need to do

1. Check prerequisites

@GusAntoniassi
GusAntoniassi / README.md
Last active February 14, 2026 17:00
Configure autocompletion to kubectl with zsh

kubectl with ZSH (oh-my-zsh)

How to configure

Use the following commands to add the kubectl autocomplete to zsh:

mkdir -p ~/.oh-my-zsh/custom/plugins/kubectl-autocomplete/
kubectl completion zsh > ~/.oh-my-zsh/custom/plugins/kubectl-autocomplete/kubectl-autocomplete.plugin.zsh
@mhulse
mhulse / fromhex.bash
Last active October 27, 2024 03:40
Bash function to convert hex to 256 terminal color.
# fromhex A52A2A
# fromhex "#A52A2A"
# BLUE_VIOLET=$(fromhex "#8A2BE2")
# http://unix.stackexchange.com/a/269085/67282
function fromhex() {
hex=$1
if [[ $hex == "#"* ]]; then
hex=$(echo $1 | awk '{print substr($0,2)}')
fi
r=$(printf '0x%0.2s' "$hex")