Entering lunarvim changes the default cursor type of terminal.
Add the following lines to your config.lua
lvim.autocommands = {
{
"VimLeave",
{ | |
"api": { | |
"id": null, | |
"worker-id": null | |
}, | |
"http": { | |
"enabled": false, | |
"host": "127.0.0.1", | |
"port": 0, | |
"access-token": null, |
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) |
I hereby claim:
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 |