my dotz
0

Configure Feed

Select the types of activity you want to include in your feed.

at main 317 B View raw
1#!/bin/sh 2# 3# generate a password of N length 4 5pass_length="$1" 6 7# Regarding usage of '/dev/urandom' instead of '/dev/random'. 8# See: https://www.2uo.de/myths-about-urandom 9pass=$(LC_ALL=C tr -dc "_A-Z-a-z-0-9" 2> /dev/null < /dev/urandom | 10 dd ibs=1 obs=1 count="${pass_length:-50}" 2>/dev/null) 11printf "$pass\n"