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 / 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-tab.ts
Created June 15, 2021 18:53
Vertical Tab Component Infrastructure
export interface Tab {
link: string;
label: string;
hide?: boolean;
}
@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 / aeropress.md
Last active February 7, 2021 18:10
Aeropress Espresso-like Recipe

Aeropress Espresso-like Latte Recipe

Important Notes

Coffee-to-Water Ratio: 1:2.5 - For this recipe, use ~20g of fine ground espresso beans to ~50g of boiling water.

Once the water hits the coffee beans, you're going to want to set a timer for one minute. Once you hit 50g of water added, you're going to want to stir everything well for 20-30 seconds. Relax and don't freak out about being timed. Take it easy and trust that you'll have enough time in the process. I tend to end up with 10-20 seconds left before I need to press.

01-start

[
{
id: 1,
categoryId: 1,
name: "Nirvana - Nevermind",
description: "Grunge",
category: {
id: 1,
name: "Music",
items: []
@JaimeStill
JaimeStill / magick-books.md
Last active October 14, 2020 13:01
Damien Echols' beginners booklist
@JaimeStill
JaimeStill / bulma.md
Last active April 24, 2020 17:51
Notes for building features into Sapper

Sapper Bulma Setup

Bulma

yarn add -D bulma sass svelte-preprocess

rollup.config.js