Skip to content

Instantly share code, notes, and snippets.

@TravonteD
TravonteD / progress-bar.go
Created September 18, 2025 18:22
A small go program to add progress bars to any (non-interactive) command
package main
import (
"fmt"
"os"
"os/exec"
"sync"
"time"
)
@TravonteD
TravonteD / github-status.sh
Last active March 17, 2022 14:36
Github Recovery Notification
#!/usr/bin/env bash
data=$(\
curl -s 'https://www.githubstatus.com/api/v2/status.json' \
-H 'Referer: https://www.githubstatus.com/' \
-H 'X-Requested-With: XMLHttpRequest' \
-H 'Connection: keep-alive' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Site: same-origin' \