Skip to content

Instantly share code, notes, and snippets.

View QuAzI's full-sized avatar

Ruslan Yakauleu QuAzI

View GitHub Profile
@QuAzI
QuAzI / fff.ps1
Last active July 1, 2025 11:15
Fast fuzzy help search with tldr on Windows
# this script helps to yank specific command shown by tlrc (tldr in Rust) into clipboard or to get help from AI
# tldr, fzf, nvim and aichat required in %PATH%
$command = $args
& tldr.exe --list-all |
Sort-Object |
Get-Unique |
fzf.exe -q "$command" --preview 'tldr --color always {1}' --preview-window=right,70% --bind 'ctrl-y:execute-silent(tldr.exe {1} | Set-Clipboard)' --with-shell 'powershell.exe -NoLogo -NonInteractive -NoProfile -Command' |
%{
@QuAzI
QuAzI / .env
Created January 16, 2023 14:22
RabbitMQ on Windows Containers (Win10) for local development
RABBITMQ_DEFAULT_VHOST=computer-name-in-lower-case
RABBITMQ_NODENAME=host-name.dev
@QuAzI
QuAzI / tmux-connect.sh
Last active August 16, 2021 17:03
Reverse shell for NAT users with tmux+socat+ssh
#!/bin/sh
#
# Run this script on relay_server to connect shared session
#
read -p "Port number: " relay_port
socat file:`tty`,raw,echo=0 tcp-connect:localhost:${relay_port}