Skip to content

Instantly share code, notes, and snippets.

View Joren-Thijs's full-sized avatar

Joren Thijs Joren-Thijs

View GitHub Profile
@Joren-Thijs
Joren-Thijs / ohmyposhv3-v2.json
Last active November 5, 2021 08:52 — forked from shanselman/ohmyposhv3-v2.json
ohmyposhv3-v2
{
"final_space": true,
"console_title": true,
"console_title_style": "folder",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"horizontal_offset": 0,
"vertical_offset": 0,
@Joren-Thijs
Joren-Thijs / settings.json
Created November 5, 2021 08:30
Windows terminal settings
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions":
[
{
"command":
{
"action": "copy",
"singleLine": false
},
@Joren-Thijs
Joren-Thijs / settings.json
Created November 5, 2021 08:29
VS Code settings
{
"security.workspace.trust.untrustedFiles": "open",
"telemetry.telemetryLevel": "crash",
"editor.fontFamily": "CaskaydiaCove Nerd Font Mono",
"editor.minimap.enabled": false,
"editor.renderWhitespace": "none",
"editor.renderControlCharacters": false,
"editor.formatOnSave": true,
# Import modules
Import-Module posh-git
Import-Module oh-my-posh
Import-Module -Name Terminal-Icons
Import-Module PSReadLine
Set-PoshPrompt -Theme 'robbyrussel'
Set-PSReadLineOption -PredictionSource History
Set-PSReadLineOption -PredictionViewStyle ListView
@Joren-Thijs
Joren-Thijs / settings.json
Created June 18, 2021 21:00
settings.json tohide compiled css files from our file explorer
{
"files.exclude": {
"**/*.razor.css": true,
"**/*.razor.css.map": true
}
}
@Joren-Thijs
Joren-Thijs / BlazorScssDemoFinal.csproj
Created June 18, 2021 20:43
Csproj file with support for compiling scss files with dotnet watch.
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
<PropertyGroup>
<TargetFramework>net5</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="5.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="5.0.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" Version="5.0.0" />
@Joren-Thijs
Joren-Thijs / BlazorScssDemoIsolated.csproj
Created June 18, 2021 20:38
Csproj file with commands to compile blazor scoped scss files.
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
<PropertyGroup>
<TargetFramework>net5</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="5.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="5.0.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" Version="5.0.0" />
@Joren-Thijs
Joren-Thijs / BlazorScssDemo.csproj
Last active November 6, 2020 19:09
Blazor WASM project file with MSBuild Task to compile SCSS step 1
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="5.0.0-rc.2.20475.17" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="5.0.0-rc.2.20475.17" PrivateAssets="all" />
<PackageReference Include="System.Net.Http.Json" Version="5.0.0-rc.2.20475.5" />
@Joren-Thijs
Joren-Thijs / package.json
Last active October 29, 2020 15:43
BlazorScssDemo package.json
{
"name": "BlazorScssDemo",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"sass": "sass"
},
"keywords": [],
"author": "",