前端JavaScript导出excel,并用excel分析数据,使用SheetJS导出excel

前言:哈喽,大家好,今天给大家分享今天给大家分享一篇文章!并提供具体代码帮助大家深入理解,彻底掌握!创作不易,如果能帮助到大家或者给大家一些灵感和启发,欢迎收藏+关注哦 💕

共同探索软件研发!敬请关注【宝码香车】
csdngif标识

目录

  • 前端js导出excel,并用excel分析数据,使用SheetJS导出excel
  • 📚一、效果
  • 📚二、信息
    • 💡1.核心:
  • 📚三、源代码,上代码,可以直接复制使用
    • ✍️html
  • 📚四、用excel进行数据分析
    • 📖1.把下载好的数据用excel打开
    • 📖2.选择合适的格式
    • 📖3.分析数据


📚💡📝🗂️✍️🛠️💻🚀🎉🏗️🌐🖼️🔗📊👉🔖⚠️🌟🔐⬇️·正文开始⬇️·🎥😊🎓📩😺🌈🤝🤖📜📖📋🔍✅🧰❓📄📢📈 🙋1️⃣2️⃣3️⃣

前端js导出excel,并用excel分析数据,使用SheetJS导出excel

sheetjs文档1:https://github.com/rockboom/SheetJS-docs-zh-CN
sheetjs文档2:https://xlsx.nodejs.cn/
sheetjs文档3:https://xlsx.nodejs.cn/docs/csf/cell/

📚一、效果

描述


📚二、信息

💡1.核心:

引入sheetjs库

<script lang="javascript" src="https://cdn.sheetjs.com/xlsx-0.20.1/package/dist/xlsx.full.min.js"></script>
  const dataDemo = [['公司名称', '职位', '薪资'],['正大国际', '工程监理', '10-20k'],['依茨法尔', '研发工程师', '15-25k'],]// 将二维数组转换为工作表对象const ws = XLSX.utils.aoa_to_sheet(dataDemo)// 创建一个新的工作簿对象const wb = XLSX.utils.book_new()// 将工作表对象添加到工作簿中,'Sheet1'为工作表的名称XLSX.utils.book_append_sheet(wb, ws, 'Sheet1')// 将工作簿数据写入文件,'exported_data.xlsx'为导出文件的名称XLSX.writeFile(wb, '招聘.xlsx')

📚三、源代码,上代码,可以直接复制使用

✍️html

<!doctype html>
<html lang="en">
<head><meta charset="UTF-8"><meta name="viewport"content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>Document</title>
</head>
<body></body>
<!-- use version 0.20.1 -->
<script lang="javascript" src="https://cdn.sheetjs.com/xlsx-0.20.1/package/dist/xlsx.full.min.js"></script>
<script>const data = [["公司名称","职位","薪资"],["金正大国际","仪表工程师","10-15K"],["山东金正阳","矿石加工工程师","7-10K"],["山田新材料","机械工程师","6-11K"],["申正机械","申正机械招聘焊工","5-10K"],["盈盛泰","消防工程师","4-5K"],["临沂金科铸造有限公司","机械工程师","6-8K"],["山东米娅","研发工程师","6-11K"],["史丹利","史丹利招聘生产安全员","7-12K"],["道依茨法尔","车身研发工程师","10-15K·13薪"],["山东基彩","水性涂料研发服务工程师","9-13K"],["朗智家居","工程监理","8-13K"],["山东科翰硅源新材料","研发专员","4-8K"],["临沂临沭","临沂临沭招聘消防中控员","3-4K"],["山东昌德东","山东昌德东招聘质量管理/测试","3-4K"],["厚德","cad绘图专员","4-5K"],["临沭德艺装饰","建筑施工现场管理","5-6K"],["富联","富联招聘生产安全员","5-9K"],["山东久固钢结构工...","技术员","5-8K"],["中龙建材","资料员文员","3-4K"],["蒙纳德","蒙纳德招聘质量管理/测试","3-6K"],["正大工艺","产品设计师","3-5K"],["临沂雨浩商贸有限公司","云南白药招聘临沭县区经理","3-8K"],["润之升","临沭生产文员","3-4K"],["招联信息咨询","经理助理","8-10K"],["佰世利工艺品公司","业务","4-8K"],["数字奇点","销售代表","5-10K·13薪"],["上海微创投资控股...","医疗器械厂家销售-骨科关节(山东临沂)","6-10K·20薪"],["华辛商贸","医药代表","5-10K"],["临沂市硕熙医疗科...","医药地区经理","12-24K"],["金丰公社","培训经理/主管","5-8K"],["瑞纳集团","电气工程师","5-8K·14薪"],["山田研磨","机械工程师","9-14K"],["山东金正阳","矿石加工工程师","7-10K"],["临沂鹏科金属","化工工程师","6-10K"],["申正机械","申正机械招聘焊工","5-9K"],["盈盛泰","消防工程师","4-5K"],["史丹利","史丹利招聘生产安全员","7-12K"],["临沂金科铸造有限公司","机械工程师","6-8K"],["山东米娅","研发工程师","6-11K"],["茸渝","机械工程师","3-4K"],["碧桂园集团山东区域","房修工程师","7-8K"],["道依茨法尔","车身研发工程师","10-15K·13薪"],["富联","富联招聘生产安全员","5-6K"],["伯乐为亮","工艺工程师(碳化硅)","25-50K"],["山东科翰硅源新材料","车间DCS系统设备工程师","5-8K"],["山东慧美","化妆品研发工程师","6-11K"],["中国电信临沭分公司","移动通信工程师","4-9K"],["临沂蔚云环保科技","大气环境治理工程师","3-7K"],["山东基彩","水性涂料研发服务工程师","9-13K"],["思路智园科技","化工业务工程师-工艺或消防方向","10-15K"],["山东金扬教育科技","风电/光伏运维工程师","5-6K"],["朗智家居","工程监理","8-13K"],["山东正阳工程咨询公司","工程造价员","4-8K"],["临沂临沭","临沂临沭招聘消防中控员","3-4K"],["圣泰","机械工艺员","8-10K"],["山东昌德东","山东昌德东招聘质量管理/测试","3-4K"],["金正大国际","微生物产品研发专员","7-9K"],["厚德","cad绘图专员","4-5K"],["山东政泰建设项目...","咨询项目管理","5-8K"],["山颖建","造价师","10-15K"],["金正大国际","仪表工程师","10-15K"],["临沂中科芯华新材...","技术工程师","8-13K"],["道依茨法尔","液压工程师","9-14K·13薪"],["盈盛泰","消防工程师","4-5K"],["鹏科","化工工程师","6-10K"],["山田新材料","机械工程师","6-11K"],["瑞纳集团","暖通工程师","8-13K·14薪"],["邦旭科技","运维工程师","2-3K"],["申正机械","申正机械招聘焊工","5-9K"],["震悦减震","机械工程师","4-6K"],["山东金正阳","采矿工程师","7-10K"],["临沂金正阳管业","地质工程师","8-12K"],["临沂金科铸造有限公司","机械工程师","6-8K"],["山东米娅","研发工程师","6-11K"],["茸渝","机械工程师","3-4K"],["山东科翰硅源新材料","车间DCS系统设备工程师","5-8K"],["伯乐为亮","高级机械设计工程师","20-25K"],["山东慧美","化妆品研发工程师","6-11K"],["临沂蔚云环保科技","大气环境治理工程师","3-7K"],["思路智园科技","化工业务工程师-工艺或消防方向","10-15K"],["山东金扬教育科技","风电/光伏运维工程师","5-6K"],["朗智家居","工程监理","8-13K"],["山东正阳工程咨询公司","工程造价员","4-8K"],["圣泰","机械工艺员","8-10K"],["启千公司","社保主播","5-8K"],["厚德","cad绘图专员","4-5K"],["临沭德艺装饰","建筑施工现场管理","5-6K"],["艺辰影视","舞美设计执行","80-90元/天"],["富联","富联招聘生产安全员","5-9K"],["史丹利","生产管培生","5-8K"],["瑞纳集团","电气工程师","5-8K·14薪"],["山田研磨","机械工程师","9-14K"],["山东金正阳","矿石加工工程师","7-10K"],["临沂鹏科金属","化工工程师","6-10K"],["盈盛泰","消防工程师","4-5K"],["申正机械","申正机械招聘焊工","5-9K"],["震悦减震","机械工程师","4-6K"],["史丹利","史丹利招聘生产安全员","7-12K"],["山东米娅","研发工程师","6-11K"],["道依茨法尔","整机研发工程师","10-15K·13薪"],["伯乐为亮","工艺工程师(碳化硅)","25-50K"],["中国电信临沭分公司","移动通信工程师","4-9K"],["临沂蔚云环保科技","大气环境治理工程师","3-7K"],["山东基彩","水性涂料研发服务工程师","9-13K"],["思路智园科技","化工业务工程师-工艺或消防方向","10-15K"],["山东金扬教育科技","风电/光伏运维工程师","5-6K"],["启千公司","跨境电商产品开发专员","5-10K"],["朗智家居","工程监理","8-13K"],["东泰包装","工程经理","18-20K"],["临沂临沭","临沂临沭招聘消防中控员","3-4K"],["金正大国际","微生物产品研发专员","7-9K"],["厚德","cad绘图专员","4-5K"],["同文","实验员","3-8K"],["临沭德艺装饰","建筑施工现场管理","5-6K"],["山东政泰建设项目...","咨询项目管理","5-8K"],["富联","富联招聘生产安全员","5-9K"],["山东伟业棉油","预算员","5-7K"],["中龙建材","资料员文员","3-4K"],["交换空间装饰","项目经理","6-10K"],["常林饲料","品牌总经理,销售主管,销售专员","8-9K"],["金正大国际","仪表工程师","10-15K"],["瑞纳集团","电气工程师","5-8K·14薪"],["山田研磨","机械工程师","9-14K"],["临沂中科芯华新材...","技术工程师","8-13K"],["道依茨法尔","液压工程师","9-14K·13薪"],["临沂鹏科金属","化工工程师","6-10K"],["盈盛泰","消防工程师","4-5K"],["邦旭科技","运维工程师","2-3K"],["震悦减震","机械工程师","4-6K"],["临沂金正阳管业","地质工程师","8-12K"],["申正机械","申正机械招聘焊工","5-10K"],["史丹利","史丹利招聘生产安全员","7-12K"],["临沂金科铸造有限公司","机械工程师","6-8K"],["山东金正阳","选矿工程师","8-10K"],["伯乐为亮","工艺工程师(碳化硅)","25-50K"],["富联","富联招聘生产安全员","5-6K"],["山东基彩","水性色浆工程师","8-13K"],["山东慧美","化妆品研发工程师","6-11K"],["中国电信临沭分公司","移动通信工程师","4-9K"],["临沂蔚云环保科技","大气环境治理工程师","3-7K"],["思路智园科技","化工业务工程师-工艺或消防方向","10-15K"],["山东金扬教育科技","风电/光伏运维工程师","5-6K"],["启千公司","跨境电商产品开发专员","5-10K"],["东泰包装","工程经理","18-20K"],["山东正阳工程咨询公司","工程造价员","4-8K"],["山东科翰硅源新材料","研发专员","4-8K"],["临沂临沭","临沂临沭招聘消防中控员","3-4K"],["圣泰","机械工艺员","8-10K"],["山东昌德东","山东昌德东招聘质量管理/测试","3-4K"],["厚德","cad绘图专员","4-5K"],["金正大国际","仪表工程师","10-15K"],["瑞纳集团","电气工程师","5-8K·14薪"],["山田研磨","机械工程师","9-14K"],["山东金正阳","矿石加工工程师","7-10K"],["临沂中科芯华新材...","技术工程师","8-13K"],["道依茨法尔","液压工程师","9-14K·13薪"],["临沂鹏科金属","化工工程师","6-10K"],["盈盛泰","消防工程师","4-5K"],["邦旭科技","运维工程师","2-3K"],["申正机械","申正机械招聘焊工","5-9K"],["震悦减震","机械工程师","4-6K"],["临沂金正阳管业","地质工程师","8-12K"],["史丹利","史丹利招聘生产安全员","7-12K"],["临沂金科铸造有限公司","机械工程师","6-8K"],["山东米娅","研发工程师","6-11K"],["茸渝","机械工程师","3-4K"],["碧桂园集团山东区域","房修工程师","7-8K"],["伯乐为亮","工艺工程师(碳化硅)","25-50K"],["富联","富联招聘生产安全员","5-6K"],["山东科翰硅源新材料","车间DCS系统设备工程师","5-8K"],["山东基彩","水性色浆工程师","8-13K"],["山东慧美","化妆品研发工程师","6-11K"],["中国电信临沭分公司","移动通信工程师","4-9K"],["临沂蔚云环保科技","大气环境治理工程师","3-7K"],["思路智园科技","化工业务工程师-工艺或消防方向","10-15K"],["山东金扬教育科技","风电/光伏运维工程师","5-6K"],["启千公司","跨境电商产品开发专员","5-10K"],["朗智家居","工程监理","8-13K"],["东泰包装","工程经理","18-20K"],["山东正阳工程咨询公司","工程造价员","4-8K"],["金正大国际","仪表工程师","10-15K"],["瑞纳集团","电气工程师","5-8K·14薪"],["山田研磨","机械工程师","9-14K"],["临沂中科芯华新材...","技术工程师","8-13K"],["临沂鹏科金属","化工工程师","6-10K"],["申正机械","申正机械招聘焊工","5-9K"],["山东金正阳","采矿工程师","7-10K"],["临沂金正阳管业","地质工程师","8-12K"],["道依茨法尔","车身研发工程师","10-15K·13薪"],["富联","富联招聘生产安全员","5-6K"],["山东慧美","化妆品研发工程师","6-11K"],["盈盛泰","盈盛泰招聘水电工","4-9K"],["山东科翰硅源新材料","研发专员","4-8K"],["临沂临沭","临沂临沭招聘消防中控员","3-4K"],["山东昌德东","山东昌德东招聘质量管理/测试","3-4K"],["启千公司","社保主播","5-8K"],["厚德","cad绘图专员","4-5K"],["临沭德艺装饰","建筑施工现场管理","5-6K"],["山颖建","造价师","10-15K"],["中龙建材","资料员文员","3-4K"],["山东久固钢结构工...","钢结构预算员","4-8K"],["蒙纳德","蒙纳德招聘质量管理/测试","3-6K"],["四川佳能达科技发展","otc医药代表","10-11K"],["临沂雨浩商贸有限公司","云南白药招聘临沭县区经理","3-8K"],["山东联易","经理助理","8-10K"],["润之升","临沭生产文员","3-4K"],["招联咨询","经理助理","7-8K"],["统一汽贸","山东统一公司招债权管理岗","4-8K"],["佰世利工艺品公司","业务","4-8K"],["伯乐为亮","博士研究员","40-70K"],["鹏科","化工工程师","6-10K"],["瑞纳集团","自控工程师","6-10K"],["茸渝","机械工程师","3-4K"],["道依茨法尔","整机研发工程师","10-15K·13薪"],["山田新材料","机器人工程师","15-20K"],["启千公司","跨境电商产品开发专员","5-10K"],["史丹利","生产管培生","5-8K"],["山东久固钢结构工...","钢结构预算员","4-8K"],["交换空间装饰","项目经理","6-10K"],["临沭锦融","信用卡客户经理","4-9K"],["临沂雨浩商贸有限公司","云南白药招聘临沭县区经理","3-8K"],["数字奇点","销售代表","5-10K·13薪"],["临沂市硕熙医疗科...","医药地区经理","12-24K"],["江西聚心同互联网...","医药销售经理","10-15K"],["山东世盛精密机械","外贸跟单专员","4-8K"],["药师帮","【药师帮+临沭县】招医药代表","7-12K"],["山田新材料","助理机械工程师","4-5K"],["道依茨法尔","驾驶室设计工程师","7-12K·13薪"],["山田新材料","销售人员(J10006)","4-8K"],["山田新材料","博士研究员(J10001)","30-40K"],["金正大国际","仪表工程师","10-15K"],["山东金正阳","矿石加工工程师","7-10K"],["临沂中科芯华新材...","技术工程师","8-13K"],["盈盛泰","消防工程师","4-5K"],["邦旭科技","运维工程师","2-3K"],["申正机械","申正机械招聘焊工","5-9K"],["震悦减震","机械工程师","4-6K"],["临沂金正阳管业","地质工程师","8-12K"],["临沂金科铸造有限公司","机械工程师","6-8K"],["山东米娅","研发工程师","6-11K"],["道依茨法尔","液压工程师","9-14K·13薪"],["盈盛泰","消防工程师","4-5K"],["鹏科","化工工程师","6-10K"],["山田新材料","机械工程师","6-11K"],["瑞纳集团","暖通工程师","8-13K·14薪"],["临沂金正阳管业","地质工程师","8-12K"],["邦旭科技","运维工程师","2-3K"],["申正机械","申正机械招聘焊工","5-9K"],["震悦减震","机械工程师","4-6K"],["山东金正阳","采矿工程师","7-10K"],["临沂金科铸造有限公司","机械工程师","6-8K"],["山东米娅","研发工程师","6-11K"],["茸渝","机械工程师","3-4K"],["金正大国际","仪表工程师","10-15K"],["伯乐为亮","高级机械设计工程师","20-25K"],["山东慧美","化妆品研发工程师","6-11K"],["临沂蔚云环保科技","大气环境治理工程师","3-7K"],["山东科翰硅源新材料","车间DCS系统设备工程师","5-8K"],["思路智园科技","化工业务工程师-工艺或消防方向","10-15K"],["山东金扬教育科技","风电/光伏运维工程师","5-6K"],["朗智家居","工程监理","8-13K"],["山东正阳工程咨询公司","工程造价员","4-8K"],["圣泰","机械工艺员","8-10K"],["启千公司","社保销售","6-10K"],["厚德","cad绘图专员","4-5K"],["临沭德艺装饰","建筑施工现场管理","5-6K"],["艺辰影视","舞美设计执行","80-90元/天"],["富联","富联招聘生产安全员","5-9K"],["史丹利","生产管培生","5-8K"],["山东久固钢结构工...","技术员","5-8K"],["金正大国际","仪表工程师","10-15K"],["道依茨法尔","液压工程师","9-14K·13薪"],["盈盛泰","消防工程师","4-5K"],["鹏科","化工工程师","6-10K"],["山田新材料","机械工程师","6-11K"],["瑞纳集团","暖通工程师","8-13K·14薪"],["临沂金正阳管业","地质工程师","8-12K"],["邦旭科技","运维工程师","2-3K"],["申正机械","申正机械招聘焊工","5-9K"],["震悦减震","机械工程师","4-6K"],["山东金正阳","采矿工程师","7-10K"],["茸渝","机械工程师","3-4K"],["山东米娅","研发工程师","6-11K"],["伯乐为亮","高级机械设计工程师","20-25K"],["山东科翰硅源新材料","车间DCS系统设备工程师","5-8K"],["山东慧美","化妆品研发工程师","6-11K"],["山东金扬教育科技","风电/光伏运维工程师","5-6K"],["思路智园科技","化工业务工程师-工艺或消防方向","10-15K"],["朗智家居","工程监理","8-13K"],["山东正阳工程咨询公司","工程造价员","4-8K"],["圣泰","机械工艺员","8-10K"],["启千公司","社保销售","6-10K"],["厚德","cad绘图专员","4-5K"],["临沭德艺装饰","建筑施工现场管理","5-6K"],["艺辰影视","舞美设计执行","80-90元/天"],["富联","富联招聘生产安全员","5-9K"],["史丹利","生产管培生","5-8K"],["蒙纳德","蒙纳德招聘质量管理/测试","3-6K"],["山东伟业棉油","预算员","5-7K"],["交换空间装饰","项目经理","6-10K"],["瑞纳集团","电气工程师","5-8K·14薪"],["金正大国际","仪表工程师","10-15K"],["道依茨法尔","液压工程师","9-14K·13薪"],["山田新材料","机械工程师","6-11K"],["盈盛泰","消防工程师","4-5K"],["临沂金正阳管业","地质工程师","8-12K"],["申正机械","申正机械招聘焊工","5-10K"],["史丹利","史丹利招聘生产安全员","7-12K"],["邦旭科技","运维工程师","2-3K"],["山东金正阳","采矿工程师","7-10K"],["伯乐为亮","工艺工程师(碳化硅)","25-50K"],["临沂金科铸造有限公司","机械工程师","6-8K"],["山东米娅","研发工程师","6-11K"],["山东基彩","水性色浆工程师","8-13K"],["中国电信临沭分公司","移动通信工程师","4-9K"],["朗智家居","工程监理","8-13K"],["东泰包装","工程经理","18-20K"],["山东科翰硅源新材料","研发专员","4-8K"],["临沂临沭","临沂临沭招聘消防中控员","3-4K"],["山东昌德东","山东昌德东招聘质量管理/测试","3-4K"],["厚德","cad绘图专员","4-5K"],["同文","实验员","3-8K"],["临沭德艺装饰","建筑施工现场管理","5-6K"],["艺辰影视","舞美设计执行","80-90元/天"],["富联","富联招聘生产安全员","5-9K"],["山东久固钢结构工...","技术员","5-8K"],["中龙建材","资料员文员","3-4K"],["蒙纳德","蒙纳德招聘质量管理/测试","3-6K"],["交换空间装饰","项目经理","6-10K"],["临沭锦融","信用卡客户经理","4-9K"],["金正大国际","仪表工程师","10-15K"],["临沂中科芯华新材...","技术工程师","8-13K"],["山田新材料","机械工程师","6-11K"],["盈盛泰","消防工程师","4-8K"],["邦旭科技","运维工程师","2-3K"],["震悦减震","机械工程师","4-6K"],["临沂金正阳管业","地质工程师","8-12K"],["申正机械","申正机械招聘焊工","5-10K"],["鹏科","化工工程师","6-10K"],["瑞纳集团","自控工程师","6-10K"],["茸渝","机械工程师","3-4K"],["山东金正阳","选矿工程师","8-10K"],["道依茨法尔","整机研发工程师","10-15K·13薪"],["富联","富联招聘生产安全员","5-6K"],["山东基彩","水性色浆工程师","8-13K"],["临沂蔚云环保科技","大气环境治理工程师","3-7K"],["山东金扬教育科技","风电/光伏运维工程师","5-6K"],["思路智园科技","化工业务工程师-工艺或消防方向","10-15K"],["启千公司","跨境电商产品开发专员","5-10K"],["山东科翰硅源新材料","研发专员","4-8K"],["圣泰","机械工艺员","8-10K"],["山东昌德东","山东昌德东招聘质量管理/测试","3-4K"],["厚德","cad绘图专员","4-5K"],["山颖建","造价师","10-15K"],["史丹利","生产管培生","5-8K"],["中龙建材","建筑资质专员","5-6K"],["山东久固钢结构工...","钢结构预算员","4-8K"],["蒙纳德","蒙纳德招聘质量管理/测试","3-6K"],["交换空间装饰","项目经理","6-10K"],["常林饲料","品牌总经理,销售主管,销售专员","8-9K"]
]// 将二维数组转换为工作表对象const ws = XLSX.utils.aoa_to_sheet(data)// 创建一个新的工作簿对象const wb = XLSX.utils.book_new()// 将工作表对象添加到工作簿中,'Sheet1'为工作表的名称XLSX.utils.book_append_sheet(wb, ws, 'Sheet1')// 将工作簿数据写入文件,'exported_data.xlsx'为导出文件的名称XLSX.writeFile(wb, '招聘.xlsx')
</script>
</html>

📚四、用excel进行数据分析

📖1.把下载好的数据用excel打开

描述

📖2.选择合适的格式

描述

📖3.分析数据

描述


到此这篇文章就介绍到这了,更多精彩内容请关注本人以前的文章或继续浏览下面的文章,创作不易,如果能帮助到大家,希望大家多多支持宝码香车~💕


整理不易,点赞关注宝码香车

更多专栏订阅推荐:
👍 html+css+js 绚丽效果
💕 vue
✈️ Electron
⭐️ js
📝 字符串
✍️ 时间对象(Date())操作

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.rhkb.cn/news/429019.html

如若内容造成侵权/违法违规/事实不符,请联系长河编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

OpenWrt 定时重启

问题 想设置 OpenWrt 定时重启&#xff0c;避免因长期不重启导致的问题。 方法 参考 Scheduling tasks with cronopenwrt设置定时重启&#xff08;天/周/月&#xff09;定时重启openwrt (istoreos) 软路由系统 设置 cron 自启动 System - Start up - 找到 cron - 设置成自…

stm32单片机个人学习笔记5(OLED调试工具)

前言 本篇文章属于stm32单片机&#xff08;以下简称单片机&#xff09;的学习笔记&#xff0c;来源于B站教学视频。下面是这位up主的视频链接。本文为个人学习笔记&#xff0c;只能做参考&#xff0c;细节方面建议观看视频&#xff0c;肯定受益匪浅。 STM32入门教程-2023版 细…

深入探究HTTP网络协议栈:互联网通信的基石

在我们日常使用互联网的过程中&#xff0c;HTTP&#xff08;HyperText Transfer Protocol&#xff0c;超文本传输协议&#xff09;扮演着至关重要的角色。无论是浏览网页、下载文件&#xff0c;还是进行在线购物&#xff0c;HTTP协议都在背后默默地支持着这些操作。今天&#x…

go语言中的切片详解

1.概念 在Go语言中&#xff0c;切片&#xff08;Slice&#xff09;是一种基于数组的更高级的数据结构&#xff0c;它提供了一种灵活、动态的方式来处理序列数据。切片在Go中非常常用&#xff0c;因为它们可以动态地增长和缩小&#xff0c;这使得它们比固定大小的数组更加灵活。…

芯片开发(1)---BQ76905---底层参数配置

主要开发思路:AFE主要是采集、保护功能、均衡&#xff0c;所以要逐一去配置芯片的寄存器 采集、均衡功能主要是配置引脚 保护功能主要是参数寄存器配置&#xff0c;至于如何使用命令修改寄存器参数该系列芯片提供了子命令和直接命令两种方式 BQ76905的管脚配置 I、参数配置 …

使用Renesas R7FA8D1BH (Cortex®-M85)和微信小程序App数据传输

目录 概述 1 系统架构 1.1 系统结构 1.2 系统硬件框架结构 1.3 蓝牙模块介绍 2 微信小程序实现 2.1 UI介绍 2.2 代码实现 3 上位机功能实现 3.1 通信协议 3.2 系统测试 4 下位机功能实现 4.1 功能介绍 4.2 代码实现 4.3 源代码文件 5 测试 5.1 编译和下载代码…

Codeforces Round 974 (Div. 3) A-F

封面原图 画师礼島れいあ 下午的ICPC网络赛的难受一晚上全都给我打没了 手速拉满再加上秒杀线段树 这场简直了啊 唯一可惜的是最后还是掉出了1000名 一把上蓝应该没啥希望了吧 A - Robin Helps 题意 侠盗罗宾因劫富济贫而闻名于世 罗宾遇到的 n n n 人&#xff0c;从 1 s …

mysqldump使用cmd窗口和powersell窗口导出sql中文乱码的问题

项目场景 我在使用Mariadb数据库更新数据的时候&#xff0c;由于数据库的表格中含有中文&#xff0c;在使用mysqldump导出sql语句的时候&#xff0c;中文显示乱码&#xff0c;如下图所示&#xff1a; 环境描述 系统&#xff1a;windows10数据库&#xff1a; Mariadb -10.6.16…

linux安装Anaconda3

先将Anaconda3安装包下载好&#xff0c;然后在主文件夹里新建一个文件夹&#xff0c;将Anaconda3安装包拖进去。 打开终端未来不出现缺东西的异常情况&#xff0c;我们先安装 yum install -bzip2然后进入根目录下&#xff0c;在进入Anaconda3文件夹下 sh包安装方式 sh Anac…

动手学深度学习(李沐)PyTorch 第 2 章 预备知识

2.1 数据操作 N维数组样例 N维数组是机器学习和神经网络的主要数据结构 张量表示一个由数值组成的数组&#xff0c;这个数组可能有多个维度。 具有一个轴的张量对应数学上的向量&#xff08;vector&#xff09;&#xff1b; 具有两个轴的张量对应数学上的矩阵&#xff08;…

S-Clustr-Simple 飞机大战:骇入现实的建筑灯光游戏

项目地址:https://github.com/MartinxMax/S-Clustr/releases Video https://www.youtube.com/watch?vr3JIZY1olro 飞机大战 这是一个影子集群的游戏插件&#xff0c;可以将游戏画面映射到现实的设备&#xff0c;允许恶意控制来完成游戏。亦或者设备部署在某建筑物中,来控制…

2024年中国研究生数学建模竞赛A题“风电场有功功率优化分配”全析全解

问题一&#xff1a; 针对问题一&#xff0c;可以采用以下低复杂度模型&#xff0c;来计算风机主轴及塔架的疲劳损伤累积程度。 建模思路&#xff1a; 累积疲劳损伤计算&#xff1a; 根据Palmgren-Miner线性累积损伤理论&#xff0c;元件的疲劳损伤可以累积。因此&#xff0c;…

Android-UI设计

控件 控件是用户与应用交互的元素。常见的控件包括&#xff1a; 按钮 (Button)&#xff1a;用于执行动作。文本框 (EditText)&#xff1a;让用户输入文本。复选框 (CheckBox)&#xff1a;允许用户选择或取消选择某个选项。单选按钮 (RadioButton)&#xff1a;用于在多个选项中…

分享两道算法题

分享两道算法题 王者荣耀分组 题目描述 部门准备举办一场王者荣耀表演赛&#xff0c;有 10 名游戏爱好者参与&#xff0c;分 5 为两队&#xff0c;每队 5 人。 每位参与者都有一个评分&#xff0c;代表着他的游戏水平。 为了表演赛尽可能精彩&#xff0c;我们需要把 10 名参赛…

leetcode练习 二叉树的最大深度

给定一个二叉树 root &#xff0c;返回其最大深度。 二叉树的 最大深度 是指从根节点到最远叶子节点的最长路径上的节点数。 示例 1&#xff1a; 输入&#xff1a;root [3,9,20,null,null,15,7] 输出&#xff1a;3提示&#xff1a; 树中节点的数量在 [0, 104] 区间内。-100 …

RabbitMQ08_保证消息可靠性

保证消息可靠性 一、生产者可靠性1、生产者重连机制&#xff08;防止网络波动&#xff09;2、生产者确认机制Publisher Return 确认机制Publisher Confirm 确认机制 二、MQ 可靠性1、数据持久化交换机、队列持久化消息持久化 2、Lazy Queue 惰性队列 三、消费者可靠性1、消费者…

Springboot 文件上传下载相关问题

文章目录 关于Springboot 文件上传下载问题解决方案注意事项文件上传文件下载文件删除文件在线打开在写练习的时候&#xff0c;发现了一些小小的问题&#xff0c;已经在 上述代码中体现。① 代码路径碰到中文的时候&#xff0c;会有乱码&#xff0c;需要转换&#xff08;内容中…

华润电力最新校招社招润择认知能力测评:逻辑推理数字计算语言理解高分攻略

​ 尊敬的求职者们&#xff0c; 在您准备加入华润电力这个大家庭之前&#xff0c;了解其招聘测评的详细流程和要求是至关重要的。以下是我们为您整理的测评系统核心内容&#xff0c;希望对您的求职之旅有所帮助。 测评系统概览 华润电力的招聘测评系统旨在全面评估求职者的认…

【WEB】序列一下

1、 2、反序列化 <?phpclass Polar{public $url polarctf.com;public $ltsystem;public $bls /;function __destruct(){$a $this->lt;$a($this->b);} }$a new Polar(); echo serialize($a); ?>###O:5:"Polar":3:{s:3:"url";s:12:"…

CSS 布局三大样式简单学习

目录 1. css 浮动 1.1 效果1 1.2 效果2 1.3 效果3 1.4 效果4 2. css 定位 2.1 absolute 2.2 relative 2.3 fixed 3. css 盒子模型 3.1 效果1 3.2 效果2 3.3 效果3 3.4 效果4 1. css 浮动 1.1 效果1 1.2 效果2 1.3 效果3 1.4 效果4 2. css 定位 2.1 absolute 2.2 …