Skip to content

Instantly share code, notes, and snippets.

View rapando's full-sized avatar
👨‍💻
Loves anything backend and solving problems.

Samson Rapando rapando

👨‍💻
Loves anything backend and solving problems.
View GitHub Profile
@rapando
rapando / ghostty.conf
Created October 4, 2026 14:52
ghostty
# Aesthetics & Theme
window-padding-x = 12
window-padding-y = 12
# Strip away the window chrome
confirm-close-surface = false
# Cursor styling
cursor-style = underline
cursor-style-blink = true
@rapando
rapando / ghostty.txt
Created June 28, 2026 16:16
ghostty.txt
# Aesthetics & Theme
window-padding-x = 12
window-padding-y = 12
# Strip away the window chrome
confirm-close-surface = false
# Cursor styling
cursor-style = underline
cursor-style-blink = true
@rapando
rapando / confluent.yml
Last active May 30, 2025 12:22
Kafka Docker Compose
services:
control-center:
image: confluentinc/cp-enterprise-control-center:7.6.0
container_name: control-center
ports:
- "9021:9021"
environment:
CONTROL_CENTER_BOOTSTRAP_SERVERS: PLAINTEXT://devel-appserver01-node03:9092
CONTROL_CENTER_KSQL_KSQLDB1_URL: "http://devel-appserver01-node03:8088"
CONTROL_CENTER_KSQL_KSQLDB1_ADVERTISED_URL: "http://devel-appserver01-node03:8088"
@rapando
rapando / tmux.conf
Last active October 28, 2026 08:15
tmux.conf
# ~/.config/tmux/tmux.conf
#
# --- Installation ---
#
# 1. Save this file as ~/.config/tmux/tmux.conf
#
# 2. Install TPM (tmux plugin manager):
# git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm
#
# 3. Install itmux (theme: status bar, pane borders, prefix + Space key menu):
@rapando
rapando / download.rs
Last active August 6, 2026 13:16
Download in rust
use indicatif::{ProgressBar, ProgressStyle};
use reqwest::blocking::{get, Client};
use std::{
error,
fs::File,
io::{Seek, SeekFrom, Write},
sync::{mpsc, Arc, Mutex},
thread,
time::Instant,
};
-- pull in the wezterm api and init the configs
local wezterm = require 'wezterm'
local config = wezterm.config_builder()
local font_family = 'Agave Nerd Font'
-- set the color scheme
-- config.color_scheme = 'Rosé Pine'
-- config.color_scheme = 'Catppuccin Mocha'
config.color_scheme = 'rose-pine'
### HOW TO USE
# 1. Replace the contents of ~/.oh-my-zsh/themes/sporty_256.zsh-theme with this file
# 2. In ~/.zshrc, set the theme to sporty_256
# zsh theme requires 256 color enabled terminal
# i.e TERM=xterm-256color
# Preview - https://www.flickr.com/photos/adelcampo/4556482563/sizes/o/
# based on robbyrussell's shell but louder!
# ____ _ _____ _ _
# | _ \ ___ __ _ __| | |_ _| |__ (_)___
# | |_) / _ \/ _` |/ _` | | | | '_ \| / __|
# | _ < __/ (_| | (_| | | | | | | | \__ \
# |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/
# Extra:
brew install neovim fd ripgrep lua luarocks fzf
@rapando
rapando / agnoster.zsh-theme
Created August 15, 2023 06:17
agnoster custom settings
# vim:ft=zsh ts=2 sw=2 sts=2
#
# agnoster's Theme - https://gist.github.com/3712874
# A Powerline-inspired theme for ZSH
#
# # README
#
# In order for this theme to render correctly, you will need a
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts).
# Make sure you have a recent version: the code points that Powerline
@rapando
rapando / goroutines.go
Last active November 11, 2022 12:36
Go Routines.
package main
import (
"fmt"
"log"
"sync"
"time"
)
type Result struct {