# 使用 Homebrew 安装 aria2
brew install aria2
# 创建配置文件aria2.conf和空对话文件aria2.session
mkdir ~/.aria2 && cd ~/.aria2
touch aria2.conf
This file contains 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
#! /usr/bin/env python3 | |
import sys | |
import mmap | |
if len(sys.argv) < 2 : | |
print(""" | |
change rotation metadata in mp4 files | |
see: https://superuser.com/a/1307206/1010278 | |
usage: %s file.mp4 0-3 |
This file contains 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
127.0.0.1 sdkauth.hpplay.cn | |
127.0.0.1 adeng.hpplay.cn | |
127.0.0.1 ad.hpplay.cn | |
127.0.0.1 conf.hpplay.cn | |
127.0.0.1 fix.hpplay.cn | |
127.0.0.1 adcdn.hpplay.cn | |
127.0.0.1 sl.hpplay.cn | |
127.0.0.1 rp.hpplay.cn |
This file contains 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
import sys | |
import time | |
import requests | |
import itertools | |
import numpy as np | |
import pandas as pd | |
from tqdm import tqdm | |
from PIL import Image |
OlderNewer