Skip to content

Instantly share code, notes, and snippets.

View Xerkus's full-sized avatar
:octocat:
Open Sourcing!

Aleksei Khudiakov Xerkus

:octocat:
Open Sourcing!
View GitHub Profile
@Xerkus
Xerkus / passgen
Last active March 17, 2019 05:23
password generation command and shell script for creating hash based deterministic passwords from master password and string, eg: `passgen string 16`
head -c 500 /dev/urandom | tr -dc a-z0-9 | head -c 32; echo
formats = {
"fe-common/core" = {
own_msg = "{ownmsgnick $2 {ownnick $[!12]0}}$1";
own_msg_channel = "{ownmsgnick $3 {ownnick $[!12]0}{msgchannel $1}}$2";
own_msg_private = "{ownprivmsg msg $[!12]0}$1";
pubmsg_me = "{pubmsgmenick $2 {menick $[!12]0}}$1";
pubmsg_me_channel = "{pubmsgmenick $3 {menick $[!12]0}{msgchannel $1}}$2";
pubmsg_hilight = "{pubmsghinick $0 $3 $[!12]1}$2";
pubmsg_hilight_channel = "{pubmsghinick $0 $4 $[!12]1{msgchannel $2}}$3";