pmarreck
Follow
Former Ruby, currently Elixir developer, exploring Idris. Cornell grad. Into biking, sailing, gaming, whiskey, EDM, all things tech.
-
formerly senior engineer @ desk.com, chief engineer @ thredup.com, software engineer @ lifebooker.com. Director of Engineering @ addigence.com, currently available
- Long Island, NY
-
09:36
(UTC -05:00)
Highlights
- Pro
Pinned Loading
-
-
tinytestlib
tinytestlib PublicAn MVP shell script testing library (currently bash but may include more shells in future) allowing you to assert on stdout, stderr and return codes in your shell script test suites.
Shell 5
-
Example of using regex to check a co...
Example of using regex to check a complex password validation requirement ("use at least 1 character from 3 sets of characters out of a total of 4 sets of characters") 1PASSWORD_VALIDATOR = /( # Start of group
2(?: # Start of nonmatching group, 4 possible solutions
3(?=.*[a-z]) # Must contain one lowercase character
4(?=.*[A-Z]) # Must contain one uppercase character
5(?=.*\W) # Must contain one non-word character or symbol
-
Generate a random password or random...
Generate a random password or randomized multiple-word dictionary password using Javascript (NO other dependencies!) 1const CHARSET_LOWER = "abcdefghijklmnopqrstuvwxyz";
2const CHARSET_UPPER = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
3const CHARSET_NUM = "0123456789";
4const CHARSET_ALPHA = CHARSET_LOWER + CHARSET_UPPER;
5const CHARSET_ALNUM = CHARSET_ALPHA + CHARSET_NUM;
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.