Skip to content

Instantly share code, notes, and snippets.

@shturm
shturm / sublime.reg
Created October 22, 2022 05:13
Add "Open folder in Sublime Text 3" to windows explorer context menu
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\sublime_text]
@="Open with Sublime Text"
"Icon"="\"C:\\Program Files\\Sublime Text\\sublime_text.exe\",0"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\sublime_text\command]
@="C:\\Program Files\\Sublime Text\\sublime_text.exe \"%1\""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\sublime_text]
@shturm
shturm / dotnet.md
Last active September 6, 2023 07:41
DotNetCore 6/7 ASP.NET CLI cheatsheet

Create new asp.net site with SQLite database dotnet new mvc -au Individual

Cross compile on Windows for Ubuntu: dotnet publish --runtime ubuntu.22.04-x64 -c Release then to run it dotnet myprojname.dll

Create a minimal dotnet 7 app with anonymous function for endpoints dotnet new web