Skip to content

Instantly share code, notes, and snippets.

View mkldon's full-sized avatar

Mikhail Ryanzin mkldon

View GitHub Profile
@slabko
slabko / resign.sh
Created May 4, 2016 08:04
Change password of a p12 file
#!/bin/sh
# Usage resing.sh Input.p12 Output.p12
# Use at your own risk
echo 'Downloading Apple Root Certificate'
curl https://developer.apple.com/certificationauthority/AppleWWDRCA.cer > AppleWWDRCA.cer
echo 'Please enter original .p12 password'
openssl pkcs12 -in $1 -nocerts -out privateKey.pem -passout pass:qwert
@raine
raine / git-bash-aliases.bash
Created June 25, 2011 13:13
git bash aliases
alias gdc='git diff --cached'
alias gst='git status -s' # git >1.7.0
alias glr='git pull --rebase'
alias gl='git pull'
alias gp='git push'
alias gd='git diff'
alias gc='git commit -v'
alias gca='git commit -v -a'
alias gb='git branch'
alias gba='git branch -a'