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
{ | |
"created": 1425714928, | |
"id": "evt_15dcmS2qY5VcKUuIgwl2qU61", | |
"api_version": "2015-02-18", | |
"request": "iar_5pHLdcZRvm0HuE", | |
"pending_webhooks": 1, | |
"data": { | |
"object": { | |
"id": "in_15dcmS2qY5VcKUuIudpdptFq", | |
"forgiven": false, |
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
for (var i = 0; i <= 100; i++) { | |
if((i % 3) === 0 && (i % 5) === 0) { | |
console.log(i + ": fizzbuzz"); | |
} | |
else if((i % 3) === 0) { | |
console.log(i + ": fizz"); | |
} | |
else if((i % 5) === 0) { |
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
[SetUpFixture] | |
public class SetupFixture | |
{ | |
private AppHost _appHost; | |
private static bool _hasInitted; | |
[SetUp] | |
public void StartWebApi() | |
{ | |
if (_appHost == null) |
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 div should have the inset shadow. overflow hidden --> | |
<div id="outer-container"> | |
<!-- this div should have a static height but a very large width to fit the | |
generated program items --> | |
<div id="container"> | |
<!-- inside here is where all the program items go --> | |
</div> |
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
var errorTypes = new Hasshu({ | |
'internal_error': 'An internal error occured', | |
'some_validation_error': 'Something didn\'t validate' | |
}); | |
errorTypes.forEach(function(code, message) { | |
var errorType = // use mapper on key |
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
var rest = require('restler'); | |
function Client(baseUrl) { | |
if (this instanceof Client) { | |
this.baseUrl = baseUrl; | |
} | |
else { | |
return new Client(baseUrl); | |
} | |
}; |
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
using System; | |
using System.Drawing; | |
using MonoTouch.Foundation; | |
using MonoTouch.UIKit; | |
using System.IO; | |
namespace BubbleExample | |
{ | |
public class RecipientBubble : UIView | |
{ |
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
Incident Identifier: 88EB71F8-C273-4F58-A918-4796C0ADA78E | |
CrashReporter Key: 21ceacf832119578d926fda2f091e5e51e24c729 | |
Hardware Model: iPhone3,1 | |
Process: SaambaaiPhone [5500] | |
Path: /var/mobile/Applications/995F2804-81DC-411D-A296-5D87A8353785/Saambaa.iPhone.app/SaambaaiPhone | |
Identifier: SaambaaiPhone | |
Version: ??? (???) | |
Code Type: ARM (Native) | |
Parent Process: launchd [1] |