Skip to content

Instantly share code, notes, and snippets.

View fredeil's full-sized avatar
🤔

Fredrik Eilertsen fredeil

🤔
View GitHub Profile
@fredeil
fredeil / mongodb_c#_cheatsheet.md
Created January 3, 2020 07:41 — forked from a3dho3yn/mongodb_c#_cheatsheet.md
MongoDB C# Driver Cheat Sheet

MongoDB C# Driver Cheat Sheet

(C) 2015 by Derek Hunziker, (C) 2017 by AppsOn

As of releasing MongoDB 3.4 and C# Driver v2.4, original cheatsheet by Derek is outdated. In addition, it has some deficiencies like connecting to MongoDB, creating indexes, etc. This updated version works fine with C# Driver v2.4.7 and MongoDB v3.4.

Setup

Define Document Models

Note: Defined models and collections will be used in entire cheatsheet.

@fredeil
fredeil / rxtpl.cs
Created January 25, 2019 08:55 — forked from valm/TPL DataFlow and Reactive Extensions Examples
TPL DataFlow and Reactive Extensions Example
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Reactive.Linq;
using System.Text;
using System.Threading;

I've worked with AngularJS for many years now and still use it in production today. Even though you can't call it ideal, given its historically-formed architecture, nobody would argue that it became quite a milestone not only for evolution of JS frameworks, but for the whole web.

It's 2017 and every new product/project has to choose a framework for development. For a long time I was sure that new Angular 2/4 (just Angular below) will become the main trend for enterprise development for years to come. I wasn't even thinking of working with something else.

Today I refuse to use it in my next project myself.

@fredeil
fredeil / introrx.md
Created May 7, 2018 05:37 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing