View file0.txt
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 StoreKit |
View file0.txt
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
SFSpeechRecognitionTask |
View file0.txt
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
static let syncHost = "Macのipアドレスを入力" |
View gist:d24f287b7236622afd0834c853773a66
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
<?php | |
// バッファリング開始 | |
ob_start(); | |
?> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="application/json; charset=utf-8" /> | |
<title></title> | |
</head> |
View Any 型の検索 配列の要素削除
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
struct Abc1 { | |
var asd = 1 | |
} | |
struct Abc2 { | |
var asd = 2 | |
} | |
struct Abc3 { | |
var asd = 3 |
View gist:7a5d2e73999169ea47ae369f3fb5146f
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 | |
//配列の重複していない要素数を検索して、該当の要素を配列に入れるロジック | |
class ViewController: UIViewController { | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
let searchWords = ["a","b","c","d","d","c","e","e"] | |
let orderedSet = NSOrderedSet(array: searchWords) | |
let orderArray = (orderedSet.array as? [String])! |
View gist:ae1d9913885e126842bca2f096c15688
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
{"menu": { | |
"id": "file", | |
"value": "File", | |
"popup": { | |
"menuitem": [ | |
{"value": "A", "D": "G()"}, | |
{"value": "B", "E": "H()"}, | |
{"value": "C", "F": "K()"} | |
] | |
} |
View gist:d1089e412219c023e22686c97b5227fa
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
# This file contains the fastlane.tools configuration | |
# You can find the documentation at https://docs.fastlane.tools | |
# | |
# For a list of all available actions, check out | |
# | |
# https://docs.fastlane.tools/actions | |
# | |
# For a list of all available plugins, check out | |
# | |
# https://docs.fastlane.tools/plugins/available-plugins |
View gist:4bafcbd5c11461c76140e8d9df3c68c5
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 | |
class ViewController: UIViewController { | |
let caButton = UIButton() | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
caButton.backgroundColor = .yellow | |
caButton.frame = CGRect(x: 320, y: 20, width: 0, height: 0) |
View gist:974425a333e5592f344490585734cff7
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 com.google.firebase.remoteconfig.FirebaseRemoteConfig | |
import com.google.firebase.remoteconfig.FirebaseRemoteConfigSettings | |
class MainActivity : AppCompatActivity() { | |
private lateinit var remoteConfig: FirebaseRemoteConfig | |
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstanceState) | |
setContentView(R.layout.activity_main) |
OlderNewer