会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
cc-31415926
博客园
首页
新随笔
联系
订阅
管理
2022年5月16日
springboot @ContextConfiguration junit加载配置属性
摘要: 前提 不设定resources → appplication-{}.properties 默认属性 @TestConfiguration public class Initializer implements ApplicationContextInitializer<ConfigurableApp
阅读全文
posted @ 2022-05-16 15:00 cc-31415926
阅读(418)
评论(0)
推荐(0)
2022年4月2日
jpa - 隐藏hibernate-type banner
摘要: spring.jpa.properties.hibernate.types.print.banner=false
阅读全文
posted @ 2022-04-02 17:17 cc-31415926
阅读(38)
评论(0)
推荐(0)
java - gson 转泛型pojo
摘要: gson 提供方法 TypeToken<?> getParameterized(Type rawType, Type... typeArguments) 进行泛型转化: final Class<? super T> rawType; 基类信息 final Type type; 底层反射实例 publ
阅读全文
posted @ 2022-04-02 09:53 cc-31415926
阅读(376)
评论(0)
推荐(0)
2022年3月9日
多文件分类和应用环境变量
摘要: 自定义环境变量文件存放目录 /usr/local/etc/profile.d: java_evn.sh export JAVA_HOME_7=/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home export JAVA_HOM
阅读全文
posted @ 2022-03-09 16:47 cc-31415926
阅读(31)
评论(0)
推荐(0)
apache opennlp 简单使用(java)
摘要: maven <dependency> <groupId>org.apache.opennlp</groupId> <artifactId>opennlp-tools</artifactId> <version>1.9.4</version> </dependency> model 文件 (http:
阅读全文
posted @ 2022-03-09 16:07 cc-31415926
阅读(1560)
评论(0)
推荐(0)
2022年3月8日
mac - docker 创建镜像添加本地代理
摘要: docker build 命令 docker-compose build \ --build-arg http_proxy=http://host.docker.internal:[代理端口] \ --build-arg https_proxy=http://host.docker.internal
阅读全文
posted @ 2022-03-08 11:52 cc-31415926
阅读(454)
评论(0)
推荐(0)
2022年3月4日
nlp 宾夕法尼亚大学词性标签
摘要: 链接: https://cs.nyu.edu/~grishman/jet/guide/PennPOS.html 1. CC 并列连词 2. CD 基数 3. DT限定词 4. EX 存在那里 5. FW 外来词 6. IN 介词或从属连词 7. JJ 形容词 8. JJR 形容词,比较级 9. JJ
阅读全文
posted @ 2022-03-04 17:35 cc-31415926
阅读(394)
评论(0)
推荐(0)
shell 获取执行脚本的绝对路径
摘要: $(cd $(dirname "$0"); pwd) dir=$(cd $(dirname "$0"); pwd) echo $dir
阅读全文
posted @ 2022-03-04 17:25 cc-31415926
阅读(62)
评论(0)
推荐(0)
macos 命令指定程序打开文件
摘要: open -a <app-path> <file-path> open -a /Applications/Sublime\ Text.app config.json
阅读全文
posted @ 2022-03-04 17:19 cc-31415926
阅读(92)
评论(0)
推荐(0)
2022年2月24日
python 启动简单的http server(两个版本)
摘要: python2 python -m SimpleHTTPServer {port} python3 python3 -m http.server {port} 直接访问 http://127.0.0.1:{port}, 便可查看http server启动所在目录
阅读全文
posted @ 2022-02-24 16:27 cc-31415926
阅读(209)
评论(0)
推荐(0)
下一页
公告