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 PIL import Image | |
| import os | |
| for root, _, files in os.walk("."): | |
| for f in files: | |
| if f.lower().endswith(('.jpg', '.jpeg', '.png')): | |
| path = os.path.join(root, f) | |
| try: | |
| with Image.open(path) as img: | |
| exif_bytes = img.info.get("exif") |
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 PIL import Image | |
| from PIL.ExifTags import TAGS | |
| import glob | |
| import os | |
| from datetime import datetime | |
| folder= './Combined' | |
| def get_exif_date_taken(file_path): | |
| try: | |
| with Image.open(file_path) as img: | |
| exif_data = img._getexif() |
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
| pbmac@pbmac-server $ sudo fallocate -l 1G /swapfile | |
| pbmac@pbmac-server $ sudo chmod 600 /swapfile | |
| pbmac@pbmac-server $ sudo mkswap /swapfile | |
| pbmac@pbmac-server $ sudo swapon /swapfile | |
| pbmac@pbmac-server $ swapon --show |
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
| [nosetests] | |
| verbosity=2 | |
| with-spec=1 | |
| spec-color=1 | |
| with-coverage=1 | |
| cover-erase=1 | |
| cover-package=triangle | |
| [coverage:report] | |
| show_missing = True |
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
| var PRESSED ; | |
| var feeddown = $.Event("keydown", { keyCode: 87 }); //w button | |
| var feedup = $.Event("keyup", { keyCode: 87 }); //w button | |
| var splitdown = $.Event("keydown", { keyCode: 32 }); //space button | |
| var splitup = $.Event("keyup", { keyCode: 32 }); //space button | |
| function AgarMouseEject() { | |
| $("body").trigger(feeddown); | |
| $("body").trigger(feedup); | |
| }; |
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 winsound | |
| from time import sleep | |
| import pyscreenshot as ImageGrab | |
| if __name__ == '__main__': | |
| i = 0 | |
| try: | |
| while True: | |
| Freq = 100 # Set Frequency To 2500 Hertz | |
| Dur = 50 # Set Duration To 1000 ms == 1 second |