自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(16)
  • 资源 (1)
  • 问答 (1)
  • 收藏
  • 关注

原创 关于django无法导入或者识别自定义模块的问题

参考:Django 自定义模块导入在自定义模块callback.py文件所在文件夹添加__init__.py然后在__init__.py写上 fromzaqiot.factory.allchip.NB505.callbackimport*zaqiot是app的名称,callback是自定义模块callback.py...

2020-05-17 17:25:54 2319 1

原创 go语言去空格

法一:str = strings.Replace(str, " ", "", -1)法二:str = strings.Replace(str, "\x00", "", -1)

2020-05-11 15:35:52 1262 1

原创 centos+goland+tdengine报错 --- libtaos.so: cannot open shared object file: No such file or directory

我这里的出错原因是usr/lib64里边没有libtaos.so.1,这种情况下把usr/lib里边的libtaos.so.1 拷贝过来就解决了。

2020-04-14 18:05:27 1332

原创 golang调用aliyun的语音通话

golang调用阿里云的语音通话官方目前只给出python和java的示例,而没有go的示例,这段代码是经过测试无误的。client4, err := dyvmsapi.NewClientWithAccessKey("cn-hangzhou", "xxxxxxxx", "xxxxxxxxxxx") if err != nil { panic(err.Error()) } re...

2020-04-02 15:06:57 1097

原创 ClassNotFoundException: com.mchange.v2.c3p0.ComboPooledDataSource

软件:idea1.确认导入jar包,若第二步不行,建议更换jar包版本,我的0.9.5.5版本居然拒绝访问。<dependency> <groupId>com.mchange</groupId> <artifactId>c3p0</artifactId> <version>0.9.5.1</v...

2020-03-25 22:39:16 535

原创 org.apache.ibatis.builder.IncompleteElementException: Could not find result map

org.apache.ibatis.builder.IncompleteElementException: Could not find result map…错误写法 <select id="queryXXXCount" resultMap="java.util.Map" >正确写法:<select id="queryXXXCount" resultType="jav...

2020-03-21 11:01:31 284

原创 ubuntu18+mariadb10数据库的默认密码不知道

第一步sudo mysql -u root -p密码不需要第二步set password for ‘root’@‘localhost’=password(‘newpassword’);括号里边是新密码。

2020-03-19 09:54:42 297

原创 python安装第三方库报错:Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++ Build Tools”

安装Python第三方库mysqlclient,通过 pip install mysqlclient 命令安装时,提示ERROR:Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++ Build Tools解决办法:进入下方网址https://www.lfd.uci.edu/~gohlke/pytho...

2020-02-13 17:12:37 239

原创 微信开发者工具未找到入口 app.json 文件,或者文件读取失败

我发现问题所在如下:出现问题原因可能是:以下两处名字不一样,新建一个名字保持一致的项目就可以了。

2020-01-30 11:44:00 1601

原创 获取html表格指定行的元素

关键代码在tr、button和script那里<!doctype html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>数据表管理页面</title><style> ....

2019-06-29 10:12:21 1745

原创 解决phpmyadmin数据库是GB2312_chinese_ci的php页面乱码问题

<?php**header("content-type:text/plain;charset=utf8;");**//加入这个$dbms='mysql'; //数据库类型$host='localhost'; //数据库主机名$dbName='classmanager'; //使用的数据库$user='root'; //数据库连接用户名$pass=''...

2019-06-28 21:36:28 230

原创 C语言实现路径矢量路由算法和链路状态路由算法

#include<stdio.h>#include<stdlib.h>#include<time.h>#include<math.h>//定义结构体struct node{ int d_num;//跳数 int d_next;//下一跳节点 };//定义链路状态算法的结构体struct lsnode{ int vis...

2019-05-12 15:46:58 1810

原创 MySQL8.0的end$$结束标志没有空格,delimiter ;需要空格

2019-04-28 08:29:28 2962

转载 Wampserver Apache服务无法启动(红色、橙色)

解决方法:https://blog.csdn.net/u010177780/article/details/76465350修改httpd.conf,查找‘80’,将所有端口80改为其他没有被占用的端口,例如8383。之后在dw软件站点管理修改服务器的URL。...

2019-04-22 10:06:52 1008

原创 基于Python3.7的百度百科爬虫

在pydev,先设置utf-8windows,preference,general,workspace,text file coding–&gt;utf-8windows,preference,general,editor,text editors,spelling,encoding–&gt;utf-8主程序spider_main.py#coding:UTF8from baike_spi...

2019-01-28 16:36:27 171

原创 django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not

python交互环境导入模块出错django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE ...

2019-01-28 16:17:42 15768 6

monitor13.rar

java服务器监控,实现cpu、内存、网络以及实时桌面监控

2019-05-25

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除