Skip to content

Instantly share code, notes, and snippets.

View ChrisMissal's full-sized avatar
💭
set status

Chris Missal ChrisMissal

💭
set status
View GitHub Profile
#requires -version 2.0
[CmdletBinding()]
param (
[parameter(Mandatory=$true)]
[ValidatePattern('\.rptproj$')]
[ValidateScript({ Test-Path -PathType Leaf -Path $_ })]
[string]
$Path,
[parameter(
@ChrisMissal
ChrisMissal / gist:1986986
Created March 6, 2012 15:52 — forked from pedroreys/gist:1986568
CreateResponse
public class CreateResponse : HttpResponseMessage
{
public CreateResponse()
{
StatusCode = HttpStatusCode.Created;
}
public CreateResponse(IApiResource resource) :this()
{
var location = new ResourceLocation();
@ChrisMissal
ChrisMissal / about.md
Created August 17, 2011 16:13 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer
@ChrisMissal
ChrisMissal / linq.js
Created January 13, 2010 15:47 — forked from nkohari/linq.js
/*
linq.js -- a simple LINQ implementation for javascript
Author: Nate Kohari <nate@enkari.com>
Copyright (C) 2009 Enkari, Ltd.
Released under the Apache 2.0 license (http://www.opensource.org/licenses/apache2.0.php)
*/
Array.prototype.all = function(func) {
var result = true;
this.iterate(function(item) {