ICode9

精准搜索请尝试: 精确搜索
  • [转]经典-python串口读取gps可视化 - MKT-porter - 博客园2022-08-24 18:30:11

    (转载请删除括号里的内容)    GPS模块设置 1使用ucenter设置gps输出 默认gps  9600  或者115200    选择串口链接     2 设置波特率        send之后重新连接gps模块,波特率修改成115200,send只是当前有效,断电恢复原来的.     3 修改GPS输出频率      断

  • spring boot的静态文件2022-08-23 13:30:47

    原理:基于http协议获取远程文件 实现:远程为HTTP服务器,浏览器发出请求即可 基于Spring Boot下载静态文件,tomcat作为http服务器,从配置的角度完成两步即可   第一步: spring.mvc.static-path-pattern  如 Spring.mvc.static-path-pattern :/static/** 作用: (1)是为spring boot集成

  • springboot整合 mybatis invalid bound statement not found错误2022-08-06 18:29:10

    在网上找了很多解决方法,都没有解决到我的问题,我尝试使用注解@select()写sql没问题,那么问题应该就出现在xml文件的配置上 也可以参考 https://blog.csdn.net/hexz0407/article/details/122270218 使用debug去检查是xml的问题还是接口的问题 之前是使用的config-locations 但是怎么改

  • 《Python编程从入门到实践》练习选做2022-07-07 23:02:04

    第二章 练习 2-1 message = "Hello!" print(message) 练习 2-2 message = "Hllo" print(message) message = "Hello" print(message) 练习 2-3 username = "eric" print(f"Hello {username.title()},would you like to learn some Pyth

  • Centos8 python pip报错: pip is configured with locations that require TLS/SSL 解决2022-06-30 12:00:06

    在使用pip进行软件包安装的时候出现问题: WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.   解决: mkdir -p ~/.pip vim ~/.pip/pip.conf  然后添加内容: [global] index-url = http://mirrors.aliy

  • 【人脸识别系列】| 实现人脸截图保存并编写128维特征向量2022-02-08 22:02:55

    目录 前情提要PIL导入人脸编码函数——face_encodings切割具体代码MainTest3 结果展示总结 前情提要 通过上一篇我们就可以对图片中的人脸进行识别,这篇文章就来教大家怎么对人脸部分进行截取保存。并且将图片中的每张人脸编码成一个128维长度的向量,通过这个后续能在人脸

  • error setting certificate verify locations2022-02-07 15:02:51

    描述 在使用 git clone 克隆 GitHub 或者 Gitee 上的项目时,报如下错误: error setting certificate verify locations: CAfile: E:/Git/mingw64/ssl/certs/ca-bundle.crt CApath: none 分析 据错误提示,是设置证书验证位置时出错,也就是证书文件路径错误。 克隆远程项目时会先验

  • Mybatis-Plus代替Mybatis出现绑定错误异常2022-01-10 18:34:49

    这是原有项目中mybatis指定mapper文件位置的配置: mybatis.mapper-locations=classpath:/mybatis-mapper/*Mapper.xml   导入mybatis-plus 后,增加同样的配置即可解决问题: mybatis-plus.mapper-locations=classpath:/mybatis-mapper/*Mapper.xml   

  • GPS数据Python解析及地图可视化2021-12-24 09:33:59

    本篇文章主要介绍如何使用pynmea2库解析传感器的GPS信号,以及如何使用folium库绘制GPS轨迹图。 GPS数据解析 参考资料: NMEA pynmea2 根据NMEA协议,我们从传感器上接收到的GPS经纬度数据格式如下: 例:$GPRMC,024813.640,A,3158.4608,N,11848.3737,E,10.05,324.27,150706,,,A*50 字段0

  • mybatis.mapper-locations( mapperLocations) 属性通配符的使用2021-12-17 15:00:19

    mapperLocations属性通配符的使用 示例:   <bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean"> <property name="dataSource" ref="dataSource" /> <property name="configLo

  • 课程管理之课程信息确认的后端接口2021-12-03 20:01:00

    1、确认查询的信息来至于好几个表,如果使用以前那种方式太过于麻烦 2、通过写SQL语句的方法,进行配置 3、有个小问题,xml文件不会自动编译,需要加一个配置 <build> <resources> <resource> <directory>src/main/java</directory>

  • 路径规划072021-11-30 10:32:24

    路径规划07 1575. 统计所有可行路径 今天又是一道hard呢,加油干碎它,干碎这道题就进入进阶部分了 先从记忆化搜索开始(因为普通dfs会超时) 普通dfs步骤: 1.递归函数的入参和出参确定 2.递归出口 Base Case 3.编写最小单元的逻辑 通常Base Case 是最难的部分 class Solution { public:

  • Property ‘mapperLocations‘ was not specified.2021-11-09 12:33:18

    Property ‘mapperLocations’ was not specified. 在yml配置 mybatis-plus的配置项中,mapper-locations的路径需要以classpath*: 开头。 mybatis-plus: mapper-locations: classpath*:mapper/*Mapper.xml mybatis的配置项中,mapper-locations的路径需要以classpath: 开头。

  • Result Maps collection does not contain value for2021-10-21 14:33:04

    纠结了一上午的问题 各种核对都没有发现问题, 最后发现mybtis 配置上面 mybatis: mapper-locations: classpath*:mapper/.xml 我移动了新生成的 xml 文件位置, 多了一层结构 ,就导致一直没有找到xml 文件 修改参数 mybatis: mapper-locations: classpath:mapper/**/*.xml 就好了

  • 2021-09-17 python软件设计 练习22021-09-17 22:02:40

    引言 Python之父Guido 他的个人页面:Guido's Personal Home Page 本次课开始学习利用OpenCV、Dlib、Face-Recognition进行人脸识别 三步:定位,对齐,识别 1.使用OpenCV定位多个人脸 import cv2 import os import matplotlib.pyplot as plt os.chdir('D:\python\Lib\site-packag

  • 输入一个字符串,找出其中包含的日期2021-09-08 00:00:24

    输入一个字符串,找出其中包含的日期 19年全国大学生计算机程序设计赛python 比如2010-12日期在1979到2019之间,月份为01到12如果存在多个结果,只输出第一个字符串起始值为1 # 输入一个字符串,找出其中包含的日期 import re N = input('请输入测试用例:') # N = '2011dec-11199-11

  • 1575. 统计所有可行路径leetcode (dfs+记忆化搜索 转 dp)2021-08-17 15:34:49

    题目链接 这个题,先来一个裸dfs看看能骗几分: class Solution { public: long long num=0; void dfs(vector<int>& locations, int start,int pre, int finish, int fuel ){ if(fuel < 0){ return ; } if(start==finish){

  • 将MyBatis Mapper xml 放到 jar 包外面2021-07-08 15:35:45

    在不改程序的情况下,修改 sql 时,需要将 Mapper 中的 XML 文件 放到外面 mybatis:    mapper-locations: classpath:mapper/*.xml #JAR 包里面 mybatis:    mapper-locations: file:mapper/*.xml # classpath 改成 path mapper和jar包同级目录的一个文件 存放xml配置文件,也可以

  • 数据可视化 世界疫情地图2021-06-28 11:03:43

    绘制世界疫情地图并显示当天确诊人数 ## https://zhuanlan.zhihu.com/p/122971494 ## 获取全部数据:https://coronavirus-tracker-api.herokuapp.com/all ## ## 获取确诊数据:https://coronavirus-tracker-api.herokuapp.com/confirmed ## ## 获取死亡数据:https://coronavirus-

  • @MapperScan和mybatis-plus.mapper-locations2021-06-09 13:31:03

    项目截图 @MapperScan // 可以配置不同的扫描地址,主要是来扫描 apper接口的也就是dao类, @MapperScan({"com.xx.xx.mapper","com.xx.xx.mapper"}) mybatis-plus.mapper-locations #配置mapper xml文件的路径(扫描mapper文件下的xml) mybatis-plus.mapper-locations=classpath:

  • Underscorify Substring2021-05-27 08:32:35

    refer to: AlgoExpert Input: string, substring Output: add underscore at the start and the end of substring found in the string. if overlap or sit side by side, only add underscore at the leftmost and the rightmost positions   Analysis:  step 1    step 2

  • WPF加载高德地图2021-05-25 17:35:04

    WPF开发者QQ群: 340500857    前言  有小伙伴问如何加载高德地图。   欢迎转发、分享、点赞,谢谢大家~。   源码中放了我的 BingMap Key 请大家不要滥用,谢谢。 也可以自行申请 BingMap Key  https://www.bingmapsportal.com/   效果预览(更多效果请下载源码体验):     一、

  • 3.2.1 Toy problems 8-puzzle problem2021-05-11 02:05:51

    3.2.1 Toy problemsThe first example we examine is the vacuum world first introduced in Chapter 2. (SeeFigure 2.2.) This can be formulated as a problem as follows:• States: The state is determined by both the agent location and the dirt locations. Theagent

  • ubuntu中的垃圾桶(trash)的使用2021-05-09 19:01:14

    一、引言 前几天发现rm删除文件后文件找不回来了,上网找办法发现都很麻烦。 于是我alias rm='rm -i'这样每次删除都会询问我。但是我是个急性子根本不管直接y,遇到文件夹时都要崩溃了,所以在删文件夹时直接-rf。 又于是误删操作还是时有发生。 二、问题解决 ubuntu的桌面上有个垃圾桶

  • springboot中mybatis使用:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)2021-04-18 18:32:56

    在application.yaml中配置了如下属性: mybatis: mapper-locations: classpath:mybatis/mapper/*.xml 在对应的包中一定要使用.xml文件,IDEA在没写后缀名时会询问文件类型,此时可以选择xml类型但是文件名中不会出现.xml后缀,因此在application.yaml中配置的mapper-locations会

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有