会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
与f
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
···
121
下一页
2025年4月22日
js直播间的评论关键词检测
摘要: 1.如果出现数组的单词则屏蔽(匹配成功) function createSensitiveRegex(words) { const escaped = words.map(word => word.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')); return new
阅读全文
posted @ 2025-04-22 14:29 与f
阅读(31)
评论(0)
推荐(0)
2025年4月21日
Centos开机启动配置都有哪些工具
摘要: CentOS 开机启动配置工具及方法 一、Systemd 工具(CentOS 7+ 推荐) 核心工具 systemctl:用于管理 Systemd 单元(服务、挂载点等),支持服务启停、状态查询及开机自启配置。 常用命令: # 设置开机自启 systemctl enable <服务
阅读全文
posted @ 2025-04-21 10:30 与f
阅读(115)
评论(0)
推荐(0)
2025年4月18日
使用S3fs让ECS虚拟机直接挂载OBS对象存储桶
摘要: 一、服务器下载相关依赖包 yum install fuse sudo yum install automake fuse fuse-devel gcc-c++ git libcurl-devel libxml2-devel make openssl-devel 对于Ubuntu 14.04,执行:[
阅读全文
posted @ 2025-04-18 14:45 与f
阅读(264)
评论(0)
推荐(0)
2025年2月11日
JS中的Promise
摘要: test(stream_name){ let that = this; that.test01().then((e)=>{ return that.test02(e) }).then((e)=>{ return that.test03(e) }).catch((err)=>{ console.log
阅读全文
posted @ 2025-02-11 16:57 与f
阅读(12)
评论(0)
推荐(0)
2025年1月20日
小程序中使用js定义css变量切换变量
摘要: <view class="container"> <view class="my-view" style="{{viewData.style}}"> <image src="/images/abc.png" mode="widthFix"/> </view> </view> .my-view{ wi
阅读全文
posted @ 2025-01-20 15:08 与f
阅读(152)
评论(0)
推荐(0)
微信小程序设置scss编译
摘要: 微信小程序设置scss编译 方法一:现在微信开发者工具已经继承了,只要在project.config.json配置文件中修改即可。 方法二:在vs中安装easysass插件,微信开发者工具支持导入vs现有插件(应该也可以安装),之后再插件目录下配置文件,少量修改. 方法一: 选择小程序项目下的pro
阅读全文
posted @ 2025-01-20 10:56 与f
阅读(955)
评论(0)
推荐(0)
2025年1月9日
windows下php安装依赖版本工具composer
摘要: 1. 先把php加入到环境变量 2.直接下载 composer.phar,地址:https://dl.laravel-china.org/composer.phar 把下载的 composer.phar 放到 PHP 安装目录 命令下载: php -r "copy('https://getcompo
阅读全文
posted @ 2025-01-09 11:17 与f
阅读(160)
评论(0)
推荐(0)
2024年12月23日
实现直播间消息评论滚动,顶部消失
摘要: 实现直播间消息评论滚动,顶部消失 竟然一句代码就解决了 -webkit-mask-image: linear-gradient(to bottom,rgba(255,255,255,0) 0,rgba(255,255,255,.6) 15%,rgba(255,255,255,1) 100%); <!
阅读全文
posted @ 2024-12-23 22:04 与f
阅读(43)
评论(0)
推荐(0)
2024年12月21日
直播间点赞动画
摘要: 直播间点赞动画 https://blog.csdn.net/weixin_50450473/article/details/129185936 https://blog.csdn.net/weixin_46837985/article/details/105852711 https://blog.c
阅读全文
posted @ 2024-12-21 09:55 与f
阅读(19)
评论(0)
推荐(0)
2024年12月20日
css 从中间向两边颜色渐变到透明
摘要: css 从中间向两边颜色渐变到透明 background: linear-gradient(to right, rgba(27,201,145,.1) 0%, rgba(27,201,145,.8) 50%, rgba(27,201,145,.1) 100%); https://juejin.cn/
阅读全文
posted @ 2024-12-20 10:01 与f
阅读(335)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
121
下一页
公告