Skip to content

Instantly share code, notes, and snippets.

View mshavliuk's full-sized avatar
🍤
H̷̹̝͝ë̴̙̤́͋y̸̓̐́́̀͜ ̸̨̝̱̺̟̏̇̅̕t̴̠͗̇̊͠h̵̺͎̙̆̒͜͝e̷̲͇̞̦̎r̸̨̰̪̉͜e̷͎͇̟̓͂̀͝!̷̞̦̾

Mikhail mshavliuk

🍤
H̷̹̝͝ë̴̙̤́͋y̸̓̐́́̀͜ ̸̨̝̱̺̟̏̇̅̕t̴̠͗̇̊͠h̵̺͎̙̆̒͜͝e̷̲͇̞̦̎r̸̨̰̪̉͜e̷͎͇̟̓͂̀͝!̷̞̦̾
View GitHub Profile
@sol-prog
sol-prog / commands.sh
Last active April 16, 2025 08:30
Install GCC 9 on Raspberry Pi and build C++17 programs
# Commands used in the video https://youtu.be/-bCG87jBDqA :
sudo apt update && sudo apt upgrade -y
git clone https://bitbucket.org/sol_prog/raspberry-pi-gcc-binary.git
cd raspberry-pi-gcc-binary
tar -xjvf gcc-9.1.0-armhf-raspbian.tar.bz2
sudo mv gcc-9.1.0 /opt
cd ..
rm -rf raspberry-pi-gcc-binary
@troyfontaine
troyfontaine / 1-setup.md
Last active June 25, 2025 12:13
Signing your Git Commits on MacOS

Methods of Signing Git Commits on MacOS

Last updated March 13, 2024

This Gist explains how to sign commits using gpg in a step-by-step fashion. Previously, krypt.co was heavily mentioned, but I've only recently learned they were acquired by Akamai and no longer update their previous free products. Those mentions have been removed.

Additionally, 1Password now supports signing Git commits with SSH keys and makes it pretty easy-plus you can easily configure Git Tower to use it for both signing and ssh.

For using a GUI-based GIT tool such as Tower or Github Desktop, follow the steps here for signing your commits with GPG.

@niieani
niieani / throttle-and-debounce.sh
Last active September 21, 2024 21:50
throttle and debounce commands in bash
#!/usr/bin/env bash
declare -i last_called=0
declare -i throttle_by=2
@throttle() {
local -i now=$(date +%s)
if (($now - $last_called >= $throttle_by))
then
"$@"
@parmentf
parmentf / GitCommitEmoji.md
Last active July 3, 2025 14:14
Git Commit message Emoji