This file contains 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
" This is James Gill's (https://github.com/jagill) version of | |
" http://vim.wikia.com/wiki/Move_to_next/previous_line_with_same_indentation | |
" I needed the option to move to a line with a different level of indentation, | |
" instead of just a lower level. | |
" | |
" Jump to the next or previous line that has the same level (or different | |
" level) of indentation than the current line. | |
" | |
" exclusive (bool): true: Motion is exclusive | |
" false: Motion is inclusive |
This file contains 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
Safari_Release_Version Safari_User-Agent_Version iOS_Versions | |
6.0 8536.25 6.0 | |
5.1 7534.48.3 5.0.x | |
5.0.2 6533.18.5 4.2.x-4.3.x | |
4.0.5 6531.22.7 4.0.x-4.1.0 | |
4.0.4 531.21.10 3.2.x | |
4.0 528.16 3.0.x-3.1.x | |
Unknown 525.18.1 2.2.1 | |
3.1.1 525.20 2.0.x-2.2.0 | |
3.0 419.3 1.x |
This file contains 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
// | |
// UIDeviceHardware.h | |
// | |
// Used to determine EXACT version of device software is running on. | |
#import <Foundation/Foundation.h> | |
@interface UIDeviceHardware : NSObject | |
+ (NSString *) platform; | |
+ (NSString *) platformString; |
This file contains 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
KVCModel *model = [[KVCModel alloc] init]; | |
model.aBoolean = NO; | |
NSDictionary *falseDict = [model objectToDictionary]; | |
NSLog(@"falseDict has boolean: %@", [falseDict objectForKey:@"aBoolean"]); | |
//2012-09-21 10:30:49.370 otest[12887:303] falseDict has boolean: 0 | |
model.aBoolean = YES; | |
NSDictionary *trueDict = [model objectToDictionary]; |
This file contains 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
<head> | |
<title>dynamicSubscriptions</title> | |
</head> | |
<body> | |
{{> hello}} | |
</body> | |
<template name="hello"> | |
<h1>Hello World!</h1> |
This file contains 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
### | |
Add coffeescript, random packages: | |
$ meteor add coffeescript random | |
Remove autopublish package: | |
$ meteor remove autopublish | |
### | |
##Set up collections and subscriptions | |
Items = new Meteor.Collection 'items' |
This file contains 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
assert = require('assert'); | |
describe('Test test', function(){ | |
it('should ignore pending tests'); | |
//it('should ignore pending tests', function(){ | |
//assert.ok(true); | |
//}); | |
This file contains 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
jag@coati:~$ brew update | |
Error: undefined method `to_sym' for nil:NilClass | |
Please report this bug: | |
https://github.com/mxcl/homebrew/wiki/troubleshooting | |
/usr/local/Library/Homebrew/cmd/update.rb:134:in `report' | |
/usr/local/Library/Homebrew/cmd/update.rb:132:in `each_line' | |
/usr/local/Library/Homebrew/cmd/update.rb:132:in `report' | |
/usr/local/Library/Homebrew/cmd/update.rb:36:in `update' | |
/usr/local/Library/brew.rb:91:in `send' | |
/usr/local/Library/brew.rb:91 |
This file contains 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
jag@coati:/tmp/node-ddp-client (master)$ npm install && npm test | |
> ddp@0.3.7 test /private/tmp/node-ddp-client | |
> ./node_modules/mocha/bin/mocha test | |
․․․․․․․․․ | |
✖ 4 of 9 tests failed: |
This file contains 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
jag@coati:~/madeye/integration-tests/apogee (develop)$ meteor --settings "$PWD/settings.json" --port $MADEYE_APOGEE_PORT --release 0.6.7-rc0 --raw-logs | |
=> Using Meteor 0.6.7-rc0 as requested (overriding Meteor 0.6.6.3) | |
[[[[[ ~/madeye/integration-tests/apogee ]]]]] | |
iron-router: updating npm dependencies -- connect... | |
stripe: updating npm dependencies -- stripe... | |
npm ERR! missing: coffee-script@1.6.3, required by pince@0.0.4 | |
npm ERR! missing: underscore@1.5.2, required by pince@0.0.4 | |
npm ERR! missing: moment@2.4.0, required by pince@0.0.4 |
OlderNewer