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
| # To simulate netcat: https://gist.github.com/leonjza/f35a7252babdf77c8421 | |
| # Test Cython for dithering: http://docs.cython.org/en/latest/src/tutorial/numpy.html | |
| import numpy as np | |
| from time import localtime, strftime, time, sleep | |
| import cv2 | |
| import sys | |
| use_cython = True | |
| if use_cython: |
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 time | |
| import os | |
| dirdl = '/home/Anon/Downloads/' | |
| dirp = '/home/Anon/Pictures/' | |
| dirv = '/home/Anon/Videos/' | |
| dird = '/home/Anon/Documents/' | |
| dirm = '/home/Anon/Music/' | |
| dirs = [dirp, dirv, dird, dirdl, dirm] | |
| while True: | |
| time.sleep(10) |
NewerOlder