This is a snippet that uses firebase's firebase-admin
to initialize multiple firebase projects in one admin application.
import 'firebase';
# from root directory | |
ng generate store State --root --state-path store --module app.module.ts | |
ng generate feature components/store/user/User -m app.module.ts | |
#from components directory | |
ng generate container Login --state store/user/user.reducer.ts --state-interface State |
This is a snippet that uses firebase's firebase-admin
to initialize multiple firebase projects in one admin application.
import 'firebase';
// | |
// GIRC_Medical_Expert_AppTests.swift | |
// GIRC Medical Expert AppTests | |
// | |
// Created by Somers B Matthews on 8/19/21. | |
// | |
@testable import GIRC_Medical_Expert_App | |
import XCTest | |
import Firebase | |
import FirebaseAuth |
// | |
// GIRC_Medical_Expert_AppTests.swift | |
// GIRC Medical Expert AppTests | |
// | |
// Created by Somers B Matthews on 8/19/21. | |
// | |
@testable import GIRC_Medical_Expert_App | |
import XCTest | |
import Firebase | |
import FirebaseAuth |
import React, { useContext, useEffect, useRef, useState } from 'react'; | |
import { ActiveNominationContext } from '../../../utils/context/ActiveNominationContext'; | |
import { NominationsDataContext } from '../../../utils/context/NominationsContext'; | |
import NominationBanner from '../../nominationBanner/nominationBanner'; | |
import ApplicationStages from '../../applicationStages/ApplicationStages'; | |
import SearchBar from '../../SearchBar'; | |
import NominationInfo from '../../nominationInfo'; | |
import ApplicationUpdateDetail from '../../nominationInfo/applicationUpdateDetail'; | |
import ApplicationForm from '../../nominationInfo/ApplicationForm'; | |
import { DateTime } from "luxon"; |
Below are multiple .gitignore files for use with Xcode/Objective-C projects | |
########################################## | |
# OS X | |
.DS_Store | |
# Xcode | |
build/ | |
*.pbxuser | |
!default.pbxuser |
package test | |
import ( | |
"bytes" | |
"context" | |
"encoding/json" | |
"fmt" | |
"io/ioutil" | |
"log" |
import Foundation | |
import SwiftUI | |
struct PeopleView: View { | |
@ObservedObject var viewModel = PeopleModel() | |
var body: some View { | |
VStack { |
import Foundation | |
final class UserModel: ObservableObject { | |
struct User: Identifiable { | |
var id = UUID() | |
var firstName: String | |
var lastName: String | |
var email: String | |
var degree: String |
import Foundation | |
import SwiftUI | |
struct PeopleView: View { | |
@ObservedObject var viewModel = PeopleModel() | |
var body: some View { | |
VStack { |