| Models | Examples |
|---|---|
| Display ads | Yahoo! |
| Search ads |
This file contains hidden or 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
| /* | |
| Core Data is great but automatic migrations can be tricky. Migrations can take a long time, which could | |
| result in [your app being terminated](http://stackoverflow.com/questions/13333289/core-data-timeout-adding-persistent-store-on-application-launch) | |
| if it is happening on the main thread during application launch. Performing migrations on a background | |
| thread is also a [bad idea](http://stackoverflow.com/a/2866725/503916), meaning your application really | |
| needs to be able to fully launch *without a Core Data stack whatsoever* in order to safely migrate. | |
| This can be a huge change to make to an existing app. | |
| If you're really only using Core Data as a cache, you don't actually *need* to perform a migration. | |
| Simply check if the existing store is compatible with your managed object model and if so, delete |
This file contains hidden or 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
| #! /usr/bin/env python | |
| """ | |
| Pounce on an open OpenTable reservation. | |
| """ | |
| import sys, os, time, re, mechanize, gtk, webkit, threading, random | |
| rid = 1180 # OpenTable restaurant ID; 1180 = French Laundry | |
| people_choices = [3, 3, 3, 4] # number of people to request for; cycles through choices |
NewerOlder