- Python 版本 3.7 以及以上
- 安装依赖的库
pip install efinance>=0.4.2
- 监控代码如下
import requests
# 字体设置 | |
font-family = BlexMono Nerd Font Mono | |
font-size = 16 | |
# 主题和样式 | |
theme = GruvboxDarkHard | |
cursor-style = block | |
adjust-cell-height = 35% | |
pip install efinance>=0.4.2
import requests
<script type="text/javascript"> | |
let res = [ | |
{pid: null, id: 1, name: '部门A'}, | |
{pid: null, id: 2, name: '部门B'}, | |
{pid: null, id: 3, name: '部门C'}, | |
{pid: 1, id: 4, name: '部门A'}, | |
{pid: 4, id: 5, name: '部门A'}, | |
{pid: 7, id: 6, name: '部门A'}, | |
{pid: 1, id: 7, name: '部门A'}, | |
{pid: 3, id: 8, name: '部门A'}, |
version: '3' | |
services: | |
mongodb: | |
image: mongo:3.4.1 | |
volumes: | |
# ./data/db 数据库文件存放地址,根据需要修改为本地地址 | |
- './data/db:/data/db' | |
networks: | |
- easy-mock |
DAUMPLAYLIST | |
1*file*http://cloud-play.hhalloy.com/live/cf4d66edc142b2f0cc8c71bca56b2268.m3u8 | |
1*title*中视新闻[HD] | |
2*file*http://cloud-play.hhalloy.com/live/a4aa25e01a432729323f4d0778605887.m3u8 | |
2*title*DWTV | |
3*file*http://cloud-play.hhalloy.com/live/1aab6cf57296bdefc6f4bea94702782a.m3u8 | |
3*title*新加坡亚洲新闻台 | |
4*file*http://cloud-play.hhalloy.com/live/4677cf6625ce01b236bbb58f99094d51.m3u8 | |
4*title*寰宇新闻[HD] | |
5*file*http://cloud-play.hhalloy.com/live/7c52797bf1ca2da52c212bdead1d607c.m3u8 |
//JS获取table列 | |
var str = null; | |
var obj = document.getElementById(123) | |
var len = obj.rows.length | |
for (var i = 1;i<len;i++) | |
{ | |
str += "\""; | |
str += obj.rows.item(i).cells.item(0).innerHTML; | |
str += "\","; | |
} |
★ 代表个人推荐度————海外人士首选,来自huarenTV—————— | |
★★★★★★CCTV5 http://lcok.net/live/tao.m3u8 | |
★★★★★★CCTV5 http://lcok.net/live/tao2.m3u8 | |
★★★★★★CCTV 5+http://lcok.net/live/jia.m3u8 | |
★★★★★★CCTV 5+http://lcok.net/live/jia2.m3u8 | |
———————只能用播放器,如遇无法打开,依次继续用下面的链接,6月29日更新:下面链接随时会挂,不定时恢复——————————— | |
★★★★★★CCTV5 蓝光 (四川电信,延迟10秒,所有浏览器✘,海外党√,Windows 用 potplayer,Mac和安卓用 MPV) | |
rtsp://118.123.56.56:554/PLTV/88888893/224/3221227219/10000100000000060000000001366244_0.smil | |
rtsp://118.123.56.55:554/PLTV/88888893/224/3221227219/10000100000000060000000001366244_0.smil | |
rtsp://118.123.56.54:554/PLTV/88888893/224/3221227219/10000100000000060000000001366244_0.smil |
A list of useful commands for the FFmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
[正则表达式](http://www.runoob.com/regexp/regexp-intro.html) | |
一、校验数字的表达式 | |
1 数字:^[0-9]*$ | |
2 n位的数字:^\d{n}$ | |
3 至少n位的数字:^\d{n,}$ | |
原文:架构师之路
相信大家都有感触,线上服务内存OOM的问题,是最难定位的问题,不过归根结底,最常见的原因:
本身资源不够
申请的太多
资源耗尽