Skip to content

Instantly share code, notes, and snippets.

View chrisl8888's full-sized avatar
πŸ’­
🏈

Chris Lee chrisl8888

πŸ’­
🏈
View GitHub Profile
@chrisl8888
chrisl8888 / slides.mdx
Created April 18, 2025 19:12
slides fte over offshore

Absolutely! Here's the full breakdown converted into Markdown format so you can use it in a document or deck:


🧠 Metrics to Show Full-Time Employees (FTEs) Provide More Value Than Offshore Developers


πŸ” 1. Retention and Continuity

@chrisl8888
chrisl8888 / readme.md
Last active March 10, 2025 19:58
Typescript TDD course in 4 parts

Intro to TypeScript for JavaScript Developers with Test-Driven Development (TDD)

Course Overview

This course introduces JavaScript developers to TypeScript while emphasizing Test-Driven Development (TDD). It focuses on leveraging TypeScript's static typing and tooling to improve software reliability and maintainability.

Prerequisites

  • Familiarity with JavaScript (ES6+)
  • Basic understanding of unit testing (Jest, Mocha, or similar)

@chrisl8888
chrisl8888 / examples.mdx
Last active February 26, 2020 17:23
MDX Deck snippets
@chrisl8888
chrisl8888 / bacon-spinach-feta-chicken-recipe.md
Created July 17, 2019 14:09
Bacon Spinach Feta Chicken

Ingredients

  • 6 slices bacon chopped
  • 6 boneless skinless chicken thighs
  • Salt and pepper
  • 1 tablespoon salted butter
  • 2 cloves of garlic, minced
  • 3 ounces baby spinach
  • 1 cup heavy whipping cream
  • 1/2 ounce parmesan cheese, grated (about 1/2 cup)
let UserContext = React.createContext();
class App extends React.Component {
state = {
user: null,
setUser: user => {
this.setState({ user });
}
};
@chrisl8888
chrisl8888 / Mexican-cauliflower-skillet.md
Created April 13, 2019 18:54
Mexican cauliflower skillet

Mexican Cauliflower Rice Skillet

  • 1 pound ground beef
  • 1/4 onion diced
  • 1/2 red bell pepper diced
  • 3 tablespoons taco seasoning
  • 1 cup can diced tomatoes
  • 12 oz riced cauliflower
  • 1/2 cup chicken broth
  • 1 1/2 cup shredded cheddar cheese or mexican blend cheese
@chrisl8888
chrisl8888 / async-await.js
Created December 15, 2017 02:04 — forked from wesbos/async-await.js
Simple Async/Await Example
// πŸ”₯ Node 7.6 has async/await! Here is a quick run down on how async/await works
const axios = require('axios'); // promised based requests - like fetch()
function getCoffee() {
return new Promise(resolve => {
setTimeout(() => resolve('β˜•'), 2000); // it takes 2 seconds to make coffee
});
}
@chrisl8888
chrisl8888 / async-await.js
Created December 15, 2017 02:04 — forked from wesbos/async-await.js
Simple Async/Await Example
// πŸ”₯ Node 7.6 has async/await! Here is a quick run down on how async/await works
const axios = require('axios'); // promised based requests - like fetch()
function getCoffee() {
return new Promise(resolve => {
setTimeout(() => resolve('β˜•'), 2000); // it takes 2 seconds to make coffee
});
}
@chrisl8888
chrisl8888 / fix-error.test.js
Created September 6, 2017 15:43
Error: It looks like you called `mount()` without a global document being loaded.
import jsdom from 'jsdom';
const doc = jsdom.jsdom('<!doctype html><html><body></body></html>');
global.document = doc;
global.window = doc.defaultView;
@chrisl8888
chrisl8888 / app.scss
Created August 28, 2017 15:10
fix the bootstrap / webpack asset import issue
// https://github.com/webpack-contrib/sass-loader/issues/40
$bootstrap-sass-asset-helper: true;
@import "~bootstrap-sass/assets/stylesheets/bootstrap";