This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
RED='\033[0;31m' | |
GREEN='\033[0;32m' | |
YELLOW='\033[0;33m' | |
NC='\033[0m' | |
# Check if rubocop is installed | |
rubocop -v >/dev/null 2>&1 || { echo >&2 "${RED}[Ruby Style][Fatal]: Install rubocop in your project or system"; exit 1; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static String generateRandomString() { | |
return new BigInteger(130, new SecureRandom()).toString(32); | |
} |