Monday 12 March 2018

Generate Custom string

small_rand = [*('a'..'z')].shuffle
number_rand = [*('0'..'9')].shuffle
cap_rand = [*('A'..'Z')].shuffle
password_rand = small_rand[0..1].join + number_rand[0..6].join + cap_rand[0]

No comments:

Post a Comment

Revert last commit or second last and more....

 Git revert commit_id -m 1 this command willl revert last commit  Git revert commit_id -m 2 this command will revert second commit with same...