This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$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": "[email protected]", | |
"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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(()=>{const c=e=>`<span style="color:red;">${e}</span>`,ce=e=>{let t=e.getRangeAt(0),n=t.createContextualFragment(c(e));t.deleteContents(),t.insertNode(n)},ta=e=>{let[t,n]=[e.selectionStart,e.selectionEnd],a=e.value.substring(t,n);e.setRangeText(c(a),t,n,"select")},s=window.getSelection();if(s.rangeCount){let e=s.anchorNode?.parentNode;e?.tagName==="TEXTAREA"?ta(p):ce(s)}})(); |