python中字符串拼接除了用‘+’还可以用%s占位符。 ...
分类:
编程语言 时间:
2018-05-16 18:31:22
阅读次数:
183
clear 清理屏幕输出 相关快捷键 ctrl + l ...
分类:
其他好文 时间:
2018-05-16 17:24:23
阅读次数:
461
通过hadoop上的hive完成WordCount 启动hadoop Hdfs上创建文件夹 上传文件至hdfs 启动Hive 创建原始文档表 导入文件内容到表docs并查看 用HQL进行词频统计,结果放在表word_count里 查看统计结果 ...
分类:
其他好文 时间:
2018-05-16 17:23:33
阅读次数:
129
1.installation 2.setup environment variables add %/MySQL Server/bin to path. then restart cmd/powershell 3.invoking mysql programs command interpreter ...
分类:
数据库 时间:
2018-05-16 16:42:59
阅读次数:
213
* 如果使用的是本地事务(jdbc事务) <property name="hibernate.current_session_context_class">thread</property> * 如果使用的是全局事务(jta事务) <property name="hibernate.current_ ...
分类:
Web程序 时间:
2018-05-16 16:37:51
阅读次数:
235
select * from people where peopleId in (select peopleId from people group by peopleId having count(peopleId) > 1) select * from Users where UserId in ...
分类:
数据库 时间:
2018-05-16 15:32:52
阅读次数:
150
<?xml version='1.0' encoding='utf-8'?> <Server port="8005" shutdown="SHUTDOWN"> <Listener className="org.apache.catalina.startup.VersionLoggerListener ...
分类:
其他好文 时间:
2018-05-16 15:29:30
阅读次数:
167
{dede:pagelist listitem="info,index,end,pre,next,pageno" listsize="5"/} DEDE的页面都分动态和静态两种方式显示,显然标签的解析函数也会有两个,分别对应静态和动态页面。 修改列表页的{dede:pagelist /}标签,首先我 ...
分类:
其他好文 时间:
2018-05-16 15:28:18
阅读次数:
207