Skip to content

Instantly share code, notes, and snippets.

View johnsonjo4531's full-sized avatar
🙂
👍🏻

John Johnson johnsonjo4531

🙂
👍🏻
View GitHub Profile
@sebmarkbage
sebmarkbage / Infrastructure.js
Last active May 2, 2024 03:11
SynchronousAsync.js
let cache = new Map();
let pending = new Map();
function fetchTextSync(url) {
if (cache.has(url)) {
return cache.get(url);
}
if (pending.has(url)) {
throw pending.get(url);
}

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: