梦
4年前
nodejs打包成为exe可执行文件
nodejs打包成为exe可执行文件需要将nodejs写的项目运行到客户机上,客户机可能没有node环境,所以需要将其打包目前上手使用的是pkgnpminstallpkgg生成exe文件,window环境pkgtwind:/index.jsoindex.exehttps://github.com/zeit/pkgfetch/releas
Wesley13 Wesley13
3年前
mybatis执行批量更新batch update 的方法(oracle,mysql)
介绍oracle和mysql数据库的批量update在mybatis中配置不太一样:oracle数据库:\codesyntaxlang"java"\updateid"batchUpdate"parameterType"java.util.List"<foreachcollection"list"item
Stella981 Stella981
3年前
SpringBoot 打包 jar 后执行 thymeleaf 提示找不到模版
基于懒,花了点时间研究了一下SpringBoot,个人觉得也就是一个懒人版的SS框架我的demogit地址:http://git.oschina.net/zgdhd/myspringboot(http://git.oschina.net/zgdhd/myspringboot) 希望里面的注释能帮助初学的师弟问题:打包成jar
Stella981 Stella981
3年前
Presto查询执行过程和索引条件下推分析
!(https://oscimg.oschina.net/oscnet/1aafc1f5402cce1406723b1589c5fc3e09b.gif)!(https://oscimg.oschina.net/oscnet/043119d0259737d52118e562fd55b04e5a8.jpg)转载本文需注明出处:微信公众号EAW
Stella981 Stella981
3年前
EF Core 2.0 执行原始查询如何防止SQL注入
using(varcontextnewEFCoreDbContext()){varsearchString"JeffckyWang";FormattableStringsql$@"SELECTId,Name,Url,CreatedTime,ModifiedTime
Stella981 Stella981
3年前
Android软键盘确认键执行两次
点击确认键之后执行两次的情况:private View.OnKeyListener onKeyListsner  new View.OnKeyListener() {@Overridepublic boolean onKey(View v, int keyCode, KeyEvent event) {
Wesley13 Wesley13
3年前
MySQL定时执行脚本(计划任务)命令实例
在mysql中我们可以直接进行一些参数设置让它成定时为我们执行一些任务了,这个虽然可以使用windows或者linux中的计划任务实现,但是mysql本身也能完成查看event是否开启复制
Stella981 Stella981
3年前
Mybatis 敏捷开发之快速查看目标执行SQL
配置SpringBoot输出SQL只需要把你的Mapper包名配置成debug即可logging:level:com:pig4cloud:pigx:mapper:debug
Stella981 Stella981
3年前
Poco库异步执行框架设计与实现分析
Poco是一个强大的,用于构建C程序的类库,它提供了许多非常好用的部件来帮助我们更快的开发C应用程序,异步执行的相关部件正是这些好用的部件中的一部分。这里我们来看一下Poco库的异步执行组件的实现。Poco库的异步执行组件主要有TaskManager,Task,ThreadPool等等。这里就主要从这些组件着手进行分析。TaskManager
Stella981 Stella981
3年前
Spring Cloud 项目 SpringApplication Run 执行两次解密
ApplicationContextInitializer介绍作用是在ConfigurableApplicationContext类型的ApplicationContext.refresh操作之前,允许我们对ConfiurableApplicationContext增强处