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
| 2020-02-22T12:13:44+0100 warning: No custom working directory set for this scheme, using /Users/inuk/Library/Developer/Xcode/DerivedData/DrinkServer-bpcegmuggleozudsdvyxhotvrrft/Build/Products/Debug | |
| 2020-02-22T12:13:44+0100 warning: No custom working directory set for this scheme, using /Users/inuk/Library/Developer/Xcode/DerivedData/DrinkServer-bpcegmuggleozudsdvyxhotvrrft/Build/Products/Debug | |
| Test Suite 'Selected tests' started at 2020-02-22 12:13:44.145 | |
| Test Suite 'AppTests.xctest' started at 2020-02-22 12:13:44.146 | |
| Test Suite 'UserTests' started at 2020-02-22 12:13:44.146 | |
| Test Case '-[AppTests.UserTests testUserRights]' started. | |
| 2020-02-22T12:13:44+0100 info: read fluent | |
| 2020-02-22T12:13:44+0100 error: relation "fluent" does not exist (parserOpenTable) | |
| 2020-02-22T12:13:44+0100 info: read fluent | |
| 2020-02-22T12:13:44+0100 info: read fluent |
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
| 2020-02-11T09:47:55+0100 warning: No custom working directory set for this scheme, using /Users/inuk/Library/Developer/Xcode/DerivedData/DrinkServer-bpcegmuggleozudsdvyxhotvrrft/Build/Products/Debug | |
| 2020-02-11T09:47:55+0100 warning: No custom working directory set for this scheme, using /Users/inuk/Library/Developer/Xcode/DerivedData/DrinkServer-bpcegmuggleozudsdvyxhotvrrft/Build/Products/Debug | |
| Test Suite 'Selected tests' started at 2020-02-11 09:47:55.396 | |
| Test Suite 'AppTests.xctest' started at 2020-02-11 09:47:55.397 | |
| Test Suite 'UserTests' started at 2020-02-11 09:47:55.397 | |
| Test Case '-[AppTests.UserTests testUserRights]' started. | |
| 2020-02-11T09:47:55+0100 info: read fluent | |
| 2020-02-11T09:47:55+0100 info: read fluent | |
| 2020-02-11T09:47:55+0100 info: delete fluent filters=[fluent.name = "CreateTodo"] | |
| 2020-02-11T09:47:55+0100 info: read fluent |
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
| let package = Package( | |
| name: "Manga", | |
| platforms: [.macOS(.v10_14)], | |
| dependencies: [ | |
| ... | |
| .package(url: "https://github.com/JohnSundell/Plot.git", from: "0.5.0") | |
| ... | |
| ], | |
| targets: [ | |
| .target(name: "App", dependencies: [ |
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
Show hidden characters
| { | |
| "folders": | |
| [ | |
| { | |
| "folder_exclude_patterns": | |
| [ | |
| ".*", | |
| "docs", | |
| "Sources", | |
| "Tests" |
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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <SDL2/SDL.h> | |
| enum PlayerNumber {one,two}; | |
| enum PlayerDirection {up, down, still}; | |
| typedef enum PlayerDirection BallYDirection; | |
| typedef enum ballXDirection {left, right} BallXDirection; |
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
| // swift-tools-version:5.1 | |
| // The swift-tools-version declares the minimum version of Swift required to build this package. | |
| import PackageDescription | |
| let package = Package( | |
| name: "pmchanger", | |
| products: [ | |
| // Products define the executables and libraries produced by a package, and make them visible to other packages. | |
| .library( |
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
| public func upload(parts: [Content], url: uploadUrl) throws -> Future<Response> { | |
| var b2Headers: [String: String] = ["Content-Type": "multipart/form-data; boundary=-123-"] | |
| b2Headers["Content-Length"] = // Err... We'll figure this out later | |
| let headers = HTTPHeaders(b2Headers.map { $0 }) | |
| let request = Request(using: self.client.container) | |
| request.http.method = .POST | |
| request.http.headers = headers | |
| request.http.body = "" |
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 SwiftUI | |
| struct LoginView: View { | |
| @State var username: String = "" | |
| @State var password: String = "" | |
| @State var loggedIn = false | |
| @State var loginMessage: String = "" | |
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
| { | |
| "version": "1.0", | |
| "identifier": "Apple_Demo", | |
| "title": "Simple with Headline above Header Image", | |
| "language": "en", | |
| "layout": { | |
| "columns": 7, | |
| "width": 1024, | |
| "margin": 70, | |
| "gutter": 40 |
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 Vapor | |
| import Service | |
| import Crypto | |
| import Foundation | |
| private var b2CacheKey = "__b2_authorization_token" | |
| public struct B2Config: Service { | |
| public let keyID: String | |
| public let applicationID: String |