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 python | |
| import numpy as np | |
| import cv2 | |
| from time import sleep | |
| # create blank image - y, x | |
| img = np.zeros((600, 1000, 3), np.uint8) | |
| # setup text |
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
| taskkill /F /IM ssh-agent.exe /T |
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
| import datetime | |
| # 2012-12-15 10:14:51.898000 | |
| print datetime.datetime.utcnow() | |
| # The now differs from utcnow as expected | |
| # otherwise they work the same way: | |
| # 2012-12-15 11:15:09.205000 | |
| print datetime.datetime.now() |
NewerOlder