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
# Usage: python shift-gps-coordinates.py /path/to/photos | |
import copy | |
import pathlib | |
import sys | |
from os import listdir | |
from os.path import isfile, join, basename, dirname | |
from shutil import copy2 | |
import piexif |
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
# the input file should contain newline-separated s3 URLS, such as s3://bucket/prefix/file.jpg | |
import multiprocessing as mp | |
import os | |
from urllib.parse import urlparse | |
import boto3 | |
s3 = boto3.resource('s3') | |
my_bucket = s3.Bucket('ubird-assets') |
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
<div class="upload-page__sidebar"> | |
<div class="upload-table-header"><h2 class="upload-table-header__title">Uploads</h2> | |
<div class="upload-table-header__controls"><p class="upload-table-header__notice">NB! Additional charges | |
apply</p> | |
<button class="button button--style-default"><span class="button__label">Start processing</span></button> | |
</div> | |
</div> | |
<table class="upload-table"> | |
<thead> | |
<tr> |