会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
呦吼吼吼~
任何值得去的地方,都没有捷径。——贝弗利·希尔斯
博客园
首页
新随笔
联系
订阅
管理
1
2
3
下一页
2023年3月3日
抖音小程序安卓摄像头和ios前置摄像头不一致得解决方法
摘要: 目前安卓测试正常,需要把抖音拍的照片用canvas反转过来 直接上代码 html <camera device-position="front" flash="off" onError="error" style="width: 320px;height:190px;" frame-size="la
阅读全文
posted @ 2023-03-03 13:59 呦吼吼吼~
阅读(169)
评论(0)
推荐(0)
2023年1月13日
python pillow 修改gif背景色为透明
摘要: 废话不多说,直接上代码 from PIL import Image from PIL import ImageSequence imgs = Image.open("xxx.gif") image_list = [] for frame in ImageSequence.Iterator(imgs)
阅读全文
posted @ 2023-01-13 15:17 呦吼吼吼~
阅读(330)
评论(0)
推荐(0)
2022年3月30日
Golang 可以运行 但是 github 包标红
摘要: 如图: golang 会自动同步,单击 参考 url https://www.jetbrains.com/help/go/create-a-project-with-go-modules-integration.html#working-with-dependencies
阅读全文
posted @ 2022-03-30 11:18 呦吼吼吼~
阅读(202)
评论(0)
推荐(0)
2021年10月28日
macos monterey 系统升级后 go build 错误
摘要: 错误 /usr/local/Cellar/go/1.16.3/libexec/pkg/tool/darwin_amd64/link: running clang failed: exit status 1 xcrun: error: invalid active developer path (/L
阅读全文
posted @ 2021-10-28 20:24 呦吼吼吼~
阅读(361)
评论(0)
推荐(0)
2020年10月5日
rewrite 导致 nginx 一直重定向301 的问题分析
摘要: 出现问题的正则: rewrite ^/(.+)/index.html /$1/ permanent; 关键词: permanent,$1 $1表示路径中正则表达式匹配的第一个参数。 permanent 是 永久性重定向。请求日志中的状态码为301 第一个请求匹配到这条正则 返回 301 和 一个 新
阅读全文
posted @ 2020-10-05 17:00 呦吼吼吼~
阅读(1068)
评论(0)
推荐(0)
macos django 导入使用MySQL错误 django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module. Did you install mysqlclient? Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
摘要: error :django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module. Did you install mysqlclient? 启动django后突然发现这个错误 排查思路: 查看 django mysql
阅读全文
posted @ 2020-10-05 10:17 呦吼吼吼~
阅读(444)
评论(0)
推荐(0)
2020年9月13日
影响程序运行的因素
摘要: 1.2 影响程序运行的因素(存储设备) hello.c 的程序,是无法感觉到运行过程的,但是在计算机是需要进行大量的计算,起初hello程序的机器指令是存放在磁盘上的,当程序加载时,他们被复制到主存,当处理器运行程序时,指定从主存中复制到处理器,相似地,数 据 串 “h e l io, w orl
阅读全文
posted @ 2020-09-13 21:57 呦吼吼吼~
阅读(668)
评论(0)
推荐(0)
2020年8月24日
django linux 环境下函数设置超时
摘要: 使用timeout-decorator pip install timeout-decorator import time import timeout_decorator @timeout_decorator.timeout(3, use_signals=False) #如果改为 True 会报s
阅读全文
posted @ 2020-08-24 10:30 呦吼吼吼~
阅读(257)
评论(0)
推荐(0)
2020年8月23日
计算机系统漫游
摘要: 前言 计算机能运作,是基于硬件和软件来运行程序,系统会追着时间方式不断变化,但是内在的概念基本不会改变,所以单纯的学习新的工具,短期内收益增加会明显,但是长期来看,缺乏核心竞争力(-毕竟体力和精神力无法和年轻人相比), 这样就会出现吃青春饭的现象,所以学习机器内在运行原理非常重要,因为这块儿东西,需
阅读全文
posted @ 2020-08-23 17:41 呦吼吼吼~
阅读(156)
评论(0)
推荐(0)
2020年7月17日
mac os 一条命令查看端口并且杀死进程
摘要: 由于django 退出总是不自动关闭, 需要杀死之前的进程 kill `lsof -i:8000 |grep Python|awk '{print $2}'`
阅读全文
posted @ 2020-07-17 10:17 呦吼吼吼~
阅读(592)
评论(0)
推荐(0)
1
2
3
下一页
公告