sudo apt-get install openvpn
sudo cp -r /usr/share/doc/openvpn/examples/easy-rsa/2.0 /etc/openvpn/easy-rsa2
cd /etc/openvpn/easy-rsa2
| #!/usr/bin/ruby | |
| # encoding: utf-8 | |
| # | |
| # Updated 2017-10-25: | |
| # - Defaults to large size (512) | |
| # - If ImageMagick is installed: | |
| # - rounds the corners (copped from @bradjasper, https://github.com/bradjasper/Download-iTunes-Icon/blob/master/itunesicon.rb) | |
| # - replace original with rounded version, converting to png if necessary | |
| # | |
| # Retrieve an iOS app icon at the highest available resolution |
| // | |
| // CJCAnonymousFacesFilter.h | |
| // CJC.FaceMaskingDemo | |
| // | |
| // Created by Chris Cavanagh on 11/9/13. | |
| // Copyright (c) 2013 Chris Cavanagh. All rights reserved. | |
| // | |
| #import <CoreImage/CoreImage.h> |
| #import <UIKit/UIKit.h> | |
| #import <SceneKit/SceneKit.h> | |
| #import <OpenGLES/ES2/gl.h> | |
| #import <OpenGLES/ES2/glext.h> | |
| @interface View : UIView | |
| @property (strong, nonatomic) SCNScene *scene; | |
| - (void)renderFrame; |
| <key>NSAppTransportSecurity</key> | |
| <dict> | |
| <key>NSAllowsArbitraryLoads</key> | |
| <true/> | |
| </dict> |
| struct User: Codable { | |
| var firstName: String | |
| var lastName: String | |
| var lastLogin: Date? | |
| } | |
| @propertyWrapper | |
| struct Storage<T: Codable> { | |
| private let key: String | |
| private let defaultValue: T |