Due to the high usage of this guide and the lack of comfort in Gist's commenting area, I decided to make a blog post out of this which you can find here:
http://blog.frd.mn/install-os-x-10-10-yosemite-in-virtualbox/
// NSScanner+Swift.swift | |
// A set of Swift-idiomatic methods for NSScanner | |
// | |
// (c) 2015 Nate Cook, licensed under the MIT license | |
import Foundation | |
extension NSScanner { | |
// MARK: Strings |
Due to the high usage of this guide and the lack of comfort in Gist's commenting area, I decided to make a blog post out of this which you can find here:
http://blog.frd.mn/install-os-x-10-10-yosemite-in-virtualbox/
static NSString *SQLNullValueString = [[NSString alloc] initWithString:@"NULL"]; | |
/* Prototypes */ | |
NSString *SQLWhereClauseForPredictate(NSPredicate *predicate); | |
NSString *SQLExpressionForNSExpression(NSExpression *expression); | |
/* Implementation */ |
#!/sbin/runscript | |
[[ -z "${PIDFILE}" ]] && PIDFILE="/var/run/gunicorn/${SVCNAME}.pid" | |
[[ -z "${BINARY}" ]] && BINARY="/usr/bin/gunicorn" | |
depend() { | |
need net | |
use dns logger netmount | |
} |