Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block bluebaroncanada

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:20d71bc66d3de61bdb5fbbf19c03f5eb
@model IndexModel
@using System.IO
ViewData["Title"] = "Home page";
@{ var cpuinfo = await System.IO.File.ReadAllLinesAsync("/proc/cpuinfo");}
View gist:669f999757f93abd82d1fabba93d2b56
jbaro@DESKTOP-77O1N5O MINGW64 ~
$ nslookup
Non-authoritative answer:
jbaro@DESKTOP-77O1N5O MINGW64 ~
$ curl
% Total % Received % Xferd Average Speed Time Time Time Current
View gist:acc46fc9f4b0a34f8ab56622e8421bc2
SET @VendorId = 1968
SET @UserId = '905e7ff7-b059-4e5d-ae85-586957c4d247'
SELECT [CM].[CoverageMarkupId]
View gist:dcde3186674ccc0b0e4bdca2f26eb7a2
$ git log
commit 428de914c9c8b89c5a9439715a2c63a5c2cb8f44 (HEAD -> master, origin/master, origin/HEAD)
Author: James Baron <>
Date: Thu Jul 11 14:58:01 2019 -0400
removed test 1
commit ef5a2e7a0d52a45060414978fa958f60947ef81e
Author: James Baron <>
View gist:a4a92099ccf8e55d3f83c1d42a76ca70
james@jackdaw MINGW64 ~/global/EazeeApp/Source (master)
$ ./nuget restore EazeeApp.sln
MSBuild auto-detection: using msbuild version '16.0.461.62831' from 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\bin'.
Restoring NuGet package EntityFramework.6.1.1.
Restoring NuGet package itextsharp.xmlworker.5.5.4.
Restoring NuGet package Z.EntityFramework.Plus.EF6.1.8.21.
Restoring NuGet package Autofac.4.9.0.
Restoring NuGet package iTextSharp.5.5.4.
Restoring NuGet package ThenInclude.EF6.
Restoring NuGet package Newtonsoft.Json.12.0.1.
View gist:d55c6bb31ab839f7afa0a934a7fc51c4
This one works
<Reference Include="Autofac, Version=, Culture=neutral, PublicKeyToken=17863af14b0044da, processorArchitecture=MSIL">
This one doesn't
<Reference Include="Autofac.Integration.Mvc, Version=, Culture=neutral, PublicKeyToken=17863af14b0044da, processorArchitecture=MSIL">
View gist:336b8d3fa70db9c63505dc9a8beb0199
"Mon Jun 10 2019 16:32:38 GMT-0400 (Eastern Daylight Time)"
View gist:d7109c31d7d194f2044ef067d04dfd6b
james on Wed May 22 at 06:22 PM in ~/bluebaron/sfm/identity-server/IdentityServer branch: (HEAD)
>> dotnet aspnet-codegenerator identity --help
Usage: aspnet-codegenerator [arguments] [options]
generator Name of the generator. Check available generators below.
View gist:f226bf0fe4a39bad53d78fb4044cefe0
"coverage":"Superior Value 24 Mn/24,000 Kms $2500",
"coverageGroup":"Superior Value",
View gist:c4b613baff85c5d5da2ecb5349d49546
updateRebates(vendorId: number) {
this.dealerService.VendorRetrieveDealsRebates(vendorId).subscribe(rebates => {
let currentCoverageGroup = "";
this.groupedDealsRebates = [];
for (let rebateA of rebates) {
if (rebateA.coverageGroup === currentCoverageGroup) {
You can’t perform that action at this time.