- 리소스 만들기를 통해 새 IoT Hub 서비스 생성
- IoT 허브에 접근하여, IoT Edge를 눌러 접근
- IoT Edge 디바이스 추가를 눌러 '대칭키'를 선택하고, 자동 키 생성을 통해 키 생성
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
{ | |
"FormattingOptions": { | |
"NewLine": "\n", | |
"UseTabs": false, | |
"TabSize": 2, | |
"IndentationSize": 2, | |
"SpacingAfterMethodDeclarationName": false, | |
"SpaceWithinMethodDeclarationParenthesis": false, | |
"SpaceBetweenEmptyMethodDeclarationParentheses": false, | |
"SpaceAfterMethodCallName": false, |
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
# This is the default Xcode Server Apache configuration file. | |
# This file supports Apache 2.4 running in macOS. | |
# This configuration allows you run Xcode Server on *:80/xcode on your machine | |
# which is useful when you run Xcode Server on reverse proxy. | |
<VirtualHost *:80> | |
<IfModule !mod_deflate.c> | |
LoadModule deflate_module libexec/apache2/mod_deflate.so | |
</IfModule> |
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
typealias APICompletionHandler<T: Decodable> = ((Result<T, Error>) -> Void) | |
typealias ResultT<T> = (Result<T, Error>) | |
final class APIManager { | |
public static let shared = APIManager() | |
// TEMP URL!!! | |
private let stringURL = "https://api.cenox.co" | |
private let baseURL: URL |
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
#!/bin/sh | |
if [ "$#" -lt 1 ]; then | |
echo -e "$# is Illegal number of parameters.\n" | |
echo -e "Usage: $0 confluence-installed-dir\n" | |
echo "Example: $0 /var/atlassian/atlassian-confluence-6.7.0" | |
exit 1 | |
fi | |
CONF_DIR=$1 |
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
import UIKit | |
/// Struct that contains current version and all past versions. | |
struct AppVersion: Codable { | |
var currentVersion: String | |
var pastVersions: [String] | |
} | |
class VersionManager { | |
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
#!/bin/bash | |
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-z0-9' | fold -w 4 | head -n 1) | |
SERVER_NAME=vpn-$NEW_UUID | |
gcloud compute instances create $SERVER_NAME \ | |
--machine-type "e2-micro" \ | |
--image-family ubuntu-2004-lts \ | |
--image-project "ubuntu-os-cloud" \ | |
--boot-disk-size "10" \ | |
--boot-disk-type "pd-ssd" \ | |
--boot-disk-device-name "$NEW_UUID" \ |
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
// | |
// main.swift | |
// TSSAPI | |
// | |
// Created by CenoX on 2018. 1. 12.. | |
// Copyright © 2018년 CenoX. All rights reserved. | |
// | |
import Foundation | |
import Dispatch |
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
class UILoadingAlertController: UIAlertController { | |
var activityIndicator: UIActivityIndicatorView! | |
let activityRect: CGRect = CGRect(x: 116, y: 60, width: 40, height: 40) | |
var isShowing: Bool = false | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
activityIndicator = UIActivityIndicatorView(frame: activityRect) |
Original Document - Developing a Game Center-Aware Game
Game Center 지원을 추가하는 것은 단순한 코딩 변경 이상의 것을 요구합니다. Game Center는 게임 디자인에 대한 특정 요구 사항을 부과합니다. 예를 들어 리더 보드를 구현하려면 게임에 플레이어의 실적을 정량적으로 측정 할 수있는 방법이 있어야 합니다.
그러나 Game Center는 게임을 디자인하고 테스트하는 방법을 변경합니다. 이는 단순히 앱에 코드를 추가하는 것이 아닙니다. Game Center에서 사용하는 asset도 구성해야 합니다. 이러한 asset은 앱 번들과 별도로 구성되지만 게임의 코드와 밀접하게 관련되어 있습니다. 모든 조각이 올바르게 작동하도록 하려면 이 조각들을 테스트해야합니다.
Game Center 연동된 게임을 만들려면 코드 작성을 시작하기 전에 이러한 기본 사항을 이해해야합니다.
NewerOlder