I hereby claim:
- I am qfdk on github.
- I am qfdk (https://keybase.io/qfdk) on keybase.
- I have a public key ASDnfUchyTz29XLAfo9MS0vhwabTT7Q26eWYWIkfLnd1tAo
To claim this, I am signing this object:
| #!/usr/bin/python | |
| ''' | |
| SDshare Server Script For Python | |
| Ver:1.0 | |
| E-mail:[email protected] | |
| ''' | |
| from flask import Flask,request,make_response,abort | |
| from werkzeug import secure_filename | |
| import json,base64,hashlib,time,random,os | |
| from os.path import join, getsize |
I hereby claim:
To claim this, I am signing this object:
| import redis | |
| import json | |
| from datetime import datetime, timedelta | |
| from redis.exceptions import ResponseError | |
| r = redis.Redis(host='localhost', port=6379, db=0, decode_responses=True) | |
| now = datetime.now() | |
| # 过期天数 | |
| three_days_from_now = now + timedelta(days=30) |
| { | |
| "api": { | |
| "id": null, | |
| "worker-id": null | |
| }, | |
| "http": { | |
| "enabled": false, | |
| "host": "127.0.0.1", | |
| "port": 0, | |
| "access-token": null, |