Skip to content

Instantly share code, notes, and snippets.

@nolanatearthsense
nolanatearthsense / meld
Created December 27, 2022 17:13
run meld in docker
#!/bin/bash
#sudo apt-get install realpath # may already be installed
PATH1=$(realpath $1)
PATH2=$(realpath $2)
[ -d $PATH1 ] || PATH1=$(dirname $PATH1)
[ -d $PATH2 ] || PATH2=$(dirname $PATH2)
@syneart
syneart / meld_hotfix_sonoma.sh
Last active February 7, 2025 03:54
Meld v3.21.0 (r4) hot-fix for macOS on Intel CPU / Apple Silicon CPU with Rosetta
### Test on https://github.com/yousseb/meld/releases/tag/osx-20
### OSX - 3.21.0 (r4) Sonoma
### !!! Note: You need put the Meld.app r4 build to the /Applications path first.
#!/bin/zsh
#Fix libpng16.16.dylib not found
install_name_tool -change /usr/local/opt/libpng/lib/libpng16.16.dylib @executable_path/../Frameworks/libpng16.16.dylib /Applications/Meld.app/Contents/Frameworks/libfreetype.6.20.0.dylib
#Fix libbrotlidec.1.dylib not found
@bnjmnt4n
bnjmnt4n / jj.fish
Last active March 8, 2025 08:22
Fish completions for Jujutsu
# Additional Fish completions for Jujutsu
# https://gist.github.com/bnjmnt4n/9f47082b8b6e6ed2b2a805a1516090c8
# TODO: passthru other args? E.g.. --at-operation, --repository
function __jj
command jj --ignore-working-copy --color=never --quiet $argv 2> /dev/null
end
# Aliases
# Based on https://github.com/fish-shell/fish-shell/blob/cd71359c42f633d9d71a63591ae16d150407a2b2/share/completions/git.fish#L625.