Skip to content

Instantly share code, notes, and snippets.

View Lakerfield's full-sized avatar

Michael Lakerveld Lakerfield

View GitHub Profile

main.js:

export function configure(aurelia) {
  aurelia.use
    .standardConfiguration()
    .developmentLogging();

  // Assuming a file named "knockout-custom-attribute.js", containing the
  // custom attribute class defined above, exists in the root of the project:
 aurelia.use.globalResources('./knockout-custom-attribute');
@tekmaven
tekmaven / gist:5842521
Created June 22, 2013 20:44
This is a mirror of http://www.pastie.org/1977343. It appears this site is down, and I retrieved this from the Google Cache. It contains a source code sample from a Stack Overflow answer (http://stackoverflow.com/questions/12081251/mongodb-as-a-queue-capped-collection-tailable-cursor). This is the only source code example I could find online wit…
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using MongoDB.Bson;
using MongoDB.Driver;
using MongoDB.Driver.Builders;