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
@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 / README.md
Last active December 12, 2021 10:42
Active Directory Authorization Workflow
@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

@JaimeStill
JaimeStill / lfs.md
Created November 17, 2021 13:33
Git LFS Notes

Git LFS

Quick notes from Git LFS Overview

# help
git lfs help <command>

# command help
git lfs  -h
@JaimeStill
JaimeStill / promises.ts
Created September 17, 2021 14:24
Demonstrate utility of async / await vs. promise.then when coordinating async calls
/*
For a more formal explanation, see https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Asynchronous/Async_await
*/
// This is not preferred
thenChaining = () => {
this.somePromise().then(value => {
this.nextPromise().then(nextValue => {
/*
So on and so forth. This gets super ugly
@JaimeStill
JaimeStill / 01-palette.scss
Last active August 9, 2021 16:37
Angular 12 Theming Overhaul
@use 'sass:map';
@use '~@angular/material' as mat;
@function get-palette($light: true) {
$palette: (
"red": (
"theme": if($light, 'light', 'dark'),
"palette": mat.define-palette(mat.$red-palette, if($light, 500, A200)),
"color": mat.get-color-from-palette(mat.$red-palette, if($light, 500, A200)),
"contrast": mat.get-contrast-color-from-palette(mat.$red-palette, if($light, 500, A200))
@JaimeStill
JaimeStill / 01-tab.ts
Created June 15, 2021 18:53
Vertical Tab Component Infrastructure
export interface Tab {
link: string;
label: string;
hide?: boolean;
}