上一页 1 2 3 4 5 6 7 8 ··· 33 下一页
摘要: 班级表 学生表 分数表 课程表 老师表 前提: 1. 一个班级具有多个学生 2. 分数应该体现学生对应的课程 3. 一个老师可以带多个班级 sql语句执行顺序: 1、from 2、where 3、group by ··· having 4、聚合函数 5、select查询语句 6、order by排序 阅读全文
posted @ 2022-02-11 16:05 前方、有光 阅读(215) 评论(0) 推荐(0)
摘要: 官网:https://kubesphere.io/zh/ 安装:https://kubesphere.io/zh/docs/quick-start/all-in-one-on-linux/ 安装扩展:https://kubesphere.io/zh/docs/pluggable-components 阅读全文
posted @ 2022-01-25 13:05 前方、有光 阅读(910) 评论(7) 推荐(0)
摘要: tmux new -s zjp # 新建终端 tmux a -t zjp # 进入终端 Ctrl + b 退出终端tmux kill-session -t zjp #销毁 终端神器。自行百度。 https://www.cnblogs.com/wangqiguo/p/8905081.html 百度一大 阅读全文
posted @ 2022-01-19 18:16 前方、有光 阅读(52) 评论(0) 推荐(0)
摘要: 准备嵌入到现有系统 def log_addition(self, request, object, message): """ Log that an object has been successfully added. The default implementation creates an 阅读全文
posted @ 2022-01-17 17:29 前方、有光 阅读(234) 评论(0) 推荐(0)
摘要: # 直接在docker容器里面通过date -s的方式修改会影响外部服务器时间 # 采用faketime只能欺骗应用 # date -s 不生效 ==> sudo timedatectl set-ntp false 阅读全文
posted @ 2022-01-12 17:08 前方、有光 阅读(564) 评论(0) 推荐(0)
摘要: gb28182视频接入 https://www.liveqing.com/docs/manuals/LiveGBS.html#%E6%8E%A5%E5%8F%A3%E6%96%87%E6%A1%A3 官方文档有更加规范的示例 http://192.168.2.64:10000/play.html?s 阅读全文
posted @ 2022-01-04 18:01 前方、有光 阅读(136) 评论(0) 推荐(0)
摘要: GitHub源码:https://github.com/EasyDarwin/EasyDarwin https://github.com/EasyDarwin/EasyDarwin/releases ! 仅支持amd平台架构,可docker封装使用 容器运行: sudo docker run -td 阅读全文
posted @ 2022-01-04 11:47 前方、有光 阅读(357) 评论(0) 推荐(0)
摘要: # setting.py 配置 INSTALLED_APPS = [ '···', 'channels', '···', ] ASGI_APPLICATION = 'face_safe.asgi.application' CHANNEL_LAYERS = { 'default': { 'BACKEN 阅读全文
posted @ 2021-12-10 11:54 前方、有光 阅读(322) 评论(1) 推荐(0)
摘要: # 配置在server同级 map $http_upgrade $connection_upgrade { default upgrade; '' close; } server { listen 80; server_name localhost; client_max_body_size 512 阅读全文
posted @ 2021-12-10 11:43 前方、有光 阅读(823) 评论(0) 推荐(0)
摘要: ffmpeg 转 MP4 ffmpeg -fflags genpts -threads 12 -an -i stream.tmp -preset ultrafast -tune fastdecode -crf 25 -r 25 -s 960x540 -c:v h264 -f mp4 stream_9 阅读全文
posted @ 2021-12-06 15:04 前方、有光 阅读(866) 评论(1) 推荐(0)
摘要: 发现了一个问题,简单记录一下:1. Django后端实现一个FIFO的消息队列 2. 通过HTTP写入正常 3. 通过HTTP读取正常 1. 通过HTTP写入正常 2. 通过websocket读取为None 3. 再次通过HTTP读取正常 疑问: http 数据跟websocket请求数据不通?后端 阅读全文
posted @ 2021-11-24 18:24 前方、有光 阅读(63) 评论(0) 推荐(0)
摘要: import random from queue import Queue start_time = time.time() # [360, 14, -0.26727742101246454], [361, 13, 0.6103671964150552] ... 0: X轴 1: Y轴 2: 振幅 阅读全文
posted @ 2021-11-24 11:26 前方、有光 阅读(230) 评论(0) 推荐(0)
摘要: import random import threading from datetime import datetime from queue import Queue class SingletonType: _instance_lock = threading.Lock() def __new_ 阅读全文
posted @ 2021-11-18 15:19 前方、有光 阅读(63) 评论(0) 推荐(0)
摘要: 选择适合自己版本的frp版本 选择适合自己的frp版本 https://github.com/fatedier/frp/releases wget https://github.com/fatedier/frp/releases/download/v0.38.0/frp_0.38.0_linux_a 阅读全文
posted @ 2021-11-12 17:48 前方、有光 阅读(387) 评论(0) 推荐(0)
摘要: version: '3' services: yapi-web: image: nightz/yapi:latest container_name: yapi-web restart: always ports: - "10031:3000" environment: - YAPI_ADMIN_AC 阅读全文
posted @ 2021-11-10 15:23 前方、有光 阅读(91) 评论(1) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 33 下一页