Skip to content

Instantly share code, notes, and snippets.

@sturman
sturman / bitbucket-backup-all-repos.sh
Last active October 26, 2018 13:45 — forked from nixjobin/bitbucket-backup-all-repos.sh
bitbucket-backup-all-repos.sh
#!/bin/bash
#Author Jobin Joseph
#Blog : JobNix.in
#Bio : JobinJoseph.com
#Bitbucket credentials
bbuser='Username_here'
bbpass='password_here'
fname=`date +%F_%H_%M`
@sturman
sturman / argo-set-pw
Created October 19, 2020 14:39 — forked from tetchel/argo-set-pw
update password for argocd user
#!/usr/bin/env bash
# https://argoproj.github.io/argo-cd/faq/#i-forgot-the-admin-password-how-do-i-reset-it
username=$1
password=$2
if [[ -z $username || -z $password ]]; then
echo "Usage: $0 \$username \$password"
echo "Missing username or password argument"