- correct mental model necessary to understand git
- how to manipulate commits and branches
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 Foundation | |
import UIKit | |
class Network { | |
static let sharedInstance = Network() | |
private init() { | |
} //This prevents others from using the default '()' initializer for this class. | |
class func retrieveJsonAtLocation (urlString: String, completionHandler: @escaping ()->Void) { | |
let url = Bundle.main.url(forResource: urlString, withExtension: "json") |
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 "CCNetwork.h" | |
@implementation CCNetwork | |
+(void) retrieveJSONAtLocation: (NSString *) urlString completionHandler: (void (^)(NSData *data, NSURLResponse *response, NSError *error)) handler { | |
NSURL *url = [[NSBundle mainBundle] URLForResource:urlString withExtension:@"json"]; | |
[CCNetwork retrieveJSONAtURL:url completionHandler:handler]; | |
} | |
+(void) retrieveJSONAtURL: (NSURL *) url completionHandler: (void (^)(NSData *data, NSURLResponse *response, NSError *error)) handler { |
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 | |
# Aijaz Ansari | |
# This work is licensed under the Creative Commons Attribution 4.0 | |
# International License. To view a copy of this license, visit | |
# http://creativecommons.org/licenses/by/4.0/ or send a letter to | |
# Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. | |
# This script takes in one parameter, a domain name. |
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 sys | |
from PyQt5.QtWidgets import QApplication, QListWidget, QMainWindow | |
class MainWindow(QMainWindow): | |
def __init__(self): | |
super().__init__() | |
self.setWindowTitle("My App") |
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
// | |
// Debug.swift | |
// | |
// Created by Craig Hockenberry on 3/15/17. | |
// Usage: | |
// | |
// SplineReticulationManager.swift: | |
// |
OlderNewer