Skip to content

Instantly share code, notes, and snippets.

View cstroliadavis's full-sized avatar

Chris cstroliadavis

  • Columbus, OH
  • 05:52 (UTC -04:00)
View GitHub Profile
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "Christopher Strolia-Davis",
"label": "Principal/Sr. JavaScript Developer",
"image": "https://2.gravatar.com/avatar/ab9afa393e4f1684a4fe9703b6283643?size=256",
"email": "full-stack.dev@strolia-davis.us",
"phone": "937-623-7298",
"url": "http://exercism.io/cstroliadavis",
"summary": "I'm an experienced Full-Stack Developer with a strong focus on web-based applications. I have a solid foundation in JavaScript/TypeScript, CSS, HTML, SQL, Node.js, and Express, and I've worked with and have a high aptitude for databases like Postgres, MySQL, Mongo DB, Redis, and ElasticSearch. I'm no stranger to Docker, and I enjoy crafting systems that run smoothly across different platforms.\n\nOver the years, I've grown proficient in front-end frameworks such as React, Vue.js and others. I'm passionate about enhancing application performance, security, and usability through effective
@cstroliadavis
cstroliadavis / addMetering
Created July 29, 2022 19:12
Adds a meterMap method to an array to help throttle requests
// runs a promise that resolves after time in milliseconds.
// usage `await pause(1000)`
function pause = time => new Promise(resolve => setTimeout(resolve, time));
// adds a "meter" method to an array
// a meter is like the freeway metering you see near onramps during peak hours.
// It works basically like a Promise.all(arr.map()) function, except that each
// mapped item waits `waitTime` milliseconds before actually starting. This helps
// throttle throughput to webservices, reducing the chance that they will not be
// able to keep up with the concurrent load.
import {decodeUtf8} from './third_party.ts'
/**
* Gets the name of the git branch of the current working directory
* @returns {Promise<string>}
*
* @example
* // if on the main git branch
* console.log(await getGitBranch());
* // output: master
@cstroliadavis
cstroliadavis / index.html
Last active October 3, 2017 23:23
JavaScript variable scoping: source https://jsbin.com/kuyidah
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
@cstroliadavis
cstroliadavis / index.html
Last active October 3, 2017 23:22
JavaScript scripts are evaluated and run immediately. https://jsbin.com/nurica
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">