mirror of
https://github.com/harish2704/dotFiles.git
synced 2026-09-10 07:11:09 +00:00
Updates for npm and my utils
This commit is contained in:
@@ -336,6 +336,7 @@ subtitleBurn(){
|
||||
|
||||
# Gen random password
|
||||
genPassword(){
|
||||
cd ~/.node_modules_mine;
|
||||
node -p "require('base-x')('!#$%&()*+,-.0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_abcdefghijklmnopqrstuvwxyz{|}~' ).encode( crypto.randomBytes(${1:-15}) )"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user