SpringBoot集成Jersey 添加依赖 org.springframework.boot spring boot starter jersey 添加配置 ①新建JerseyConfig.java @Component @ApplicationPath("/jersey") public cl ...
分类:
编程语言 时间:
2019-02-08 11:45:32
阅读次数:
300
settings.py#设置文件上传路径,图片上传、文件上传都会存放在此目录里MEDIA_URL = '/media/'MEDIA_ROOT = os.path.join(BASE_DIR, 'media') #PEP8:missing whitespace around operator os前后 ...
分类:
其他好文 时间:
2019-02-08 10:26:09
阅读次数:
205
一台IBM3650M4服务器,因挂接了一个SeagateSATA硬盘后无法启动,排除过程如下:一、原SATA硬盘在RAID卡上始终Missing,后在台式机上用Seatool检测后接上服务器后检测到。二、硬盘检测到后MarkGood,然后ImportForeignConfiguration,Raid信息恢复。三、用Server2008光盘启动,无驱动,硬盘找不到。后用IBMServerGuide光
分类:
其他好文 时间:
2019-02-02 00:43:42
阅读次数:
548
参考:https://www.cnblogs.com/pachongshangdexuebi/p/7201766.html Adds values to the end of list.在list的后面增加值 Example: => INFO : ${list} = [u'a', u'b'] INF ...
1. 引言 word emedding技术如word2vec,glove等已经广泛应用于NLP,极大地推动了NLP的发展。既然词可以embedding,句子也应该可以(其实, "万物皆可embedding" ,Embedding is All You Need ^_^)。近年来(2014 2018) ...
分类:
其他好文 时间:
2019-01-30 17:16:50
阅读次数:
825
1.修改fs配置文件后,reloadxml控制台上报错误。 2,控制台日志显示 error near line 7301]:missing>] 查询 log 下的 freeswitch.xml.fsxml 7301 行 定位查找拨号计划为0911的配置文件。 定位查找拨号计划为0911的配置文件。 ...
分类:
其他好文 时间:
2019-01-30 16:03:32
阅读次数:
553
Python 调用类时,提示缺少self参数 调用类方法时,需要加上一个小括号,修改为:logger = Logger().get_logger()后,运行正常,没有报错。 加了一个小括号之后,表示我们队该类进行了实例化了。 ...
分类:
编程语言 时间:
2019-01-28 18:20:46
阅读次数:
457
前两天写了《关于MVC RouteExistingFiles疑问》,本来希望寻求大佬快速解答,奈何无人问津。 只能查看.NET 源代码,可以使用反编译工具(我用IL spy),也可以在线查看微软提供的:https://referencesource.microsoft.com/MVC的路由会走Url ...
分类:
Web程序 时间:
2019-01-27 16:39:59
阅读次数:
207
[TOC] Loads the shader files and makes it usable to DirectX and the GPU Now we will start with one of the more important functions to this tutorial wh ...
分类:
其他好文 时间:
2019-01-27 00:25:55
阅读次数:
193
A.Missing Runners #include <iostream> #include<cstdio> using namespace std; int vis[60005]; int main() { int n;scanf("%d",&n); for(int i=1;i<=n-1;i++) ...
分类:
其他好文 时间:
2019-01-24 20:40:40
阅读次数:
158