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
using Microsoft.EntityFrameworkCore; | |
using Microsoft.Extensions.DependencyInjection; | |
using Npgsql; | |
namespace DockerPSQLGitHubActionDebug | |
{ | |
class Program | |
{ | |
static async Task Main(string[] args) | |
{ |
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
name: Version, Build, and Deploy | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- 'v*' # This will match tags like v1.0, v2.0.1, etc. and is used to deploy to production | |
pull_request: | |
branches: |
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
2022-07-09 17:57:26.242 +00:00 [INF] Executing endpoint '/Documents/Project/Index' | |
2022-07-09 17:57:26.245 +00:00 [INF] Route matched with {page = "/Documents/Project/Index", controller = "", area = "", action = ""}. Executing page /Documents/Project/Index | |
2022-07-09 17:57:26.247 +00:00 [INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy | |
2022-07-09 17:57:26.249 +00:00 [INF] Executing handler method Volo.Docs.Pages.Documents.Project.IndexModel.OnGetAsync - ModelState is "Valid" | |
2022-07-09 17:57:26.251 +00:00 [INF] AUDIT LOG: [200: GET ] /en/docs/latest | |
- UserName - UserId : admin - a3da67aa-6b62-a40f-dda6-3a049f423732 | |
- ClientIpAddress : 85.220.108.182 | |
- ExecutionDuration : 0 | |
- Actions: | |
- Volo.Docs.Documents.DocumentAppService.FullSearchEnabledAsync (0 ms.) |
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
{ | |
"id": "c27a2660-457c-419a-915b-551fb94522b4", | |
"name": "My Visual Studio extensions", | |
"description": "A collection of my Visual Studio extensions", | |
"version": "1.0", | |
"extensions": [ | |
{ | |
"name": "Add New File", | |
"vsixId": "2E78AA18-E864-4FBB-B8C8-6186FC865DB3" | |
}, |
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
Visual Studio About | |
Microsoft Visual Studio Community 2017 Preview | |
Version 15.7.0 Preview 2.0 | |
VisualStudio.15.Preview/15.7.0-pre.2.0+27520.0 | |
Microsoft .NET Framework | |
Version 4.7.02558 | |
Installed Version: Community |
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
/// <summary> | |
/// Just a simple wraper for getting values from resx file with just basic error handling | |
/// </summary> | |
/// <example> | |
/// Usage is just like = ErrorStrings.Current.NotAValidEmail; | |
/// </example> | |
public class ErrorStrings | |
{ | |
public string NotAValidEmail |
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
/// <summary> | |
/// Encrypts a SecureString to a regular string. | |
/// </summary> | |
/// <remarks>This is a draft that Im hoping to get comments on in http://stackoverflow.com/a/26202992/1187583</remarks> | |
public static string EncryptSecureStringToRegularString(this SecureString secureString) | |
{ | |
var pointer = IntPtr.Zero; | |
try | |
{ |
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
#Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions | |
#Enable-RemoteDesktop | |
choco install lastpass | |
cinst dropbox | |
cinst cmdermini.portable | |
cinst PowerShellGAC | |
cinst swish | |
cinst DRKSpider | |
cinst Slickrun |