Skip to content

Instantly share code, notes, and snippets.

View JaimeStill's full-sized avatar
👽

Jaime Still JaimeStill

👽
  • Arma Global / General Dynamics
  • Fayetteville, NC
View GitHub Profile

git SSH on Windows

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
@JaimeStill
JaimeStill / screencasts.md
Created February 15, 2023 03:03
Edit Screencasts with FFMPEG

Edit Screencasts in Ubuntu with FFMPEG

# optional: install ffmpeg
sudo apt install ffmpeg

# from input at start through time, copy video and audio to output
ffmpeg -i {input} -ss {hh:mm:ss} -t {hh:mm:ss} -c:v copy -c:a copy {output}

# example
@JaimeStill
JaimeStill / recover-deleted-branch.sh
Created September 25, 2022 15:08 — forked from umayr/recover-deleted-branch.sh
How to recover a deleted branch
## 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}
@JaimeStill
JaimeStill / research.md
Last active September 17, 2022 16:05
Keep R&D efforts organized and focused.

Research and Development

  • 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
@JaimeStill
JaimeStill / abstract.md
Last active April 15, 2022 15:39
Research for geojson based mapping database / visualization engine
@JaimeStill
JaimeStill / .distributed-reactive.md
Last active March 18, 2022 18:23
.NET + Angular distributed reactive architecture + stack updates

Distributed Reactive Architecture

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;
}
@JaimeStill
JaimeStill / 0_readme.md
Last active December 9, 2021 15:19
ApiQueryService Overhaul

ApiQueryService Overhaul

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#

@JaimeStill
JaimeStill / readme.md
Created December 3, 2021 16:29
Run server and all Angular apps in one VS Code Task

Run Platform Via Task

Overview

This setup assumes a monorepo configuration similar to what would be generated from this offline-platform schematic. It assumes that you want to execute the following:

  1. Start the .NET server and build the Angular library simultaneously.
  2. Once the Angular library build completes, start all of the Angular apps that are included in the monorepo.

Command Configuration