Skip to content

Instantly share code, notes, and snippets.

View zorn's full-sized avatar
💸
Elixir Contractor For Hire

Mike Zornek zorn

💸
Elixir Contractor For Hire
View GitHub Profile
@zorn
zorn / changes.md
Last active December 30, 2016 02:30

CocoaHead Meeting Changes

New Start Time

We are changing the meeting times for our main, second Thursday of the month, meeting.

Doors will now open at 6pm (was 6:30pm) for pizza and socializing. The meeting itself will start at 6:30pm and we'll shoot to end the meeting at 8:30pm (was 9:00pm). The goal of this change is to be a better guest of Apple and provide their cleaning crew enough time to restore the Briefing Room before the store officially closes.

Please continue to RSVP via meetup.com.

1 SharedFileList 0x00007fffa8624549 -[SFLList removeItem:] + 57
2 SharedFileList 0x00007fffa8638089 LSSharedFileListItemRemove + 176
3 AppKit 0x00007fffa53308ea -[NSDocumentController _refreshRecentDocumentURL:newURL:forDocument:] + 308
4 AppKit 0x00007fffa5870537 __85-[NSDocument(NSDocumentSaving) _saveToURL:ofType:forSaveOperation:completionHandler:]_block_invoke.999 + 112
5 AppKit 0x00007fffa5870ee7 __85-[NSDocument(NSDocumentSaving) _saveToURL:ofType:forSaveOperation:completionHandler:]_block_invoke_4.1040 + 31
6 libdispatch.dylib 0x0000000100a6474d _dispatch_call_block_and_release + 12
7 libdispatch.dylib 0x0000000100a5afcc _dispatch_client_callout + 8
8 libdispatch.dylib 0x0000000100a6ba2f _dispatch_queue_override_invoke + 1360
9 libdispatch.dylib 0x0000000100a5d247 _dispatch_ro
## Current
Thanks for joining. The main website and calendar for Philly CocoaHeads is here:
<http://phillycocoa.org/>
Please stop by a meeting and if you have any questions let me know.
~ Mike Zornek
<zorn@phillycocoa.org>
private func loadCastData() {
// [
// {
// "title": "April Main Meeting",
// "date": "2016-04-14T18:30:00-0500",
// "rsvp_count": 2,
// "announced": false
// },
// {
10/6/15 10:33:59.609 AM smd[1504]: App "com.torusknot.SourceTreeNotMAS" did not pass helper check "com.atlassian.SourceTreePrivilegedHelper2".
10/6/15 10:33:59.609 AM SourceTree[4200]: Failed to install privileged helper: Error Domain=CFErrorDomainLaunchd Code=4 "(null)"
@zorn
zorn / testing.md
Last active August 29, 2015 14:23

An Introduction to Testing for iOS

Software testing is the process of evaluating software to detect differences between given inputs and expected outputs. Testing helps verify the working condition of software and is typically automated.

Testing on iOS (and other Apple platforms) has historically been behind other technical stacks (most notably web), both at a cultural level and a tools level -- but those times are changing. Over the last few years Apple has been putting more energy into their testing tools and today is a great time to get started with testing.

In this workshop we'll give you all the tools and practical examples you'll need to add meaningful testing to your projects. We'll cover the history and evolution of testing, both inside and outside of Apple. We'll introduce Apple's testing tools that let you verify binary logic, asynchronous code and performance-focused code. We'll even take a look at the new code coverage and UI testing system coming with Swift 2 and iOS 9. With these tools unde

book=# SELECT * FROM pg_available_extensions;
name | default_version | installed_version | comment
--------------------+-----------------+-------------------+----------------------------------------------------------------------
adminpack | 1.0 | | administrative functions for PostgreSQL
autoinc | 1.0 | | functions for autoincrementing fields
btree_gin | 1.0 | | support for indexing common datatypes in GIN
btree_gist | 1.0 | | support for indexing common datatypes in GiST
chkpass | 1.0 | | data type for auto-encrypted passwords
citext | 1.0 | | data type for case-insensitive character strings
cube | 1.0 | 1.0 | data type for multidimensional cubes
@zorn
zorn / gist:c20d7ddddf06ac3f5c61
Created May 4, 2015 21:56
UIViewController pseudo code
import UIKit
class UIViewController : NSObject {
var _view: UIView?
var view: UIViewb = {
if isViewLoaded() == false {
loadView()
viewDidLoad()
}
@zorn
zorn / gist:689dad42154d8600bdad
Created April 28, 2015 22:03
Demo of using a class to find the class name (minus module prefix)
import Cocoa
extension NSObject {
class func classNameNoModule() -> String {
let names = self.className().componentsSeparatedByString(".")
if let lastName = names.last {
return lastName
} else {
return self.className()
}