名前 | 場所 | 温泉 | 作業場所 | 回線 | 備考 |
---|---|---|---|---|---|
RAKU SPA 鶴見 | ○ | x | ○ | ○ | 温泉じゃない |
テルマー湯 | ○ | △ | △ | △ | 混雑すると回線がつながらないという報告あり |
東京染井温泉 Sakura | ○ | ○ | △ | ? | 回線が作業する場所まで有効なのか不明 |
おふろカフェ utatane | △ | △ | ○ | ○ | めっちゃ混むしやや遠い |
綱島源泉湯けむりの庄 | ○ | ○ | △ | ○ | お休みどころでWiFi接続できるらしい |
極楽湯 京王高尾山温泉 | △ | ○ | △ | △ | KEIO FREE WIFIと貸座敷を組み合わせれば作業できそうな気がする |
This file contains 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 the current filename and function, with an optional extra message. Call this with no arguments to simply print the current file and function. Log messages will include an Emoji selected from a list in the function, based on the hash of the filename, to make it easier to see which file a message comes from. | |
/// - Parameter message: Optional message to include | |
/// - file: Don't use; Swift will fill in the file name | |
/// - function: Don't use, Swift will fill in the function name | |
/// - line: Don't use, Swift will fill in the line number | |
func logMilestone(_ message: String? = nil, file: String = #file, function: String = #function, line: Int = #line) -> Void { | |
#if DEBUG | |
// Feel free to change the list of Emojis, but don't make it shorter, because a longer list is better. | |
let logEmojis = ["😀","😎","😱","😈","👺","👽","👾","🤖","🎃","👍","👁","🧠","🎒","🧤","🐶","🐱","🐭","🐹","🦊","🐻","🐨","🐵","🦄","🦋","🌈","🔥","💥","⭐️","🍉","🥝","🌽","🍔","🍿","🎹","🎁","❤️","🧡","💛","💚","💙","💜","🔔"] | |
let logEmoji = logEmojis[abs( |
This file contains 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
// Copyright © 2019 Ooma Inc. All rights reserved. | |
import Foundation | |
import RIBs | |
import RxSwift | |
// MARK: - Plugin | |
public protocol Plugin: AnyObject { | |
associatedtype Component = Dependency |
This file contains 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 | |
final class KeepingContentOffsetCollectionViewLayout : UICollectionViewFlowLayout { | |
private var oldOffset: CGFloat? | |
typealias Completion = () -> Void | |
/// Perform passed closure with keeping current contentOffset. | |
/// |
This file contains 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 parser = ArgumentParser(commandName: "swiftfmt", usage: "swiftfmt filename [options]", overview: "Format Swift source code") | |
let filenameArgument = parser.add(positional: "filename", kind: String.self) | |
let configrationOption = parser.add(option: "--configuration", kind: String.self) | |
let versionOption = parser.add(option: "--version", kind: Bool.self) | |
let verboseOption = parser.add(option: "--verbose", kind: Bool.self, usage: "Show more debugging information") | |
let result = try parser.parse(Array(CommandLine.arguments.dropFirst())) | |
if let version = result.get(versionOption) { | |
print("Swiftfmt 0.1.0") |
This file contains 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 | |
import RxSwift | |
private func getAllEnumValues<T: Hashable>(_: T.Type) -> [T] { | |
var i = 0 | |
let iterator = AnyIterator<T> { | |
let next = withUnsafeBytes(of: &i) { $0.load(as: T.self) } | |
if next.hashValue != i { return nil } | |
i += 1 | |
return next |
This file contains 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
git reflog | |
# これで、以下の様なのが参照できる | |
2be6f11 HEAD@{0}: xxxxxxxxxxxx | |
18389ad HEAD@{1}: xxxxxxxxxxxxx | |
0c485c8 HEAD@{2}: xxxxxxxxxxxxxx | |
b751438 HEAD@{3}: xxxxxxxxxxxxxxx # ここに戻したいので一つ前の数字を指定↓ | |
hc8a0s8 HEAD@{4}: xxxxxx | |
# 「q」で戻って・・・ | |
git reset --hard 'HEAD@{4}' | |
# のように数字を指定すると元に戻る! |
NewerOlder