This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
import Alamofire | |
extension MultipartFormData { | |
/// Creates a body part from the data and appends it to the multipart form data object. | |
/// | |
/// The body part data will be encoded using the following format: | |
/// | |
/// - `Content-Disposition: form-data; name=#{name}` (HTTP Header) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// CollectionViewDataSource.swift | |
// Khan Academy | |
// | |
// Created by Andy Matuschak on 10/14/14. | |
// Copyright (c) 2014 Khan Academy. All rights reserved. | |
// | |
import UIKit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openssl pkcs12 -nocerts -nodes -out key.pem -in certificate.p12 | |
openssl aes-256-cbc -k #{REPO_PASSWORD} -in key.pem -out ${TEAM_ID}.p12 -a | |
openssl aes-256-cbc -k #{REPO_PASSWORD} -in certificate.cer -out ${TEAM_ID}.cer -a | |
openssl aes-256-cbc -k #{REPO_PASSWORD} -in Distribution.mobileprovision -out AppStore_${BUNDLE_ID}.mobileprovision -a | |
openssl aes-256-cbc -k #{REPO_PASSWORD} -in Development.mobileprovision -out Development_${BUNDLE_ID}.mobileprovision -a | |
openssl aes-256-cbc -k #{REPO_PASSWORD} -in ADHOC.mobileprovision -out AdHoc_${BUNDLE_ID}.mobileprovision -a |