Skip to content

Instantly share code, notes, and snippets.

@ajeecai
ajeecai / tus-uploader.go
Last active January 12, 2020 03:49
example on how to use go-tus for resumable file uploading with progress and speed status
package main
import (
"fmt"
"net/http"
"os"
"sync"
"time"
tus "github.com/eventials/go-tus"
@ajeecai
ajeecai / baidu_backup_list.py
Last active October 11, 2019 05:51
对百度云上的备份,在本地重新构建文件目录结构
#!/usr/bin/env python3.7
import subprocess
import pprint
import re
import os
import sys
pp = pprint.PrettyPrinter(indent=4)