slidenumber: true autoscale: true
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 NIO | |
| extension EventLoop { | |
| func chain<V0>( | |
| _ v0: @escaping () throws -> EventLoopFuture<V0> | |
| ) -> EventLoopFuture<V0> { | |
| self.tryFlatSubmit { try v0() } | |
| } | |
| func chain<V0, V1>( |
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 BracketQueryEncoder { | |
| private result: [string, string][] = []; | |
| encode(json: any): [string, string][] { | |
| this.result = []; | |
| this.encodeStep([], json); | |
| return this.result; | |
| } | |
| encodeStep(path: string[], json: any) { |
import Foundation
enum E: Codable {
case a(Int???)
}
let encoder = JSONEncoder()
encoder.outputFormatting = .prettyPrinted
let value: [E] = [NUROのサイトからの導線には終了した引っ越しキャンペーンがある
https://www.nuro.jp/hikari/campaign/moving/
So-netのサイトからの導線は以下で辿れる
https://www.so-net.ne.jp/support/taikai/
引越しの場合は退会の必要はありません。
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 Foundation | |
| private class BundleToken {} | |
| extension Bundle { | |
| static var current: Bundle { | |
| Bundle(for: BundleToken.self) | |
| } | |
| func localized(locale: Locale) -> Bundle? { |
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 WeaselRoll | |
| enum Hoge: Equatable { | |
| case c01(String) | |
| case c02(String) | |
| case c03(String) | |
| case c04(String) | |
| case c05(String) | |
| case c06(String) | |
| case c07(String) |