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
<?php | |
/** | |
* Password Hash Cost Calculator | |
* | |
* Set the ideal time that you want a password_hash() call to take and this | |
* script will keep testing until it finds the ideal cost value and let you | |
* know what to set it to when it has finished | |
*/ | |
// Milliseconds that a hash should take (ideally) |
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/bash | |
function usage | |
{ | |
echo "usage: supertail -f file [-bl word1 -m word2 -g word3 -w word4 -bk word5 ...] " | |
echo "bl=blue, bk=black, g=green, m=magenta, r=red, c=cyan, w=white, y=yellow, etc." | |
} | |