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
// Code goes here | |
var testApp = angular.module('testApp', ['restangular']) | |
.config(function(RestangularProvider){ | |
RestangularProvider.setBaseUrl("http://localhost/"); | |
RestangularProvider.setRequestSuffix('/'); | |
}) | |
.controller('MainCtrl', function() { | |
}) |
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
➜ _bootstrap git:(master) cmake . | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: /Users/Eric/test/_bootstrap | |
➜ _bootstrap git:(master) ✗ make | |
Scanning dependencies of target lua | |
[ 0%] Creating directories for 'lua' | |
[ 0%] No download step for 'lua' | |
[ 0%] No patch step for 'lua' | |
[ 0%] No update step for 'lua' |
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 | |
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
%{ | |
#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
#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
#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 "stdio.h" | |
/* a size type */ | |
typedef struct | |
{ | |
int width; | |
int height; | |
} size; | |
/* create a new size */ |
NewerOlder