上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 16 下一页
摘要: Error:Execution failed for task ':app:preDebugAndroidTestBuild'.> Conflict with dependency 'com.android.support:support-annotations' in project ':app' 阅读全文
posted @ 2018-05-18 22:09 Gaoyongxian666 阅读(389) 评论(0) 推荐(0)
摘要: 去掉某个文档里面所有的空格和字符串:comment_text=comment_text.replace(' ', '').replace("\t","").replace("\n","").strip() jieba把中文字符串变成了list,而string.join()把list变成,一个一个加进 阅读全文
posted @ 2018-05-17 18:20 Gaoyongxian666 阅读(123) 评论(0) 推荐(0)
摘要: 1. 安装 pip install uwsgi //测试uWSGI是否安装成功 在终端中输入以下命令查看uwsgi的版本:uwsgi --version 2.简单运行 运行uwsgi:uwsgi --http :8000 --wsgi-file test.py 参数解释: http :8000表示使 阅读全文
posted @ 2018-05-14 21:16 Gaoyongxian666 阅读(338) 评论(0) 推荐(0)
摘要: location 实现静态服务器,就是root和alias命令,他们位于location文件块中,详细:https://www.jianshu.com/p/4be0d5882ec5 root root后跟的指定目录是上级目录,并且该上级目录下要含有和location后指定名称的同名目录才行,末尾“/ 阅读全文
posted @ 2018-05-14 17:15 Gaoyongxian666 阅读(188) 评论(0) 推荐(0)
摘要: 移到你的环境中 pip freeze > requirement.txt 阅读全文
posted @ 2018-05-14 16:54 Gaoyongxian666 阅读(190) 评论(0) 推荐(0)
摘要: 基于腾讯云--ubuntu系统 1.安装nginx 2.启动,停止nginx 3.重新加载配置 nginx -s reload //执行该命令的用户需要和启动的 nginx 的用户一致。(否则可能导致reload失败) 一旦主进程接收到重载配置文件的命令后,它会先检查配置文件语法的合法性,如果没有错 阅读全文
posted @ 2018-05-13 16:04 Gaoyongxian666 阅读(300) 评论(0) 推荐(0)
摘要: java把不同的 输入源和输出源(外部设备) 抽象表述为流. 外部设备:键盘,文件,网络连接。注意网络传输的都是二进制的字节流。 流:输入流只能输入,反之亦然。 java.io包处理不同的输入和输出流:java.util.stream这个不是 最上层的抽象类:字节流和字符流(其他类全都是子类) 根据 阅读全文
posted @ 2018-05-11 12:45 Gaoyongxian666 阅读(162) 评论(0) 推荐(0)
摘要: no python application found, check your startup logs for errors 日志里面报类似于“Mon Mar 23 10:26:49 2015 – — no python application found, check your startup 阅读全文
posted @ 2018-04-29 14:44 Gaoyongxian666 阅读(639) 评论(0) 推荐(0)
摘要: 1.android开发百度地图定位,我怎么老是定到几内亚湾 权限问题,首先安卓6.0之后的Android的系统需要动态申请权限。 然后百度地图的sdk的不同功能,申请的权限不同,每个功能都需要看官方文档 2.百度地图一体化包中libBaiduMapSDK_base_v4_3_1.so不支持64-bi 阅读全文
posted @ 2018-04-29 12:49 Gaoyongxian666 阅读(270) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/finded/article/details/44955953 编写shell脚本程序 一次安装多个软件,主要用于一些软件依赖环境配置。 1、shell脚本程序必须以下面的行开始(必须方在文件的第一行): #!/bin/sh 符号#!用来告诉系统它后面的参 阅读全文
posted @ 2018-04-27 19:46 Gaoyongxian666 阅读(1864) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 16 下一页