openssl genrsa -out private.pem 2048
openssl req -sha256 -new -key private.pem -out csr.pem
#pragma mark - GameKit related stuff | |
// See documentation: | |
// https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/GameKit_Guide/Users/Users.html#//apple_ref/doc/uid/TP40008304-CH8-SW17 | |
// Call this method in (void)viewDidAppear:(BOOL)animated | |
- (void) authenticateLocalPlayer { | |
[GKLocalPlayer localPlayer].authenticateHandler = ^(UIViewController *viewController, NSError *error) { | |
if (viewController != nil) { | |
[self showAuthenticationDialog: viewController]; |
Use the --ignore-application-stop-failures option with the AWS CLI tool while doing the deployment:
aws deploy create-deployment --application-name APPLICATION --deployment-group-name GROUP --ignore-application-stop-failures --s3-location bundleType=tar,bucket=BUCKET,key=KEY --description "Ignore ApplicationStop failures due to broken script"
wget --header "Cookie: oraclelicense=accept-securebackup-cookie" [DOWNLOAD-URL]
Example: download JDK 8u66 for Mac OS X
wget --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u66-b17/jdk-8u66-macosx-x64.dmg
See Configuring NGINX to accept the PROXY Protocol - NGINX
upstream wsserver {
server 127.0.0.1:9000;
}
For more details, see certmgr.
Note for commands to work, certificate must be in DER format.
Valid certificate store names are:
aws elasticbeanstalk update-environment \
--environment-name [environment-name] \
--option-settings \ Namespace=aws:elb:policies,OptionName=ConnectionSettingIdleTimeout,Value=[timeout-seconds]