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
#!/bin/bash | |
# Emulatorで使ってるポートを書く | |
ports=(9099 8080) | |
# 指定したポートを使っているプロセスをkillする | |
for port in "${ports[@]}"; do | |
pids=$(lsof -t -i :$port) | |
echo "Killing Port $port" | |
for pid in $pids; do |
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 SwiftUI | |
import Firebase | |
import FirebaseAuth | |
class AuthState: ObservableObject { | |
func signIn(credential: OAuthCredential) async throws { | |
_ = try await auth.signIn(with: credential) | |
} | |
func deleteUser(code: String) async throws { |