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
require 'formula' | |
class OpenOcd < Formula | |
url 'http://download.berlios.de/openocd/openocd-0.5.0.tar.bz2' | |
homepage 'http://openocd.berlios.de/web/' | |
md5 '43434c2b5353c9b853278b8bff22cb1a' | |
head 'git://openocd.git.sourceforge.net/gitroot/openocd/openocd' | |
depends_on 'libusb-compat' |
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
Warning: open-ocd already installed | |
==> Installing open-ocd | |
==> Cloning git://openocd.git.sourceforge.net/gitroot/openocd/openocd | |
Updating /Users/nmartin/Library/Caches/Homebrew/open-ocd--git | |
git remote set-url origin git://openocd.git.sourceforge.net/gitroot/openocd/openocd | |
git fetch origin | |
git reset --hard origin/HEAD | |
HEAD is now at c59a441 stlink-v1: fix memory writes | |
git checkout-index -a -f --prefix=/private/tmp/homebrew-open-ocd-HEAD-0cPH/ | |
git submodule init |
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
//Output: | |
/* | |
Frameworks/Debug/Objective-J/Objective-J.js:4322011-05-27 20:42:05.282 Cappuccino [info]: observed: attributeController.arrangedObjects change: { | |
CPKeyValueChangeKindKey = "1" | |
CPKeyValueChangeOldKey = "newArrayObject" | |
CPKeyValueChangeNewKey = "newArrayObject" | |
} | |
Frameworks/Debug/Objective-J/Objective-J.js:4322011-05-27 20:42:05.284 Cappuccino [info]: observed: attributeController.arrangedObjects change: { | |
CPKeyValueChangeKindKey = "1" | |
CPKeyValueChangeOldKey = "newArrayObject" |
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
@implementation NMValidatedObjectProxy : CPProxy | |
{ | |
NMValidatedObject _realObject; | |
BOOL isFault; | |
} | |
-(id)initWithValidatedObject:(NMValidatedObject)theObject | |
{ | |
_realObject = theObject; |
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
CPLog(@"testing return method - return value: %@", [testPosting testReturn]); |
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
- (id)forwardInvocation:(CPInvocation)anInvocation | |
{ | |
CPLog(@"Forwarding invocation from %@ to %@", self, _realObject); | |
var aSelector = [anInvocation selector]; | |
if ([_realObject respondsToSelector:aSelector]) | |
{ | |
[anInvocation invokeWithTarget:_realObject]; | |
CPLog(@"finished invocation"); |
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
class JobPostingsController < ApplicationController | |
# GET /job_postings | |
# GET /job_postings.xml | |
# GET /job_postings.json | |
def index | |
@job_postings = JobPosting.all | |
respond_to do |format| | |
#format.html # index.html.erb | |
format.json { render :json => @job_postings } |
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
2009-11-13 20:48:52.310 Cappuccino: initing joblistcontroller | |
2009-11-13 20:48:52.312 Cappuccino: getting all test objects | |
2009-11-13 20:48:52.313 Cappuccino: fullPath: http://0.0.0.0:3000/job_postings | |
2009-11-13 20:48:52.350 Cappuccino: Could not connect the outlet jobListController of target of class AppController | |
2009-11-13 20:48:52.755 Cappuccino: receiving | |
2009-11-13 20:48:52.756 Cappuccino: receiving | |
2009-11-13 20:48:52.756 Cappuccino: [{"job_posting":{"created_at":"2009-12-02T05:56:45Z","title":"test title","company_name":"a name","updated_at":"2009-12-02T05:56:45Z","id":5,"description":"This is a description"}}] | |
2009-11-13 20:48:52.756 Cappuccino: [{"job_posting":{"created_at":"2009-12-02T05:56:45Z","title":"test title","company_name":"a name","updated_at":"2009-12-02T05:56:45Z","id":5,"description":"This is a description"}}] |
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
@import <Foundation/CPObject.j> | |
@import "NMJobPosting.j" | |
@import "NMValidatedObjectContext.j" | |
@implementation NMJobListController : CPObject | |
{ | |
//SNIP | |
NMValidatedObjectContext context; | |