0%

Docker简介

image-20200727122403354

Docker是基于GO语言实现的开源项目。docker的主要目标是“build,ship and run APP,anywhere“

Build Ship and Run

Build(构建镜像) : 镜像就像是集装箱,包含文件以及运行环境等等资源;

Ship(运输镜像) :在宿主机和仓库间进行运输,这里仓库就像是超级码头;

Run (运行镜像) :运行的镜像就是一个容器,容器就是运行程序的地方。

也就是通过对应用组件的封装、分发、部署、运行等生命周期的管理,

使用户的APP及用户环境能够做到”一次封装,到处运行“

阅读全文 »

NoSQL概述

1、什么是 NoSQL

NoSQL泛指非关系型的数据库Not Only SQL。

2、NoSQL 数据库的四大分类

阅读全文 »

1
2
3
4
5
6
7
8
9
10
11
unity3D人物模型和动作
【链接:https://pan.baidu.com/s/1wtjWZvXET1cjLi3z8UohEQ 密码:6dy5】-模型-【游戏蛮牛】-ar增强现实,虚拟现实,unity3d,unity3d教程下载首选u3d,unity3d官网
|- unity3d角色 elitetrooper 带动作 CS角色 - 0 B

|- unity3d角色 ArcherWithHorse 骑士带动画Archer WithHorse - 0 B

|- unity3d 游戏人物模型 野蛮人 Barbarian(带19动作动画) - 0 B

|- unity3d 游戏人物模型 Ubrin Character Costumization RPG 角色模型换装 - 0 B

|- unity3d 游戏人物模型 Thief Fantasy Character - 0 B

1
2
3
4
5
pip install pycrypto-2.6.1-cp36-cp36m-win_amd64.whl
可能的报错
https://www.cnblogs.com/jinpingzhao/p/12492878.html
pip install pycryptodome
pyinstaller -F -i key.ico --key 123456789 qq.py
阅读全文 »

能够转化格式的

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87

# -*- coding:UTF-8 -*-
# !/usr/bin/python
"""
@File : dingtalk.py
@Time : 2020/4/25 16:40
@Author : iBoy
@Email : iboy@iboy.tech
@Description : 钉钉中那些无法下载的网课,可以通过Python协程下载,不想在线观看,突破2倍速限制
@Software: PyCharm
"""

import gevent
from gevent import monkey

monkey.patch_all()

import requests
import os
import time

download_dir = "download" # 存放的相对位置
course_id = "##########" # 课程代码
auth_key = "################" # 用户的唯一标示符
total_time = "97:17" # 网课的时长,这里是97分17秒


def download_video(k):
base_url = "http://dtliving-pre.alicdn.com/live_hp/{}/{}.ts?auth_key={}".format(course_id, k, auth_key)
print(base_url)
resp = requests.get(base_url)
with open(download_dir + "/{}.ts".format(k), 'wb') as f:
f.write(resp.content)
f.close()


def get_max_video_num(play_time):
try:
play_time = play_time.split(":")
total_seconds = int(play_time[0]) * 60 + int(play_time[1])
except Exception as e:
print("获取视频最大数量出现异常", str(e))
max_value = total_seconds // 30
# print(max_value)
while max_value != 0:
base_url = "http://dtliving-pre.alicdn.com/live_hp/{}/{}.ts?auth_key={}".format(course_id, max_value, auth_key)
resp = requests.get(base_url)
if resp.status_code == 404:
max_value = max_value - 1
else:
print("共有", max_value, "个视频")
break
return max_value


def merge_videos(filename):
ts_list = os.listdir(download_dir)
ts_list.sort(key=lambda x: int(x[:-3]))
with open("video.txt", "w") as f:
for name in ts_list:
f.write(("file " + os.getcwd() + r'/{}/{}'.format(download_dir, name) + "\n").replace('\\', "/"))
f.close()
cmd = "ffmpeg -f concat -safe 0 -i video.txt -c copy {}/{}.mp4".format(download_dir, filename)
os.system(cmd)
for f in ts_list:
try:
os.remove(download_dir + "/" + f)
except Exception as e:
print(str(e))
os.remove("video.txt")


if __name__ == "__main__":
if not os.path.exists(download_dir):
print("文件夹不存在,新建文件夹download")
os.mkdir(download_dir)
max_video_num = get_max_video_num(total_time)
# 定义协程方法
time_start = time.time()
download_queue = [gevent.spawn(download_video, k) for k in range(1, max_video_num + 1)]
# 添加协程任务,并且启动运行
gevent.joinall(download_queue)
time_end = time.time()
print("下载用时:", time_end - time_start, "s")
print("下载完成正在合并...")
merge_videos("计算机网络")
print("合并完成!")
阅读全文 »

国外免费接码平台

https://ch.freephonenum.com
https://smsreceivefree.com
https://zh.mytrashmobile.com
https://www.receive-sms-online.info
https://receiveasms.com
https://sms-online.co/receive-free-sms
https://receive-sms.com
http://receivefreesms.com/
https://www.receivesmsonline.net/
https://www.freeonlinephone.org/
https://us-phone-number.com
https://temporary-phone-number.com
https://www.receivesms.co/
https://www.smstibo.com/
PingMe 免费接码平台: https://pingme.tel/receive-sms-online-cn/
http://receivefreesms.net/
http://receivesmsonline.in/
https://sms-receive.net/
https://www.receivesms.net/
https://www.yaysms.com/
国内免费接码平台
超级云短信: http://www.bfkdim.com/
隐私短信:https://www.yinsiduanxin.com
云短信: https://www.materialtools.com/
在线短信:http://www.smszk.com/
游客短信:https://www.visitorsms.com/cn
免费接码:https://www.becmd.com/
接码平台:http://www.114sim.com/ http://zg.114sim.com/
云短信:https://yunduanxin.net/
免费接码:http://z-sms.com/
掠影网络:https://zusms.com/receiving-sms
免费接码:https://www.shejiinn.com/
云接码:https://yunjiema.net
云验证码:https://www.cnwml.com
免费接码:https://www.mffac.com
接码科技免费平台:http://jiema.tech/sms/
接码号:https://jiemahao.com
免费接码: https://mianfeijiema.com/
小鸟接码平台: http://www.xnsms.com/
zero接码平台: https://xinghai.party/
LotHelper: https://www.lothelper.com/cn
免费接码平台: http://www.zsrq.net/
国外收费接码平台
https://sms-activate.ru/cn/ 1$起充,有中文页面
https://5sim.net
便宜国家:俄罗斯( Russia )罗马尼亚( Romania )菲律宾( Philippines )蒙古( Mongolia )拉脱维亚( Latvia )哈萨克斯坦( Kazakhstan )以色列( Israel )哥伦比亚( Colombia )
http://smspva.com 这家起步就是0.1$,也就是最便宜7毛起步
https://onlinesim.ru/zh 就俄罗斯的码便宜,起步0.1卢布
https://www.jindousms.com/ 国人开的国外号码接码平台,不做国内业务
TG群
https://meiguojiema.com 又一个国人开的国外接码,主要美国和加拿大号码
https://www.smsjiema.com/ 美国实体卡号码,可以注册GV
https://www.textverified.com/ 2刀起充,接码也挺贵的
https://autofications.com/ 不算贵也不算便宜,最低$0.5一个码
国内收费接码平台
不确定什么时候会跑路,用多少充多少

阅读全文 »

1
2
3
首先确认你日志是否启用了
show variables like 'log_bin';
show master status