摘要:
#!/usr/bin/env python # -*- encoding: utf-8 -*- # Created on 2018-11-08 22:33:55 # Project: qsbk from pyspider.libs.base_handler import * from lxml import html from urlparse import urljoin import da... 阅读全文
摘要:
import time class TokenBucket(object): # rate是令牌发放速度,capacity是桶的大小 def __init__(self, rate, capacity): self._rate = rate self._capacity = capacity self._current_amo... 阅读全文
摘要:
(env)$ pip3 uninstall pycurl (env)$ pip3 install --upgrade pip (env)$ export LDFLAGS=-L/usr/local/opt/openssl/lib (env)$ export CPPFLAGS=-I/usr/local/ 阅读全文
摘要:
linux安装docker 1、线卸载旧版本Docker yum remove docker docker-common docker-selinux docker-engine 2、安装依赖包 yum install -y yum-utils device-mapper-persistent-da 阅读全文