Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python3
# Environment setup commands:
# olympe: source ~/code/parrot-groundsdk/./products/olympe/linux/env/shell
import tkinter as tk
from tkinter import *
from PIL import Image
from PIL import ImageTk
import olympe
import subprocess
./Travely/ViewModel/LoginViewModel.swift: db.collection("Users").document(result!.user.uid).getDocument { document, err in
if err != nil {
print(err?.localizedDescription as Any)
return
}
./Travely/ViewModel/LoginViewModel.swift: db.collection("Users").document(Auth.auth().currentUser!.uid).updateData([
"notifToken": self.deviceNotifToken,
]) { err in
./Travely/ViewModel/LoginViewModel.swift: db.collection("Users").document(result!.user.uid).getDocument { document, err in
if err != nil {
print(err?.localizedDescription as Any)
return
}
./Travely/ViewModel/LoginViewModel.swift: db.collection("Users").document(Auth.auth().currentUser!.uid).updateData([
"notifToken": self.deviceNotifToken,
]) { err in