You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Felix Pankratz dba8a92d35 | 1 year ago | |
---|---|---|
README.md | 1 year ago | |
pw.bat | 1 year ago | |
pw.py | 1 year ago |
README.md
password generate
Generate random passwords. Password is written to stdout and copied to the windows clipboard.
Place both scripts somewhere in your %PATH%
on Windows, then execute pw <num
from the "Run" window.
Usage:
./pw.py <length of password>
e.g.
./pw.py 32
vim Shortcut
let pwcmd = 'cmd.exe /c "python C:\\Tools\\pw.py 10" |tr -d "\\n"|tr -d "\\r"'
:nmap <F8> "=system(pwcmd)<C-M>p
:imap <F8> <C-R>=system(pwcmd)<C-M>