Skip to content

Instantly share code, notes, and snippets.

make clean
./Configure no-ssl2 no-ssl3 no-tls1 no-tls1_1 no-zlib no-comp no-dtls no-dtls1 no-dtlsi1_2 no-psk no-srp no-srtp no-capieng no-cms no-asm no-weak-ssl-ciphers no-dso no-gost no-hw-padlock no-rfc3779 no-ts no-aria no-bf no-blake2 no-camellia no-cast no-cmac no-des no-dsa enable-ec_nistp_64_gcc_128 no-idea no-md4 no-mdc2 no-ocb no-rc2 no-rc4 no-rmd16@ no-scrypt no-seed no-siphash no-sm2 no-sm3 no-sm4 no-whirlpool -02 -fno-strict-aliasing
@LeeBrotherston
LeeBrotherston / gist:412b5cd46d29934cd0f265b2292bf447
Created July 5, 2023 18:30
Make rebase merge fun more palettable for golang 🤣
cat go.mod | grep -Fv '>>>>>>>' | grep -Fv '=======' | grep -Fv '<<<<<<<' > go.mod.tmp && mv go.mod.tmp go.mod && go mod tidy
format = """
$hostname\
$username\
$directory\
[ ](fg:#769ff0 bg:#394260)\
($git_branch$git_status$git_state)\
[ ](fg:#394260 bg:#888888)\
$docker_context\
$golang\
$custom\