This file contains 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.Extensions.DependencyInjection; | |
namespace App.Services; | |
public class AppServiceRegistrant : ServiceRegistrant | |
{ | |
public AppServiceRegistrant(IServiceCollection services) | |
: base(services) { } | |
public override void Register() | |
{ |
This file contains 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
[CmdletBinding()] | |
Param( | |
[Parameter()] | |
[string]$path = ".\computer-info.txt" | |
) | |
$bios = Get-CimInstance Win32_BIOS | Select-Object -Property Manufacturer,Name,SerialNumber,Version | |
$os = Get-CimInstance Win32_OperatingSystem | Select-Object -Property Version,BuildNumber,RegisteredUser,SerialNumber | |
$qfe = Get-CimInstance Win32_QuickFixEngineering | Select-Object -Property Description,HotFixID,InstalledOn | |
$products = Get-CimInstance Win32_Product | Select-Object -Property Name,Vendor,Version,Caption | Format-List |
For an example application that integrates this process, see my FullstackOverview repo on GitHub. The code in this example is taken directly from this app.
This component allows you have a custom styled file upload element.
This file contains 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
## Pre-requisite: You have to know your last commit message from your deleted branch. | |
git reflog | |
# Search for message in the list | |
# a901eda HEAD@{18}: commit: <last commit message> | |
# Now you have two options, either checkout revision or HEAD | |
git checkout a901eda | |
# Or | |
git checkout HEAD@{18} |
- e2e-disposable-data
Establish a seeding strategy that allows graphs of data to be fed through the Rig API to prevent cirumvention of app API data restrictions.Build out a vanilla TypeScript RigService class that provides an interface into the Rig API and automates database initialization + process start.Integrate Cypress testing strategy (initially established in this gist into the RigService.Establish lifecycle patterns that support multiple e2e tests in one RigService lifetime:RigService:Initialize Database
Start Process