git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
#!/bin/bash | |
# !!! This script assumes that the device needing to be formatted and encrypted is /dev/sdb | |
# !!! Also... be sure to copy and store the generated encryption key file from /root | |
# Note that the secondary drive will be mounted at /var/lib/mongodb, | |
# ... which is the default location for MongoDB data files on Ubuntu and Mongo at least v2.6 | |
# add PPA for mongodb |
After exporting an ipa for Ad Hoc Deployment, it could be useful to check if all authorized devices are well configured in a provisioning profile. To read a provisioning profile you have to unarchive your ipa :
$ unzip your.ipa
find the embedded.mobileprovision file :
$ ls yourUnzippedIpa/Payload/appName.app/embedded.mobileprovision
# script parameters | |
param( | |
[ValidateSet("Sign", "UntrustCertificates")] | |
[string] $Mode = "Sign", | |
[string] $InfFile, | |
[string] $CommonName = "linux.local", | |
[switch] $Force | |
) |