Skip to content

Instantly share code, notes, and snippets.

View ebdrup's full-sized avatar

Allan Ebdrup ebdrup

View GitHub Profile
@ebdrup
ebdrup / logInfo.js
Last active August 29, 2015 13:56
Logging info with errors in Muscula
//This information will be logged and aggregated with your errors
//It will be shown on the details of each error group
Muscula.info = {
email: "[email protected]",
sessionId: 42,
lovesDogs: true
//and your own properties and values
};
@ebdrup
ebdrup / JSON.cs
Created March 10, 2013 17:05
JSON mixin like underscore extend for dotNet (works on JSON strings not Objects). Relies on Newtonsoft.Json from http://json.net
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Newtonsoft.Json;
namespace CopenhagenCode
{
public class JSON