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
#!/usr/bin/python3 | |
from datetime import datetime | |
from time import sleep | |
while True: | |
time_ = datetime.now().strftime("%H:%M:%S:%f")[:-3] | |
print(f"\r{time_}", end="") | |
sleep(0.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
#!/usr/bin/env bash | |
main() { | |
today_date=$(date +%Y%m%d) | |
key_filename="VMWARE${today_date}.priv" | |
cert_filename="VMWARE${today_date}.der" | |
openssl req -new -x509 -newkey rsa:2048 -keyout "${key_filename}" -outform DER -out "${cert_filename}" -nodes -days 36500 -subj "/CN=VMWARE/" |
NewerOlder