Skip to content

Instantly share code, notes, and snippets.

View IvanJosipovic's full-sized avatar

Ivan Josipovic IvanJosipovic

View GitHub Profile
@IvanJosipovic
IvanJosipovic / branch-diff.yaml
Created March 15, 2022 23:04
branch-diff.yaml
name: Branch-Diff
on:
workflow_dispatch:
inputs:
sourceRef:
description: 'Source Ref'
required: true
default: 'origin/predev'
destinationRef:
@IvanJosipovic
IvanJosipovic / MyApp.csproj
Created February 23, 2022 17:04
Blazor WASM Cache Bust
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="6.0.2" />
</ItemGroup>
@IvanJosipovic
IvanJosipovic / UserController.cs
Created September 15, 2021 05:02
Blazor API based Identity
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.WebUtilities;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
@IvanJosipovic
IvanJosipovic / global.json
Last active October 2, 2022 21:45
.Net Core global.json
// 3.1.x
{
"sdk": {
"version": "3.1.0",
"rollForward": "latestFeature"
}
}
// 6.0.x
{
@IvanJosipovic
IvanJosipovic / dependabot.yml
Last active November 28, 2020 01:42
Dependabot Pin .Net Core 3.x
version: 2
updates:
- package-ecosystem: nuget
directory: "/"
schedule:
interval: daily
time: "06:00"
timezone: America/Vancouver
open-pull-requests-limit: 10
ignore:
@IvanJosipovic
IvanJosipovic / NordeVPNCLI.md
Last active May 21, 2019 00:19
NordeVPN Windows CLI Arguments

Command Line Arguments for NordeVPN.exe Windows

--debug

--connect

--ui-test

--test-name