View gist:5deb4e36bca1ac7f757cf1f45b8dd426
events: { | |
uid_one: { | |
eventId: { | |
title: "Example Event", | |
details: ... | |
owner: { | |
uid: uid_one, | |
username: username | |
} | |
} |
View makestagram_competencies.txt
Students should be able to apply the knowledge and concepts put forth after each section. | |
Students will be able to ___. | |
0. Getting Started | |
- n/a | |
1. Setting Up Firebase | |
- understand what functionality Firebase provides | |
- identify whether an app will need to use Firebase |
View file1.txt
string file content |
View UIViewExtensions.swift
import UIKit | |
extension UIView { | |
class func toString() -> String { | |
let name = NSStringFromClass(self) | |
let components = name.componentsSeparatedByString(".") | |
guard let classString = components.last | |
else { fatalError("") } | |
View SelectionSort.swift
func selectionSort(unsortedArray: [Int]) -> [Int] { | |
var arr = unsortedArray | |
var temp: Int | |
for i in 0..<unsortedArray.count { | |
temp = i | |
for j in i..<unsortedArray.count { | |
if arr[j] < arr[temp] { | |
temp = j | |
} |
View MSBasicTerminalAndGitCommands
Terminal | |
============= | |
cd - change directory allows you to navigate via terminal | |
ls - list all files and folders in directory | |
ls -la - list files vertically and show all hidden files (like .git and .gitignore) | |
pwd - print working directory | |
Git Commands | |
============= | |
git add -A |