This is a SCRIPT-8 cassette.
This is a SCRIPT-8 cassette.
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
| from hashlib import sha1 | |
| def hash_string(string_to_hash): | |
| hasher = sha1() | |
| bytes_string = string_to_hash.lower().strip().encode('utf-8') | |
| hasher.update(bytes_string) | |
| return hasher.hexdigest() | |
| email = '[email protected]' | |
| print(hash_string(email)) |
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
| Shortcut Description | |
| --------------------------------------------------------------- | |
| Ctrl + O Drop to the console | |
| Insert Select/deselect file | |
| * Invert selection on files | |
| + Specify file selection options (including custom pattern) | |
| - The same as above, but for deselecting | |
| F5/F6 Copy/move selected files |
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
| function mc | |
| set SHELL_PID %self | |
| set MC_PWD_FILE "/tmp/mc-$USER/mc.pwd.$SHELL_PID" | |
| /usr/bin/mc -P $MC_PWD_FILE $argv | |
| if test -r $MC_PWD_FILE | |
| set MC_PWD (cat $MC_PWD_FILE) | |
| if test -n "$MC_PWD" |