Skip to content

Instantly share code, notes, and snippets.

View ronaldwolvers's full-sized avatar

Ronald Wolvers ronaldwolvers

  • Amsterdam
  • 06:56 (UTC +01:00)
View GitHub Profile
@erikw
erikw / ..git-commit-status - Generate git commit message from git-status.md
Last active June 18, 2025 09:31
Generate git commit message from git-status. Will generate a commit message like "Added: file1.py file2.py file3.py Modified: file4.py file5.py Deleted: README.md Renamed: test.txt-> test2.txt". Put this in your .gitconfig.

git commit-status alias

An alias that will generate a git commit message staged changes as shown in git-status. Put this alias (section below) in your .gitconfig.

The message generated will be in the format of:

$ git status --porcelain
A file1.py
A file2.py
A file3.py
@douglasmakey
douglasmakey / sender.go
Last active May 22, 2025 07:33
Golang - send an email with attachments.
package main
import (
"bytes"
"encoding/base64"
"fmt"
"io/ioutil"
"mime/multipart"
"net/smtp"
"os"
@2KAbhishek
2KAbhishek / Shell_Keybindings.md
Last active November 20, 2025 11:55
Keyboard shortcuts for bash/zsh

Shell Keybindings

Navigation 🚀

Keybinding Action
Alt + f/b Move cursor to previous/next word
Ctrl + a/e Move cursor to beginning/end of command
Ctrl + xx Toggle between the start of line and current cursor position
@nikhita
nikhita / update-golang.md
Last active November 17, 2025 00:14
How to update the Go version

How to update the Go version

System: Debian/Ubuntu/Fedora. Might work for others as well.

1. Uninstall the exisiting version

As mentioned here, to update a go version you will first need to uninstall the original version.

To uninstall, delete the /usr/local/go directory by: