This file contains hidden or 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
First, do most of this: | |
https://gist.github.com/dirkk0/b474e1218dcc02025e25 | |
But for the native samples to compile, only do the following extra on a clean Oculus Mobile SDK 0.6.2 install: | |
cd osdk/VrAppSupport | |
ln -s VrGUI VrGui | |
The basic problem: Linux cares about capitalization. |
This file contains hidden or 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
Get MongoDB | |
----------- | |
https://www.mongodb.org/downloads | |
Or the apt repo based tutorial here for Ubuntu: | |
http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/ | |
MongoDB *should* match the python pymongo where possible to avoid version mismatch problems. | |
Take note about updating the mongod.conf file to a non-local host IP if doing db replication. |
This file contains hidden or 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
# Creating a RSA private key | |
$ openssl genrsa -out rsaprivkey.pem 1024 | |
# Creating a cert file from priv key | |
$ openssl req -new -x509 -key rsaprivkey.pem -out rsacert.pem | |
# Converting from PEM to DER | |
$ openssl x509 -outform der -in rsacert.pem -out rsacert.der | |
# Convertin from DER to PEM |
This file contains hidden or 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
getCertificate: function getCertificate(aManifestURL) { | |
let manifestURL = "app://system.gaiamobile.org/manifest.webapp"; // change. | |
Cu.import("resource://gre/modules/FileUtils.jsm"); | |
Cu.import("resource://gre/modules/NetUtil.jsm"); | |
XPCOMUtils.defineLazyServiceGetter(this, "appsService", | |
"@mozilla.org/AppsService;1", | |
"nsIAppsService"); | |
let app = appsService.getAppByManifestURL(manifestURL); | |
if (!app) { |