Skip to content

Instantly share code, notes, and snippets.

Dmitry Mukhin dmitry-mukhin

Block or report user

Report or block dmitry-mukhin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
<script>
UPLOADCARE_PUBLIC_KEY = 'demopublickey';
</script>
<script charset="utf-8" src="https://ucarecdn.com/widget/1.4.0/uploadcare/uploadcare-1.4.0.min.js"></script>
</head>
@dmitry-mukhin
dmitry-mukhin / delete.py
Last active Jun 2, 2017
delete uploadcare files older than 14 days
View delete.py
#!/bin/python
# installation:
# pip install pytz pyuploadcare==1.3.1
import pytz
from datetime import timedelta, datetime
from pyuploadcare import conf
from pyuploadcare.api_resources import FileList
You can’t perform that action at this time.