ssh-keygen -t ed25519 -C "email@example.com"
# enter a file in which to save the key (/c/Users/YOU/.ssh/ed25519):[Press enter]
# enter passphrase(empty for no passphrase): [Type a passphrase]
# Enter same passphrase again: [Type passphrase again]
# from admin powershell
Get-Service -Name ssh-agent | Set-Service -StartupType Manual
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
## 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
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
body { | |
cursor: url( | |
"data:image/svg+xml;utf8, | |
<svg xmlns='http://www.w3.org/2000/svg' width='64' height='64' style='font-size: 32px'> | |
<text y='50'>🚀</text> | |
</svg>" | |
), auto; | |
} |
The intent behind the code files provided in this repository is to abstract away the need to generate unique source services each time a query source is needed. Instead, a generic QuerySource
class is able to be instantiated per API route, and is managed internal to the component that uses it. To prevent from needing to inject all of the dependencies required by QuerySource
into the host component, a QueryGenerator
service is made available that handles instantiation of QuerySource
objects via its [generateSource
](https://gist.github.com/JaimeStill/9792fc15063e8c9fbd9bafa5650b4398#