- Put 'DeveloperCertificates' base64 data from provision profile into separate file.
- Convert base64 to binary form.
cat cert.b64 | base64 -D > cert.bin
- Extract cert info
cat cert.bin | openssl x509 -subject -dates -inform der
| ps aux | awk '/loginwindow/ && !/awk/ {print $2}' | sudo xargs kill -9 |
| tcpdump -i en1 -w dump.pcap tcp |
| dispatch_semaphore_t mrm_start_async() { | |
| return dispatch_semaphore_create(1); | |
| } | |
| void mrm_async_done(dispatch_semaphore_t sem) { | |
| dispatch_semaphore_signal(sem); | |
| } | |
| void mrm_wait_for(dispatch_semaphore_t sem, void(^success)(),void(^fail)()) { | |
| xcodebuild \ | |
| -workspace MRMail.workspace \ | |
| -scheme MRMail-AppStore TEST_AFTER_BUILD=NO clean build \ | |
| -configuration 'Release' \ | |
| PROVISIONING_PROFILE=3D1E8E92-ECF2-4106-BA98-0779D0EBC2A3 \ | |
| CONFIGURATION_BUILD_DIR="%teamcity.build.checkoutDir%"/build |
| :%!python -m json.tool |
| image lookup --address 0x30e0c425 |
| shopt -s globstar | |
| echo rm -rf ./**/*cache*/* |
cat cert.b64 | base64 -D > cert.bin
cat cert.bin | openssl x509 -subject -dates -inform der
| while read t; do git push origin ":refs/tags/$t"; done < tags_file | |
| while read t; do git tag -d "$t"; done < tags_file |
| where() { type -a "$@" ; } |