1.新建一个spring boot web工程 idea: file-->new-->project-->Spring Initializr一路next下去。 2.最终目录 pom.xml application.yml 3.创建mapper 接口ISelectIdMapper.java resou ...
分类:
编程语言 时间:
2019-07-02 19:26:35
阅读次数:
88
输出重定向:是指不使用系统提供的标准输入端口来输出,而是重新指定其他来进行输出。例如在终端输入的字符串本来是要输出到终端屏幕上的,但可以将输出指定为其他文件,将输入字符串输出到该文件中,而不再是屏幕上。 输入重定向:是指不使用系统提供的标准输入端口来输入,而是重新指定其他来进行输入。例如本来是通过终 ...
分类:
系统相关 时间:
2019-07-02 17:36:05
阅读次数:
136
Fence Rails 题目大意 `N define rep(i,a,n) for (int i=a;i=a;i ) using namespace std; const string filename = "fence8"; void usefile(){ freopen((filename+". ...
分类:
其他好文 时间:
2019-07-01 10:33:56
阅读次数:
111
printk 函数将消息写入一个 LOG_BUF_LEN 字节长的环形缓存, 长度值从 4 KB 到 1 MB, 由配置内核时选择. 这个函数接着唤醒任何在等待消息的进程, 就是说, 任何在系统 调用中睡眠或者在读取 /proc/kmsg 的进程. 这 2 个日志引擎的接口几乎是等同的, 但 是注意 ...
分类:
其他好文 时间:
2019-06-29 14:48:50
阅读次数:
106
freopen("in.txt","r",stdin)的作用就是把标准输入流stdin重定向到in.txt文件中,这样在用scanf或是用cin输入时便不会从标准输入流读取数据,而是从in.txt文件中获取输入。 类似的,freopen("out.txt","w",stdout)的作用就是把stdo ...
分类:
编程语言 时间:
2019-06-29 01:07:41
阅读次数:
143
【例题】CH0301 递归实现指数型枚举 1 #include <iostream> 2 #include <cstdio> 3 #include <algorithm> 4 #include <cstring> 5 #include <vector> 6 using namespace std; ...
分类:
其他好文 时间:
2019-06-28 21:03:45
阅读次数:
113
<! flowchart 箭头图标 勿删 logback.xml配置文件如下: <?xml version="1.0" encoding="UTF 8"?> <configuration> <include resource="org/springframework/b ...
分类:
移动开发 时间:
2019-06-28 11:41:59
阅读次数:
177
```properties # priority :debug> Method: %l ]%n%p:%m%n #debug log log4j.logger.debug=debug log4j.appender.debug=org.apache.log4j.DailyRollingFileAppen... ...
分类:
其他好文 时间:
2019-06-27 23:11:11
阅读次数:
246
[TOC] subprocess 模块学习 "链接" 推荐通过run()来创建进程,更为高级的,可以使用Popen. subprocess.run() subprocess.run(args, , stdin=None, input=None, stdout=None, stderr=None, c ...
分类:
其他好文 时间:
2019-06-27 00:27:36
阅读次数:
125