- 博客(12)
- 资源 (6)
- 收藏
- 关注
原创 SpringMVC写了CharacterEncodingFilter和HiddenHttpMethodFilter出现中文乱码
SpringMVC中文乱码
2022-04-04 21:04:59
95
原创 IntelliJ IDEA 2018.3.3配置 Tomcat 9,控制台出现中文乱码 “淇℃伅”(2019/01/25)
tomcat服务器时又遭遇了乱码,“淇℃伅”
2022-03-31 23:54:37
381
原创 Ubuntu安装Matplotlib报错Failed building wheel for pillow Running setup.py clean for pillow解决方案
首先确认是否已经安装PIL,如果已安装,请先执行pip uninstall PIL后再执行pip install Matplotlib。如果依然不行,就请移步到pillow官网(执行一下安装语句):Install Pillow with pip:python3 -m pip install --upgrade pippython3 -m pip install --upgrade Pillow再执行python3 -m pip install --upgrade Matplotlib
2021-12-06 22:19:18
1590
原创 C++11互斥锁归纳整理
1、最基础的Lock(std::mutex):通过lock和unlock进行加锁和解锁,用来赋予独占性并加控制;通过try_lock来尝试性Lock,如果成功返回true,失败返回false。如果要与std::lock_guard<std::mutex>配合使用,需要增加std::adopt_lock参数;2、递归的(Recursive)Lock(std::recursiv...
2019-07-08 23:59:00
1305
原创 装饰模式
#ifndef __DECORATOR_H__#define __DECORATOR_H__#include <iostream>using std::cout;using std::endl;class Stream {public: virtual void read() = 0; virtual void write() = 0;};cla...
2019-06-03 23:12:34
87
原创 线程安全单例模式模板类
#ifndef __SINGTON_H__#define __SINGTON_H__#include <mutex>#include <iostream>#include <atomic> // 解决reorder方案2using namespace std;//------------------------------------------...
2019-05-12 09:45:06
125
原创 用VS2015编译Qt5.6.0,WebEngine支持XP
准备工作1、下载icu库、openssl库2、安装activePerl、python、git(请将git的bin目录加入path环境变量)3、修改控制面板->区域->管理->更改系统区域设置->英语(美国)4、退出360、保持连接网络5、win10/win8操作系统,vs2015 update3补丁安装6、下载qt5.6.0源码并解压:a、修改文...
2017-07-28 15:57:37
1341
4
原创 __readfsdword未定义
error C3861: '__readfsdword': identifier not found解决方案:#include 即可
2017-03-02 12:28:59
3207
原创 windows 上使用vs编译ffmpeg
参考链接1、http://www.cnblogs.com/xylc/p/3683203.html2、http://www.360doc.com/content/13/0426/17/9192936_281116256.shtml3、http://blog.csdn.net/wxzking/article/details/5723878以上三篇文章就能够解决编译及安装问题。
2015-01-11 02:03:44
371
原创 qt qmediaplayer m_surface assert
使用qt库实现媒体播放时,不要在直接过间接的在构造函数中调用qmediaplayer中的setmedia函数。若调用则会出现一个ASSERT: “m_surface” in file player\mfvideorenderercontrol.cpp, line 2349信息
2014-12-31 15:30:19
898
cef for qt
2015-06-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人