Skip to content

Instantly share code, notes, and snippets.

View patriksvensson's full-sized avatar

Patrik Svensson patriksvensson

View GitHub Profile
@patriksvensson
patriksvensson / Publish Profile
Created October 6, 2014 15:35
Cake: Publish Profile
MSBuild("./src/MySolution.sln", settings =>
settings.WithProperty("DeployOnBuild", "true")
.WithProperty("PublishProfile", "profilename"));
// Ragnar is available on NuGet: http://www.nuget.org/packages/ragnar
// The source code is available on GitHub: https://github.com/libragnar/ragnar
using System;
using System.IO;
using System.Linq;
using System.Threading;
namespace Ragnar.SampleClient
{
@patriksvensson
patriksvensson / build.cmd
Last active August 29, 2015 14:02
OrigoDB build script
@echo off
:Build
cls
echo Restoring NuGet packages for solution...
"tools\nuget\nuget.exe" "restore" "src/OrigoDB.sln"
echo.
if not exist tools\Cake\Cake.exe (

Keybase proof

I hereby claim:

  • I am patriksvensson on github.
  • I am patrik (https://keybase.io/patrik) on keybase.
  • I have a public key whose fingerprint is E593 4284 B512 7D90 91F4 6BCF C5F8 5792 0D28 8299

To claim this, I am signing this object:

@patriksvensson
patriksvensson / DynamicXmlReader.cs
Created April 12, 2011 12:12
Uses the dynamic keyword to parse XML.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Dynamic;
using System.Xml;
using System.Xml.Linq;
using System.Collections;
namespace Patrik.Gists