Skip to content

Instantly share code, notes, and snippets.

@davetimmins
davetimmins / gruntfile.js
Created April 15, 2014 23:52
basic gruntfile for packaging NuGet packages
module.exports = function (grunt) {
"use strict";
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
clean: ["dist"],
shell: {
makeDir: {
command: 'mkdir dist'
}
@davetimmins
davetimmins / gist:5367900
Created April 11, 2013 23:00
ServiceStack OAuth provider to allow authentication against ArcGIS Online
using ServiceStack.Configuration;
using ServiceStack.ServiceHost;
using ServiceStack.ServiceInterface;
using ServiceStack.ServiceInterface.Auth;
using ServiceStack.Common;
using ServiceStack.Text;
using System;
using System.Collections.Generic;
public class ArcGISAuthProvider : OAuthProvider