Skip to content

Instantly share code, notes, and snippets.

@imnosov
imnosov / restart-gpg-agent.sh
Created July 2, 2021 07:29 — forked from raabf/restart-gpg-agent.sh
restarts the gpg-agent. often necessary because it is so faulty program.
#!/bin/bash
# restarts the gpg-agent
# often necessary because it is so faulty program
killall gpg-agent || true
gpg-agent --daemon
@imnosov
imnosov / gist:b0aad1a24675ac14564c
Created December 21, 2014 20:25
Export xcode 6 archive with any provisioning profile
xcodebuild -exportArchive -archivePath $projectname.xcarchive -exportPath $projectname -exportFormat ipa -exportProvisioningProfile “Provisioning Profile Name”