读好书,交益友
发布时间:2018-03-14 16:44:26
cmake_minimum_required(VERSION 2.8.4)project(BoostTest)message(STATUS "start running cmake...")find_package(Boost 1.57.0 COMPONENTS system filesystem REQUIRED)if(Boost_FOUND) message(STATUS "Boost_INCLUDE_DIRS: ${Boost_INCLUDE_DIRS}") message(STATUS "Boost_LIBRARIES: ${Boost_LIBRARI.........【阅读全文】
发布时间:2017-09-25 14:27:34
最近要求研发机器不能上网,我发现项目使用spring boot使用maven引用的jar全在m2目录下,一个一个找,岂不要累死。幸亏有dependency:copy-dependencies插件在pom.xml 加入 <plugin> .........【阅读全文】
发布时间:2017-08-08 17:22:59
ubuntu下手工下载源码的nginx问题出现用户上在nginx.conf的首行添加user www-data;修改的配置如下 location / { #root html; #index index.html index.htm; inclu.........【阅读全文】
发布时间:2017-06-23 10:45:49
使用flask或者django因为环境的问题,上传中文文件名的文件会出现UnicodeEncodeError: ‘ascii’ codec can’t encode解决办法 如下 cat conf.ini [uwsgi] socket = 127.0.0.1:9001 pythonpath = /opt/flask_fuck wsgi-file = app_main.py callable = app processes = 4 thread.........【阅读全文】