To get ArgoCD default admin password after installation, run:
kubectl -n argocd get secret argocd-initial-admin-secret \
          -o jsonpath="{.data.password}" | base64 -d; echo
The default admin user is admin.
| #function to check whether the bit | |
| # at given position is set or unset | |
| def bitAtGivenPosSetOrUnset( n, k): | |
| new_num = n >> (k - 1) | |
| #if it results to '1' then bit is set, | |
| #else it results to '0' bit is unset | |
| return (new_num & 1) | |
| # Python implementation | 
| from pprint import pformat | |
| def d (*args): | |
| if len(args)==1: | |
| prefix = "" | |
| target = args[0] | |
| else: | |
| prefix = args[0] | |
| target = args[1] | 
| #!/usr/bin/env bash | |
| # Generate RSA private key | |
| openssl genrsa -out private_key.pem 1024 | 
| import json | |
| from datetime import datetime as dt | |
| from Crypto.Hash import SHA1 # Python3 should use PyCryptodome | |
| from Crypto.Signature import PKCS1_v1_5 | |
| from Crypto.PublicKey import RSA | |
| import requests | |
| from base64 import ( | |
| b64encode | |
| ) | 
| import { useCallback, useEffect, useState } from 'react'; | |
| import { useSetRecoilState } from 'recoil'; | |
| import { useKeycloak } from '@react-keycloak/web'; | |
| import { commonNotification } from './common'; | |
| /** | |
| * Returns the auth info and some auth strategies. | |
| * | |
| */ | 
| Inspired by: https://stackoverflow.com/questions/46408673/docker-17-06-ce-default-container-memory-limit-on-shared-host-resources/46557336#46557336 | 
| # generate KMS data key | |
| aws kms generate-data-key \ | |
| --key-id $keyid \ | |
| --key-spec AES_256 | |
| # generate initialization vector | |
| aws kms generate-random \ | |
| --number-of-bytes 16 \ | |
| --query Plaintext --output text | \ | |
| base64 --decode | \ | 
| #!/bin/bash | |
| # This has to be run from master | |
| git checkout master | |
| # Update our list of remotes | |
| git fetch | |
| git remote prune origin | |
| # Remove local fully merged branches |