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
| // | |
| // UserDefaultsWrapper.swift | |
| // | |
| // Created by Darktt on 20/1/9. | |
| // Copyright © 2020 Darktt. All rights reserved. | |
| // | |
| import Foundation | |
| // MARK: - OptionalValue - |
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
| // | |
| // DTAES.swift | |
| // | |
| // Created by Darktt on 18/11/9. | |
| // Copyright © 2018 Darktt. All rights reserved. | |
| // | |
| import CommonCrypto | |
| import Foundation |
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 extension CGFloat | |
| { | |
| var floorValue: CGFloat { | |
| return self.rounded(.down) | |
| } | |
| } |
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
| // | |
| // DTLabel.h | |
| // | |
| // Created by Darktt on 22/10/5. | |
| // | |
| @import UIKit; | |
| NS_ASSUME_NONNULL_BEGIN |
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
| // | |
| // DTTextCountingBehavior.swift | |
| // | |
| // Created by Darktt on 18/11/14. | |
| // Copyright © 2018 Darktt. All rights reserved. | |
| // | |
| import UIKit | |
| public class DTTextCountingBehavior<InputView> |
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 os | |
| import re | |
| import subprocess | |
| from git import * | |
| from pathlib import Path | |
| class Difference(object): |
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
| ���線到 Wi-Fi(������ Darkttの空港 ✈️) 中⋯⋯ | |
| ��功連線 Wi-Fi。 | |
| ('192.168.2.18', '255.255.255.0', '192.168.2.1', '192.168.2.1') | |
| ��步時間中(watch.stdtime.gov.tw)������ | |
| 時間同步���功。 | |
| 2021-01-01 08:00:18 | |
| 2021-01-01 08:00:28 | |
| 2021-01-01 08:00:38 |
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
| // | |
| // Log.swift | |
| // | |
| // Created by Darktt on 23/6/16. | |
| // | |
| import Foundation | |
| public | |
| struct Log |
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
| extension Array | |
| { | |
| init<Input>(_ expression: (Input) -> Element, forIn inputs: any Sequence<Input>, if condition: ((Input) -> Bool)? = nil) | |
| { | |
| self = inputs.compactMap { | |
| if let condition = condition, !condition($0) { | |
| return nil | |
| } |
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
| // | |
| // DictionaryExtension.swift | |
| // | |
| // Created by Darktt on 16/9/7. | |
| // Copyright © 2016 Darktt. All rights reserved. | |
| // | |
| import Foundation | |
| // MARK: - DictionaryKey - |