Skip to content

Instantly share code, notes, and snippets.

View shiftwavedev's full-sized avatar
💭
🏳️‍🌈

ShiftWave shiftwavedev

💭
🏳️‍🌈
View GitHub Profile
@azam
azam / svg2ico.sh
Last active September 23, 2025 17:33
Convert SVG to ICO using ImageMagick, with transparent background and multi-size icons
convert -density 256x256 -background transparent favicon.svg -define icon:auto-resize -colors 256 favicon.ico
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active October 29, 2025 09:50
Conventional Commits Cheatsheet
@roaldnefs
roaldnefs / mac-docker-gui.txt
Created December 22, 2019 10:27
Running GUI application in Docker on MacOS
# Install XQuartz
brew cask install xquartz
# Restart MacOS
# Open XQuartz
open -a XQuartz
# Ensure the "Allow connections from network clients" option in Preferences >> Security is turned on
@ityonemo
ityonemo / test.md
Last active October 23, 2025 01:27
Zig in 30 minutes

A half-hour to learn Zig

This is inspired by https://fasterthanli.me/blog/2020/a-half-hour-to-learn-rust/

Basics

the command zig run my_code.zig will compile and immediately run your Zig program. Each of these cells contains a zig program that you can try to run (some of them contain compile-time errors that you can comment out to play with)

@AlyxPink
AlyxPink / deadname_rewriter.sh
Created March 18, 2024 09:38
A far from perfect script helping you out to rewrite your author name and email in the git history of your repositories
# !/bin/bash
# Please don't trust me, I made this thing in a hurry and I'm not a Git expert.
# I copy pasted stuff from here and there, quickly read some git documentation and
# made some trial and error locally.
# I've noticed that for some repositories it did not work, and also some commits went from "Verified" to "Unverified".
# I'm not sure why, I'm not sure how to fix it, the public keys match sooooo. That's an issue for future me.
# Create a mailmap in ~/.config/git/.mailmap (or anywhere else as long as you use it in the next command):
#