Verify Permissions
diskutil verifyPermissions /
Repair Permissions
diskutil repairPermissions /
| Example for El Capitan: | |
| sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app | |
| Example for Yosemite: | |
| sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install\ OS\ X\ Yosemite.app | |
| Example for Mavericks: |
| class Brew { | |
| var temp: Float = 0.0 | |
| } | |
| class BrewViewModel : NSObject { | |
| var brew = Brew() | |
| dynamic var temp: Float = 0.0 { | |
| didSet { | |
| self.brew.temp = temp | |
| } |
I took this list from What CS majors should know.
I think it is fun to list things I don't know so I did it =D. I actually found it to be a cool exercise -- maybe I should do a fun graphics project and learn about Open GL!
i wrote this because, while i think the things on this list are potentially worth knowing, and I actually think it's an awesome list of project ideas as well as good food for thought for people developing CS curricula (many of the things I don't know are great exercises!) -- I thought it was really weird to say that every CS student should know all of them. I have a CS degree and I learned very few of the things I do know inside my degree.
I classify "do know" as anything that I have a reasonable grasp of or at least some basic experience with -- the kind of experience I'd expect a CS student to be able to get. If I say I don't know something, it means either I know pretty much nothing about it (for "gr
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| import UIKit | |
| import Foundation | |
| import ReactiveCocoa | |
| import Result | |
| import Dwifft | |
| /** | |
| Encapsulates information about collection view nib/cell registration. | |
| - Nib: UINib. |
A number of tech news outlets, including WIRED, GigaOm, and MIT Technology Review, have recently started writing about Multipeer Connectivity ("one weird trick that the NSA hates"). Since the NSHipster article on the subject has been linked to in a lot of this coverage, I wanted to share some additional thoughts on the matter:
Multipeer Connectivity(http://nshipster.com/multipeer-connectivity/) represents a significant shift in the opposite direction of how we conventionally think about mobile applications. Nearly every app on your phone operates in a client-server model, with the device making requests to remote cloud services to send and receive messages, photos, and videos. The [
| import UIKit | |
| //MARK: MultiPeer_CustomClass | |
| class MultiPeer_CustomClass : NSObject | |
| { | |
| //MARK: Local Variables | |
| var name : String? | |
| var age : Int? | |
| var email : String? |
| import UIKit | |
| class ViewController: UIViewController | |
| { | |
| override func viewDidLoad() | |
| { | |
| super.viewDidLoad() | |
| MultiPeerHelper.sharedInstance.startBrowsingAndAdvertising() | |
| } |
| import UIKit | |
| //MARK: MultiPeer_CustomClass | |
| class MultiPeer_CustomClass : NSObject | |
| { | |
| //MARK: Local Variables | |
| var name : String? | |
| var age : Int? | |
| var email : String? | |