上一页 1 2 3 4 5 6 7 8 ··· 30 下一页
2023年12月5日
摘要: select id,group_concat(distinct age) from test_group_concat group by id; select id,group_concat(id,'_', age SEPARATOR ';') from test_group_concat grou 阅读全文
posted @ 2023-12-05 17:08 boye169 阅读(8) 评论(0) 推荐(0) 编辑
2023年11月30日
摘要: #coding:utf-8 # pip install pyttsx3 import pyttsx3 as pyttsx text = 'I can because i think i can. 逆境清醒 Life is not all roses.人生并不是康庄大道。' engine = pytt 阅读全文
posted @ 2023-11-30 17:49 boye169 阅读(33) 评论(0) 推荐(0) 编辑
2023年11月28日
摘要: #coding:utf-8 #pip install manim #ffmpeg官网 http://ffmpeg.org/ from manim import * class Draw(Scene): def construct(self): text1 = Text( 'Hello World', 阅读全文
posted @ 2023-11-28 11:40 boye169 阅读(19) 评论(0) 推荐(0) 编辑
摘要: ffmpeg介绍 FFmpeg是一个自由软件,可以运行音频和视频多种格式的录影、转换、流功能,包含了libavcodec——这是一个用于多个项目中音频和视频的解码器库,以及libavformat——一个音频与视频格式转换库。 主要参数 -i——设置输入档名。 -f——设置输出格式。 -y——若输出文 阅读全文
posted @ 2023-11-28 10:53 boye169 阅读(81) 评论(0) 推荐(0) 编辑
2023年11月23日
摘要: proxy_connect_timeout 搭建一个简单的负载均衡,然后关闭其中一台再来访问,会发现我们的浏览器卡住一直转圈圈,过了很久才会显示结果。由此我们可以得出结论Nginx负载的时候如果其中一台服务挂掉了,它会把请求转发到另一个可以提供服务的机器,其中这之间的超时等待默认是60s。我们可以通 阅读全文
posted @ 2023-11-23 10:27 boye169 阅读(548) 评论(0) 推荐(0) 编辑
2023年11月22日
摘要: #!/usr/bin/env python # coding:utf-8 # pip install wordcloud # pip install matplotlib import wordcloud import matplotlib.pyplot as plt import numpy as 阅读全文
posted @ 2023-11-22 15:43 boye169 阅读(30) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python # coding:utf-8 import numpy as np from PIL import Image # im = Image.open('pic/cat.jpg') # im.show() # im.save("pic/cat.png") de 阅读全文
posted @ 2023-11-22 11:28 boye169 阅读(24) 评论(0) 推荐(0) 编辑
2023年11月13日
摘要: HTTP、HTTPS和TCP介绍 HTTP(超文本传输协议是一种发布和接收 HTML 页面的方法,被用于在 Web 浏览器和网站服务器之间传递信息。是用于www浏览的一个协议。 HTTPS(超文本传输安全协议) = HTTP + SSL/TSL(安全层),HTTPS 经由 HTTP 进行通信,但利用 阅读全文
posted @ 2023-11-13 15:39 boye169 阅读(25) 评论(0) 推荐(0) 编辑
2023年11月3日
摘要: 下载nginx wget https://nginx.org/download/nginx-1.25.3.tar.gz yum安装依赖包 yum -y install gcc zlib zlib-devel pcre-devel openssl openssl-devel 解压 tar -zxvf 阅读全文
posted @ 2023-11-03 09:52 boye169 阅读(257) 评论(0) 推荐(0) 编辑
2023年11月2日
摘要: server { listen 8088; server_name localhost; #charset koi8-r; #access_log logs/host.access.log main; add_header 'Access-Control-Allow-Methods' 'POST, 阅读全文
posted @ 2023-11-02 17:59 boye169 阅读(712) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 30 下一页