Skip to content

Instantly share code, notes, and snippets.

@gligoran
gligoran / CookieWebClient.cs
Created December 19, 2011 10:27
Getting and using reddit_session Cookie
using System;
using System.Net;
namespace Reddit
{
internal class CookieWebClient : WebClient
{
public CookieWebClient()
: base()
{
@gligoran
gligoran / gist:1078530
Created July 12, 2011 17:51
Glimpse.Mvc3 with MvcTurbine
public class MvcApplication : TurbineApplication
{
public MvcApplication()
{
ServiceLocatorManager.SetLocatorProvider(() => new UnityServiceLocator());
Engine.Initialize
.DisableHttpModuleRegistration()
.AutoRegistrator<DAR>();
}