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
{ | |
"user": { | |
"method": "GET", | |
"url": "/user/1/", | |
}, | |
"cart": { | |
"method": "GET", | |
"url": "/cart/1/", | |
}, | |
"log": { |
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
// Content.js | |
Content.construct = function(statics, cursor, {country}) { | |
cursor = cursor.update(() => Immutable.fromJS({ | |
country: (country || ""), | |
url: statics.routePath, | |
})) | |
return new Promise((resolve, reject) => | |
setTimeout(() => resolve("Hello World"), 500)) | |
.then((value) => cursor.cursor('world').update(() => value)) | |
} |
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
1995-01-01 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
1995-03-01 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
1995-05-01 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
1995-07-01 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
1995-09-01 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
1995-11-01 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
1996-01-01 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
1996-03-01 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
1996-05-01 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
1996-07-01 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
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
1995-01-01 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
1995-03-01 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
1995-05-01 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
1995-07-01 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
1995-09-01 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
1995-11-01 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
1996-01-01 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
1996-03-01 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
1996-05-01 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
1996-07-01 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
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
#include "stdio.h" | |
/* a size type */ | |
typedef struct | |
{ | |
int width; | |
int height; | |
} size; | |
/* create a new size */ |
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
#include "minefield.h" | |
#include "util.h" | |
#include "size.h" | |
#include "vector.h" | |
#include "spot.h" | |
/* create a new minefield */ | |
minefield minefield_new(size s) | |
{ |
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
#include "util.h" | |
#include "vector.h" | |
#include "spot.h" | |
#ifndef MINEFIELD_H | |
#define MINEFIELD_H | |
/* define a minefield type */ | |
typedef struct | |
{ |
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
%{ | |
#import <Foundation/Foundation.h> | |
#import <stdlib.h> | |
#import "SVGBase.h" | |
#import "SVGLength.h" | |
#import "SVGAngle.h" | |
#import "y.tab.h" | |
void yyerror(char *); | |
%} |
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
diff --git a/2ef7d14040a261fe284a8b72490712d4019a5766__base.py b/base.py | |
index d0a4b63..4c4d9eb 100644 | |
--- a/2ef7d14040a261fe284a8b72490712d4019a5766__base.py | |
+++ b/base.py | |
@@ -114,25 +114,23 @@ class BaseHandler(object): | |
response = middleware_method(request, callback, callback_args, callback_kwargs) | |
if response: | |
break | |
- | |
- if response is None: |
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
➜ test echo "$(curl -fksSL https://raw.github.com/gist/2394281/luadist.sh)" | bash | |
OlderNewer