Skip to content

Instantly share code, notes, and snippets.

View Carl-Hugo's full-sized avatar

Carl-Hugo Marcotte Carl-Hugo

View GitHub Profile
@Carl-Hugo
Carl-Hugo / master.yml
Last active February 13, 2024 23:15
GitHub Action: Deploy Blazor WASM to GitHub Pages
name: Deploy Blazor WASM to GitHub Pages
on:
push:
branches: [main]
jobs:
deploy-to-github-pages:
runs-on: ubuntu-latest
steps:
@Carl-Hugo
Carl-Hugo / OptionsGist.csproj
Last active October 25, 2020 22:03
2020-10-25-Options-DavidF
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<LangVersion>preview</LangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="5.0.0-rc.2.20475.5" />
@Carl-Hugo
Carl-Hugo / README.md
Last active September 15, 2020 01:19
Ubuntu .Net Core SDK snippets

Ubuntu .Net Core SDK snippets

Uninstall all .Net Core SDK

sudo apt remove dotnet-host

Fix Packages were downgraded and -y was used without --allow-downgrades

@Carl-Hugo
Carl-Hugo / darkreader-config
Last active May 18, 2020 16:57
[DarkReader] "100% content width" updates to martinfowler.com & refactoring.com
================================
martinfowler.com
refactoring.com
INVERT
.paperBody img
CSS
main, #banner, #page-footer, .navmenu {