Skip to content

Instantly share code, notes, and snippets.


steveoh steveoh

View GitHub Profile
bradwilson / AutoMockWebApiAttribute.cs
Created Aug 22, 2013
Auto-mock setup for Web API
View AutoMockWebApiAttribute.cs
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Web.Http.Hosting;
using System.Web.Http.Routing;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Serialization;
using NSubstitute;
odoe / gulpfile.js
Created Feb 11, 2016
Sample gulpfile for Dojo builds
View gulpfile.js
var gulp = require('gulp');
var clean = require('gulp-clean');
var rename = require("gulp-rename");
var spawn = require('child_process').spawn;
gulp.task('clean-dist', function () {
return gulp.src('dist/', { read: false })