-
Install the the
shadowsocks-libev
package from apt repository.sudo apt update sudo apt install shadowsocks-libev
-
Save
ss.json
as/etc/shadowsocks-libev/config.json
.
aws elasticbeanstalk update-environment \
--environment-name [environment-name] \
--option-settings \ Namespace=aws:elb:policies,OptionName=ConnectionSettingIdleTimeout,Value=[timeout-seconds]
For more details, see certmgr.
Note for commands to work, certificate must be in DER format.
Valid certificate store names are:
- Trust (ROOT CA)
- CA (Intermediate CA)
See Configuring NGINX to accept the PROXY Protocol - NGINX
upstream wsserver {
server 127.0.0.1:9000;
}
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
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"
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
#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]; |
NewerOlder