Skip to content

Instantly share code, notes, and snippets.

View sravioli's full-sized avatar

Simone Fidanza sravioli

View GitHub Profile
@sravioli
sravioli / fzf-kill.sh
Last active December 13, 2024 11:33
Interactive interface to search for and kill processes using fzf.
#!/usr/bin/env bash
#
# Interactive interface to search for and kill processes using fzf.
# Supports both regular and forced process termination and dynamically updates
# the process list.
#
# Usage: ./fzf-kill.sh [REFRESH_INTERVAL]
# REFRESH_INTERVAL: Optional; time in seconds to refresh the process list (default: 1.2 seconds).
#
# Dependencies: fzf, procs (ps if not found), sed, awk, curl
@sravioli
sravioli / headers.lua
Created August 18, 2022 10:53
A collection of headers for Neovim
-- lua/custom/tables/headers.lua
local headers = {
imgs = {
["bat_92"] = {
[[ ]],
[[ * * * * ]],
[[ *** ********** *** ]],
[[ ***** ********** ***** ]],
[[ ******* ********** ******* ]],