Skip to content

Instantly share code, notes, and snippets.

View saiwolf's full-sized avatar

Robert Cato saiwolf

View GitHub Profile
@saiwolf
saiwolf / profile.ps1
Last active January 29, 2019 17:24 — forked from timsneath/profile.ps1
PowerShell template profile: adds some useful aliases and functions
### PowerShell template profile
### Modified By: Robert Cato <saiwolf@swmnu.net>
### Forked From, and All Credit Due:
### PowerShell template profile
### Version 1.03 - Tim Sneath <tim@sneath.org>
### From https://gist.github.com/timsneath/19867b12eee7fd5af2ba
###
### This file should be stored in $PROFILE.CurrentUserAllHosts
### If $PROFILE.CurrentUserAllHosts doesn't exist, you can make one with the following:
@saiwolf
saiwolf / IQueryableExtensions.cs
Last active January 18, 2019 01:38 — forked from rionmonster/IQueryableExtensions
(2.1 version by Bramvanelderen10) Resolve the SQL being executed behind the scenes in Entity Framework Core
using Microsoft.EntityFrameworkCore.Internal;
using Microsoft.EntityFrameworkCore.Query;
using Microsoft.EntityFrameworkCore.Query.Internal;
using Microsoft.EntityFrameworkCore.Storage;
using System;
using System.Linq;
using System.Reflection;
namespace Some.Namespace.Here
{