天明博客总经理的头像-天明的博客
天明博客总经理管理员超级版主
这家伙很懒,什么都没有写...
使用 Tello 无人机获取视频的教程-天明的博客

使用 Tello 无人机获取视频的教程

```pythonfrom djitellopy import tello # 导入 Tello 库import time # 导入时间库import cv2 # 导入 OpenCV 库me = tello.Tello() # 创建 Tello 对象me.connect() # 连接到 Telloprint(me.get_...
ubuntu添加虚拟内存-天明的博客

ubuntu添加虚拟内存

假设我们希望创建一个4GB的交换空间: sudo fallocate -l 4G /swapfile 设置权限: sudo chmod 600 /swapfile 配置交换空间: sudo mkswap /swapfile 验证交换空间: sudo swapon /swapfile 这...
剪贴板安装小记-天明的博客

剪贴板安装小记

需要安装以下模块djangorestframeworkDjangodjango-cors-headersnumpyjsonschema数据库migratepip install djangopython3 manage.py migratepip install djangorestframeworkpip install corshe...
2个月前
0636
vuepress组件-天明的博客

vuepress组件

一src/.vuepress/components/MyComponent.vue<template> <link href='/css/codemirror.css' rel='stylesheet' /> <link href='/css/prolog.css' rel='stylesheet' /> <div...
内存不够打包失败 Reached heap limit Allocation failed - JavaScript heap out of memory-天明的博客

内存不够打包失败 Reached heap limit Allocation failed – JavaScript heap out of memory

前端打包,内存不够,打包失败。解决办法:1、npm install -g increase-memory-limit2、npm install -g cross-env3、然后还需要把所有node_modules bin 下面的.cmd文件里的 “%_prog% ”改成 %_...