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
var request = require("request"); //We are asking to include these npm modules in our project. | |
var cheerio = require("cheerio"); | |
// request('https://news.ycombinator.com', function (error, response, html) { | |
// if (!error && response.statusCode == 200){ | |
// console.log(html); | |
// } | |
// }); |
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
class ViewController: UIViewController { | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
// Do any additional setup after loading the view, typically from a nib. | |
} | |
override func didReceiveMemoryWarning() { | |
super.didReceiveMemoryWarning() | |
// Dispose of any resources that can be recreated. |
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
1) git checkout master | |
2) git status | |
3) git commit -am "test" | |
4) git push origin master | |
5) git checkout gh-pages | |
6) git rebase master | |
7) git push origin gh-pages | |
8) git checkout master |
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
http://stackoverflow.com/questions/1054558/vertically-align-text-within-a-uilabel |
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
//this goes right under the declaration of the class : @IBOutlet weak var getStartedButton:UIButton! | |
//CONTROL VISIBILITY OF BUTTON; WILL ONLY SHOW ON THE SIXTH VC (INDEX 6); | |
getStartedButton.hidden = (index == 6) ? false : true // Will hide from indexes 0 - 6 | |
skipButton.hidden = (index == 6) ? true : false // Will show from indexes 0 - 6 | |
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
tableView.backgroundView = UIImageView(image: UIImage(named: "SITC Background (Purple)")) |
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
// | |
// ViewControllerC.swift | |
// TripletInterfaces | |
// | |
// Created by Kenny Batista on 6/16/15. | |
// Copyright (c) 2015 Kenny Batista. All rights reserved. | |
// | |
import UIKit |
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
// | |
// ViewController.swift | |
// thirdtableview | |
// | |
// Created by Kenny Batista on 2/19/16. | |
// Copyright © 2016 Kenny Batista. All rights reserved. | |
// | |
import UIKit |
OlderNewer