#--- initial setup
brew install go
#setup the 'GOPATH'
export GOPATH=$HOME/workspaces/go
# fetch all dependencies
go get
# install the binaries
go install ./...
# binaries can be found here:
ls $GOPATH/bin/
# add them to your path
export PATH=$PATH:$GOPATH/bin
#--- update the binaries whenever code changes
go install ./...
tb sheet2json --spreadsheet-url=<sheetUrl>
tb csv2json < some.csv | jq .
echo '{"a":1, "b":true}' | tb json2sheet
- create an OAuth consent screen as documented here
- create client credentials for a 'Desktop App' for said consent screen
- store the client credentials in a
client_secret.json
in the working directory
WARN: this is not particularly safe!
- create a Personal Access Token (PAT)
- put it into
~/.config/github/token.txt
orexport GITHUB_TOKEN=<your PAT>
TIP: you can also load it from the file
via export GITHUB_TOKEN=$(cat ~/.config/github/token.txt | tr -d '\n')
WARN: this is not particularly safe!
- provision an API token
- create a
credentials.json
file, looking like{ "username": "[email protected]", "token": "s0meT0kn" }
- put the file into
~/.config/jira/credentials.json
- create an API key
- set the
FRESHDESK_TOKEN
environment variable, e.g.export FRESHDESK_TOKEN=<your token>