摘要: 1.上顶,下顶flex-wrap: wrap; align-content: flex-start; https://www.runoob.com/try/playit.php?f=playcss_align-content&preval=flex-start https://www.runoob. 阅读全文
posted @ 2019-03-08 00:00 林间有风-邓 阅读(321) 评论(0) 推荐(0) 编辑
摘要: golang2022 开发工具 orm: https://gorm.io/docs/ go env 环境变量错误时 go mod tidy GOSUMDB=sum.golang.google.cn GOPROXY=https://goproxy.cn,direct OMODCACHE=D:\go\w 阅读全文
posted @ 2022-04-30 17:52 林间有风-邓 阅读(50) 评论(0) 推荐(0) 编辑
摘要: location /xxx { root /usr/local/nginx/html; rewrite ^(.*) https://b.cn$1 permanent; } 阅读全文
posted @ 2022-04-20 16:55 林间有风-邓 阅读(4) 评论(0) 推荐(0) 编辑
摘要: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist Centos8最近版本的问题(只有8有问题)【2022-04-18亲测可用】 大家都 阅读全文
posted @ 2022-04-18 18:27 林间有风-邓 阅读(1482) 评论(0) 推荐(0) 编辑
摘要: 2023win11安装linux子系统【亲测有效】 https://hernsong.blog.csdn.net/article/details/89422677 sudo /etc/init.d/ssh start sudo /etc/init.d/ssh stopservice docker s 阅读全文
posted @ 2022-02-25 21:54 林间有风-邓 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 宝塔数据库自动备份目录:/www/server/mysql-bin.000006(尽量备份一个进行操作) mysqlbinlog -d dengsign mysql-bin.000004 > sql1003.sqldengsign :表名【只导出具体哪个表】 mysql-bin.000004:旧数据 阅读全文
posted @ 2022-01-20 15:57 林间有风-邓 阅读(143) 评论(0) 推荐(0) 编辑
摘要: location /ws { proxy_pass http://wss; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; } map $ht 阅读全文
posted @ 2022-01-06 22:51 林间有风-邓 阅读(693) 评论(0) 推荐(0) 编辑
摘要: 视频压缩可以有一下方式: 1.压缩分辨率 例如视频的分辨率是720x1280,可以压缩分辨率为360x640 2.压缩帧数 通过压缩视频的帧数来压缩,可以压缩视频的帧数到1秒10帧甚至1秒5帧 3.压缩比特率 即压缩视频的码率,要求不高的话可以压缩到700kb/s左右 4.压缩音频码率 压缩视频的音 阅读全文
posted @ 2021-12-23 11:16 林间有风-邓 阅读(848) 评论(0) 推荐(0) 编辑
摘要: win11 git bash 升级后没有git命令的解决办法 1.点击windows图标,输入:regedit 2.打开注册表,位置:计算机\HKEY_CLASSES_ROOT\Directory\Background\shell\open in git\command 【看下边图片】(新建2个文件 阅读全文
posted @ 2021-12-22 21:30 林间有风-邓 阅读(1937) 评论(0) 推荐(0) 编辑
摘要: linux crontab 定时任务 0 5 * * * /root/bin/backup.sh 这将会在每天早上5点运行 /root/bin/backup.sh 已测试通过60分钟执行一次*/60 * * * * /usr/local/php72/bin/php /data/www/dian/ar 阅读全文
posted @ 2021-12-21 14:21 林间有风-邓 阅读(35) 评论(0) 推荐(0) 编辑
摘要: public static function getLngLat($lng,$lat) { echo $lng.'___'.$lat; echo "\n"; $ak = 'xxxxxxxxxxxxxxxxxxxxxxxxxxx'; $callback=array('cityCode'=>0,'cit 阅读全文
posted @ 2021-12-18 22:50 林间有风-邓 阅读(659) 评论(0) 推荐(0) 编辑