Skip to content

Instantly share code, notes, and snippets.

@arthernan
arthernan / gist:e59d385d7af56affff4e
Last active August 29, 2015 14:08
Node Windows VM setup
http://www.youtube.com/watch?v=x_9YzG-BMrU
sudo apt-get upgrade
sudo apt-get install openssh-server
ifconfig
# get the ip ad set it in C:\Windows\system32\Drivers\etc\hosts
mkdir ~/.ssh
@arthernan
arthernan / AboutTheStockExample.fs
Created March 7, 2014 22:57
F# FSharpKoans About The Stock Example solution
namespace FSharpKoans
open FSharpKoans.Core
//---------------------------------------------------------------
// Apply Your Knowledge!
//
// Below is a list containing comma separated data about
// Microsoft's stock prices during March of 2012. Without
// modifying the list, programatically find the day with the
// greatest variance between the opening and closing price.
@arthernan
arthernan / NewAuthorize
Created April 2, 2013 15:15
Improved AuthorizeAttribute for MicroSoft MVC4 WebAPI
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Security.Principal;
using System.Threading;
using System.Web;
using System.Web.Http;
using System.Web.Http.Controllers;