Installs all cross platform emulators for use with docker buildx
docker run -it --rm --privileged tonistiigi/binfmt --install all
get_latest_release() { | |
curl --silent "https://api.github.com/repos/$1/releases/latest" | # Get latest release from GitHub api | |
grep '"tag_name":' | # Get tag line | |
sed -E 's/.*"([^"]+)".*/\1/' # Pluck JSON value | |
} | |
# Usage | |
# $ get_latest_release "creationix/nvm" | |
# v0.31.4 |
sudo du -h -a / 2>/dev/null | sort -h -r |
Installs all cross platform emulators for use with docker buildx
docker run -it --rm --privileged tonistiigi/binfmt --install all
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install tor
Go to GitHub compare view between two release tags and dump the following in devtools:
copy(Array.from(document.querySelectorAll('#commits_bucket .Box-row')).map(e => {
const commitTitle = e.querySelector('.Details p').textContent.replace(/…/g, '').trim();
const authors = Array.from(e.querySelectorAll('.commit-author')).map(e => '@' + e.textContent);
const commitUrl = e.querySelector('a[href*=\'/commit/\']').href;
return `- ${commitTitle} - ${authors.join(' ')} ${commitUrl}`;
My Fee
https://etherscan.io/tx/0xd50d3392352e6376421bdac847f92ea76433fc5dd277a2d998d4d7f2091c4394
Bob Deposit
https://kmdexplorer.io/tx/c763d3767c00be3eb227935872c5927650bef027ae09769155761888489f6511
Alice Payment
https://etherscan.io/tx/0x20457e3797e452c534818ceba088335a04a8987192ead2ee815833221f766d32
#!/usr/bin/env bash | |
# | |
# Setup or remove an SSH hidden service on Debian based systems. | |
# | |
# Usage: | |
# | |
# Setup SSH hidden service: | |
# $ curl -Ls https://git.io/tor-ssh | bash -s -- --setup-tor-ssh | |
# | |
# Remove SSH hidden service: |
If you aren't able to run OTA updates, you can do the following to resolve the situation:
If you're running the normal Umbrel OS install on a Raspberry Pi you can run this in a terminal on a computer connected to the same network as your Umbrel:
ssh -t umbrel@umbrel.local "mkdir -p umbrel/logs && sudo systemctl restart umbrel-startup"
sudo apt update -y
sudo apt install -y fswatch jq rsync curl
curl -fsSL https://get.docker.com | sudo sh
sudo usermod -aG docker $USER
sudo curl -L "https://github.com/docker/compose/releases/download/1.28.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo mkdir ~/umbrel