会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Loading
老卫同学
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
5
6
7
8
9
10
下一页
2021年6月15日
nginx https 配置
摘要: nginx配置https server { listen 80; listen 443 ssl; server_name lan.oldwei.com; client_max_body_size 2000M; #charset koi8-r; #access_log logs/host.access
阅读全文
posted @ 2021-06-15 11:53 老卫同学
阅读(113)
评论(0)
推荐(0)
2021年6月9日
git初始化
摘要: 创建git仓库 …or create a new repository on the command line echo "# blank" >> README.md git init git add README.md git commit -m "first commit" git branch
阅读全文
posted @ 2021-06-09 15:37 老卫同学
阅读(66)
评论(0)
推荐(0)
脚本的几种实现方式
摘要: 使用chrome插件油猴 油猴编码 go语言使用chromedp模拟chrome浏览器 github地址
阅读全文
posted @ 2021-06-09 00:17 老卫同学
阅读(88)
评论(0)
推荐(0)
2021年6月7日
Golang Linux、Mac、Windows 跨平台交叉编译
摘要: Go 支持交叉编译,在可以一个平台上生成多个平台的执行文件。 CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build CGO_ENABLED=0 GOOS=darw
阅读全文
posted @ 2021-06-07 09:49 老卫同学
阅读(183)
评论(0)
推荐(0)
2021年6月4日
flv.js播放失败 DemuxException: type = CodecUnsupported, info = Flv: Unsupported codec in video frame: 2
摘要: 在浏览器中拉流播放报错: DemuxException: type = CodecUnsupported, info = Flv: Unsupported codec in video frame: 2 解决方案: 推流时加上编码格式h264: -vcodec h264 ffmpeg -re -i
阅读全文
posted @ 2021-06-04 10:43 老卫同学
阅读(5938)
评论(1)
推荐(0)
2021年5月10日
Java使用RestTemplate发送文件
摘要: /** * 发送数据到云端接口 * @param filename 文件名 */ public void sendDataToCloudApi(String filepath) { FileSystemResource fileSystemResource = new FileSystemResou
阅读全文
posted @ 2021-05-10 19:13 老卫同学
阅读(978)
评论(0)
推荐(0)
Java简单的阿里云对象存储OSS文件上传工具类
摘要: 阿里云对象存储OSS文件上传工具类 使用的依赖包 <dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-all</artifactId> <version>5.6.2</version> </dependency> <depende
阅读全文
posted @ 2021-05-10 18:44 老卫同学
阅读(687)
评论(0)
推荐(0)
Java读取json文件转换为json
摘要: 在项目中遇到读取以json格式存储的配置文件,为了方便操作,将文件内容读取出来并转换为json对象,本文使用的是fastjson import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import org.
阅读全文
posted @ 2021-05-10 18:28 老卫同学
阅读(2637)
评论(0)
推荐(0)
2020年12月18日
IDEA sun.misc.BASE64Encoder报错
摘要: 一直以来Base64的加密解密都是使用sun.misc包下的BASE64Encoder及BASE64Decoder的 这次换了JDK后发现提示找不到该类,网上有办法说重新配置jre就行了,但事实上不是这么简单的,在我测试后发现,这是要看配置的jre的类型是execution environment(
阅读全文
posted @ 2020-12-18 12:16 老卫同学
阅读(792)
评论(0)
推荐(0)
2020年12月16日
Git tag 给当前分支打标签
摘要: 标签(Tag)可以针对某一时间点的版本做标记,常用于版本发布。 列出tag # 在控制台打印出当前仓库的所有tag git tag # 搜索符合模式的Tag git tag -l 'v1.1.*' 打tag git tag分为两种类型:轻量tag和附注tag。轻量tag是指向提交对象的引用,附注Ta
阅读全文
posted @ 2020-12-16 16:43 老卫同学
阅读(687)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
下一页
公告