Skip to content

Instantly share code, notes, and snippets.

View mikermcneil's full-sized avatar

Mike McNeil mikermcneil

View GitHub Profile
* A simple example of how to use Waterline v0.10 with Express
var express = require('express'),
_ = require('lodash'),
app = express(),
Waterline = require('waterline');
// Require any waterline compatible adapters here
mikermcneil / test-swift-cors.html
Created July 8, 2012 03:14 — forked from adrian/test-swift-cors.html
Swift CORS Javascript Example
<!DOCTYPE html>
<title>Test Swift CORS</title>
<!-- Only using jQuery for jQuery.parseJSON -->
<script src=""></script>
<div style="border: thin solid grey; padding-left: 10px; width: 50%; margin-left: auto; margin-right: auto">