上一页 1 2 3 4 5 6 7 8 9 10 ··· 18 下一页
摘要: location /lua { resolver 114.114.114.114; content_by_lua_block { local args,error = ngx.req.get_uri_args() local adcode = args['adcode'] local version 阅读全文
posted @ 2022-01-19 17:56 力王7314 阅读(330) 评论(0) 推荐(0)
摘要: 安装gpu驱动 此处生省略..... 对应版本 查看对应版本关系,这一步很重要,不然后续会报错 cpu版本 gpu版本 安装Bazel 参考官网:https://docs.bazel.build/versions/master/install-redhat.html#installing-menu 阅读全文
posted @ 2022-01-17 14:01 力王7314 阅读(68) 评论(0) 推荐(0)
摘要: 创建k8s admin 权限 minikube kubectl -- create serviceaccount admin -n kube-system minikube kubectl -- create clusterrolebinding cluster-admin --clusterrol 阅读全文
posted @ 2022-01-04 10:11 力王7314 阅读(1021) 评论(0) 推荐(0)
摘要: 依赖包如下: (venv) C:\Users\fengzi\Desktop\flaskProject3>pip list Package Version arrow 1.2.0 cachelib 0.4.1 cffi 1.14.6 click 8.0.1 colorama 0.4.4 cryptog 阅读全文
posted @ 2021-12-15 17:53 力王7314 阅读(569) 评论(0) 推荐(0)
摘要: //分析文件,结果为[[第一行的数据],[第二行的数据],.....] public static List<List<String>> analysisSheet(String filePath, int currentSheet) { Workbook wb = null; Sheet shee 阅读全文
posted @ 2021-12-13 17:52 力王7314 阅读(1177) 评论(0) 推荐(0)
摘要: 项目结构如下: model.py如下,需要在数据库里创建模型 import json from sqlalchemy import Column,Integer,String,UniqueConstraint,Index from sqlalchemy.ext.declarative import 阅读全文
posted @ 2021-12-09 10:11 力王7314 阅读(4392) 评论(0) 推荐(0)
摘要: from openpyxl import load_workbook filepath = r"C:\Users\fengzi\Desktop\机型维表.xlsx" wb = load_workbook(filepath) sheet = wb["Sheet1"] maxrow = sheet.ma 阅读全文
posted @ 2021-11-26 10:41 力王7314 阅读(173) 评论(0) 推荐(0)
摘要: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>org.spri 阅读全文
posted @ 2021-11-17 13:03 力王7314 阅读(58) 评论(0) 推荐(0)
摘要: package com.alibaba.yuntu.me.biz.district.service.impl.MyUtis; import com.alibaba.fastjson.JSONObject; import com.alibaba.yuntu.me.common.base.util.Ht 阅读全文
posted @ 2021-11-15 17:12 力王7314 阅读(121) 评论(0) 推荐(0)
摘要: 工作中遇到处理大批量数据的问题,大概有8w条左右的excel要取出来一一去调用api,得出的结果还需要进行数据过滤,然后再写回excel,单线程跑大概跑了2个多小时,实属麻烦,万一代码中有什么bug,快结束的时候报错的话..................,于是换成多线程,15个线程大概跑了10多分 阅读全文
posted @ 2021-11-05 12:04 力王7314 阅读(195) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 18 下一页