馃嚭馃嚘
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"blocks": [ | |
{ | |
"type": "prompt", | |
"alignment": "left", | |
"newline": false, | |
"segments": [ | |
{ | |
"type": "time", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// in Startup.cs | |
using Microsoft.AspNetCore.Mvc.Infrastructure; | |
using IdentityServer4.Hosting; | |
public void Configure(IApplicationBuilder app, IWebHostEnvironment env) | |
{ | |
using (var scope = app.ApplicationServices.CreateScope()) | |
{ | |
var _obj = scope.ServiceProvider.GetRequiredService<IActionDescriptorCollectionProvider>(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO off | |
SETLOCAL enabledelayedexpansion | |
SET /p var=Want to Hibernate? [Y/N]: | |
@REM Convert y to Y: | |
IF %var%== y ( | |
SET var=Y | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Disable-FileExplorerAdobeCC { | |
Set-ItemProperty -path "HKCU:\Software\Classes\CLSID\{0E270DAA-1BE6-48F2-AC49-D6F5D56BD88B}" -Name "System.IsPinnedToNameSpaceTree" -value 0 -Type DWord; | |
Read-Host -Prompt "Press Enter to exit"; | |
} | |
Disable-FileExplorerAdobeCC; | |
function Disable-FileExplorerOneDrive { | |
Set-ItemProperty -path "HKCU:\Software\Classes\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" -Name "System.IsPinnedToNameSpaceTree" -value 0 -Type DWord; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Deprecated. | |
# Settings: | |
# (Red, Green, Blue) | |
# Screen Background: 242, 242, 242 | |
# Screen Text: 12, 12, 12 | |
# Screen Background: 204, 204, 204 | |
# Screen Text: 58, 150, 221 | |
# Font: Cascadia Code PL | |
# Font Size: 18 |