Skip to content

Instantly share code, notes, and snippets.

@ArnaudValensi
ArnaudValensi / create-ssl-cert.sh
Created January 9, 2018 09:39
Generate a self signed certificate without passphrase for private key
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 10000 -nodes
@Vertigo093i
Vertigo093i / bamboo-git-lfs-checkout
Last active October 11, 2020 22:45
Howto: Atlassian Bamboo and Git LFS
"${bamboo.capability.system.git.executable}" config remote.origin.lfsurl ${bamboo.planRepository.repositoryUrl}
"${bamboo.capability.system.git.executable}" lfs install --local
"${bamboo.capability.system.git.executable}" lfs pull || "${bamboo.capability.system.git.executable}" lfs logs last
#!/bin/sh
git filter-branch --env-filter '
OLD_EMAIL="[email protected]"
CORRECT_NAME="Your Correct Name"
CORRECT_EMAIL="[email protected]"
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ]
then