Skip to content

Instantly share code, notes, and snippets.

View gertd's full-sized avatar

Gert Drapers gertd

View GitHub Profile
@gertd
gertd / git-pull
Last active August 9, 2019 01:22
git-pull - pull all repos in current directory helper script
#!/usr/bin/env bash
basedir=$PWD
for dir in $(find "$basedir" -mindepth 1 -maxdepth 4 -type d); do
[ -d "$dir/.git" ] && echo $dir && cd $dir && git pull && cd ..
done
@gertd
gertd / auth.go
Created September 3, 2020 04:18 — forked from ogazitt/auth.go
Auth0 PKCE flow for a CLI built in golang
package auth
import (
"encoding/json"
"fmt"
"io"
"io/ioutil"
"net"
"net/http"
"net/url"