Skip to content

Instantly share code, notes, and snippets.

View PunGrumpy's full-sized avatar
:shipit:
Sickkk

Noppakorn Kaewsalabnil PunGrumpy

:shipit:
Sickkk
View GitHub Profile
@bashbunni
bashbunni / .zshrc
Last active October 31, 2025 10:48
CLI Pomodoro for Linux (zsh)
# study stream aliases
# Requires https://github.com/caarlos0/timer to be installed. spd-say should ship with your distro
declare -A pomo_options
pomo_options["work"]="45"
pomo_options["break"]="10"
pomodoro () {
if [ -n "$1" -a -n "${pomo_options["$1"]}" ]; then
val=$1
@PunGrumpy
PunGrumpy / README.md
Last active July 20, 2023 13:11 — forked from developius/README.md
Setup SSH keys for use with GitHub/GitLab/BitBucket etc

🔑 SSH Keypair Setup for GitHub (or GitLab/BitBucket, etc)

🏞️ Create the Repository

Make sure there is at least one file in it (e.g., README.md).

🗝️ Generate an SSH Key Pair (private/public)

Generate a new SSH key using RSA:

@rafaelpadovezi
rafaelpadovezi / git-bash-fish.md
Last active October 2, 2025 10:57
Using fish shell with git bash on windows

Using fish shell with git bash on windows

To install fish shell on windows the options are:

  • Cygwin
  • WSL
  • MSYS2

Since git bash is based on MSYS2 it seems a good fit to install fish. The problem is that git bash is a lightweight version of MSYS2 which does not include pacman as a package management, used to install fish.

This OS thread has great suggestions on how to solve this problem including using the full MSYS2. But the best solution for me was this answer by Michael Chen which installs pacman on git bash.