Skip to content

Instantly share code, notes, and snippets.

@mattbague
mattbague / chromext.sh
Last active August 13, 2020 20:31
Chrome Extension DL Script
#!/usr/bin/env bash
CHROME_VERSION="<INSERT_CHROME_VERSION_HERE>"
ID=$1
URL="https://clients2.google.com/service/update2/crx?response=redirect&prodversion=$CHROME_VERSION&acceptformat=crx2,crx3&x=id%3D$ID%26uc"
echo $URL
wget -O "$ID.crx" $URL
@mattbague
mattbague / chrome-extension-dl.txt
Created August 13, 2020 03:15
Chrome Extension Download Link
https://clients2.google.com/service/update2/crx?response=redirect&prodversion=<CHROME_VERSION_GOES_HERE>&acceptformat=crx2,crx3&x=id%3D<ID_GOES_HERE>%26uc
@mattbague
mattbague / pj.sh
Created December 8, 2018 00:52
Pretty JSON CLI
function pj {
json=$(echo $1 | python -m json.tool)
echo $json | pbcopy
echo $json
}
@mattbague
mattbague / mpv.conf
Last active November 27, 2020 23:58
MPV Configs
moved to https://github.com/mattbague/mpv-configs