Skip to content

Instantly share code, notes, and snippets.

View sethwebster's full-sized avatar

Seth Webster sethwebster

View GitHub Profile
var Packages = PackageRepo.GetAll()
.Where(p => !p.IsPrerelease)
.ToV1FeedPackageQuery(Configuration.SiteRoot);
<service xmlns:atom="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app" xmlns="http://www.w3.org/2007/app" xml:base="https://wgccnuget.corp.intuit.net/api/v1/FeedService.svc/">
<workspace>
<atom:title>Default</atom:title>
</workspace>
</service>
// Run this on another thread since the signalr client doesn't like it
// when we spend a long time processing messages synchronously
Task.Factory.StartNew(() =>
{
string content = message.Content;
string name = message.User.Name;
// Ignore replies from self
if (name.Equals(Name, StringComparison.OrdinalIgnoreCase))
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Amazon.S3.Transfer;
using System.Collections.Specialized;
using System.Configuration;
using Amazon.S3.Model;
using System.IO;
using Amazon.S3.Util;