This file contains 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
async function* openFifo(path) { | |
while(true) { | |
let file = await Deno.open(path, 'r') | |
let data = await Deno.readAll(file) | |
yield data | |
} | |
} |
This file contains 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
#!/usr/bin/env -S deno run --allow-run --allow-write | |
import sh from 'https://denopkg.com/wtfaremyinitials/deno-shell-tag/mod.js' | |
// TODO: integrate clubhouse api for ticket titles, blockers, and today | |
const LOW_MINUTES_THRESHOLD = 10 | |
const SECONDS_TO_MINUTES = 1 / (1000 * 60) | |
const IGNORE_TAGS = ['billable', 'pingthings', 'standup', 'work'] | |
const TICKET_REGEX = /ch(\d{4})/ |
This file contains 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
#!/bin/bash | |
# speedtest.sh [host] | |
ssh $1 iperf3 -s > /dev/null 2>&1 & sshpid=$$ | |
sleep 5 | |
iperf3 -c $1 | |
kill $sshpid |
OlderNewer