首页 > 其他
[LintCode] Intersection of Two Linked Lists 求两个链表的交点
Write a program to find the node at which the intersection of two singly linked lists begins. Notice If the two linked lists have no intersection at a ...
分类:其他   时间:2017-01-04 14:02:30    收藏:0  评论:0  赞:0  阅读:172
coreseek操作
开启服务$ /usr/local/coreseek/bin/searchd -c /usr/local/coreseek/etc/csft.conf 重新索引: /usr/local/coreseek/bin/indexer -c /usr/local/coreseek/etc/viewspot.c ...
分类:其他   时间:2017-01-04 14:01:58    收藏:0  评论:0  赞:0  阅读:160
treap 模版
struct Treap { struct node { node *son[2]; int key,siz,wei,cnt; node(int _key,node *f) { son[0]=son[1]=f; key=_key;siz=cnt=1;wei=rand(); } ... ...
分类:其他   时间:2017-01-04 14:01:29    收藏:0  评论:0  赞:0  阅读:292
Leetcode 94. Binary Tree Inorder Traversal
Given a binary tree, return the inorder traversal of its nodes' values. For example:Given binary tree [1,null,2,3], return [1,3,2]. 本题如果用recursive的方法非 ...
分类:其他   时间:2017-01-04 14:01:12    收藏:0  评论:0  赞:0  阅读:241
maven使用
maven Maven是一个构建工具、依赖管理工具和项目管理工具。使用Maven可以管理类库,有效方便地供团队中的其他人员使用。 本机maven安装目录:D:\maven\apache-maven-3.2.5 maven目录结构: 环境变量设置 新建 M2_HOME 或 MAVEN_HOME,建议两 ...
分类:其他   时间:2017-01-04 14:00:47    收藏:0  评论:0  赞:0  阅读:280
Servlet访问第一次500,刷新后404的解决办法
第一次运行错误:HTTP Status 500 - type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this ...
分类:其他   时间:2017-01-04 13:59:39    收藏:0  评论:0  赞:0  阅读:597
Centos7 关闭防火墙(Firewalld ),使用防火墙(iptables)
1、直接关闭防火墙 systemctl stop firewalld.service; #停止firewall systemctl disable firewalld.service; #禁止firewall开机启动 2、安装并启动 iptables service,以及设置开机自启 yum -y ...
分类:其他   时间:2017-01-04 13:59:13    收藏:0  评论:0  赞:0  阅读:243
gradle << 操作符作废
下面这种写法作废了 替换成下面 ...
分类:其他   时间:2017-01-04 12:52:30    收藏:0  评论:0  赞:0  阅读:276
如何保证程序进入后台继续运行
...
分类:其他   时间:2017-01-04 12:51:46    收藏:0  评论:0  赞:0  阅读:260
IPTABLES基本例子
iptables –F #删除已经存在的规则 iptables -P INPUT DROP #配置默认的拒绝规则。基本规则是:先拒绝所有的服务,然后根据需要再添加新的规则。 iptables -A INPUT -p tcp --dport 80 -j ACCEPT #打开WEB服务端口的tcp协议  ...
分类:其他   时间:2017-01-04 12:51:23    收藏:0  评论:0  赞:0  阅读:195
QT QTableView用法小结
QTableView常用于实现数据的表格显示。下面我们如何按步骤实现学生信息表格: 一 添加表头 二 设置表格属性 三 动态添加行 在表格中添加行时,我们只需要在model中插入数据即可,一旦model中的数据发生变化,QTabelView显示就会做相应的变动 四 设置数据显示的样式 ...
分类:其他   时间:2017-01-04 12:51:01    收藏:0  评论:0  赞:0  阅读:371
openstack组件之keystone
一 什么是keystone keystone是 OpenStack Identity Service 的项目名称。它在整个体系中充当一个授权者的角色。 二 keystone概念详解 User:指使用Openstack service的用户,可以是人、服务、系统,但凡使用了Openstack serv ...
分类:其他   时间:2017-01-04 12:50:49    收藏:0  评论:0  赞:0  阅读:357
VUE---Missing space before function parentheses
解决方法: ...
分类:其他   时间:2017-01-04 12:50:19    收藏:0  评论:0  赞:0  阅读:4168
smaller programs should improve performance
COMPUTER ORGANIZATION AND ARCHITECTURE DESIGNING FOR PERFORMANCE NINTH EDITION In this section, we look at some of the general characteristics of and ...
分类:其他   时间:2017-01-04 12:50:01    收藏:0  评论:0  赞:0  阅读:329
怎么解决tomcat占用8080端口问题
怎么解决tomcat占用8080端口问题 相信很多朋友都遇到过这样的问题吧,tomcat死机了,重启eclipse之后,发现 Several ports (8080, 8009) required by Tomcat v6.0 Server at localhost are already in u ...
分类:其他   时间:2017-01-04 12:49:41    收藏:0  评论:0  赞:0  阅读:239
常用正则表达式
一、校验数字的表达式 数字:^[0-9]*$ n位的数字:^\d{n}$ 至少n位的数字:^\d{n,}$ m-n位的数字:^\d{m,n}$ 零和非零开头的数字:^(0|[1-9][0-9]*)$ 非零开头的最多带两位小数的数字:^([1-9][0-9]*)+(.[0-9]{1,2})?$ 带1- ...
分类:其他   时间:2017-01-04 12:48:39    收藏:0  评论:0  赞:0  阅读:256
RabbitMq应用二
在应用一中,基本的消息队列使用已经完成了,在实际项目中,一定会出现各种各样的需求和问题,rabbitmq内置的很多强大机制和功能会帮助我们解决很多的问题,下面就一个一个的一起学习一下。 消息响应机制 应用一的列子,在消费者从指定队列获取消息的时候,把通知参数no_ack给设成true了,这样就不需要 ...
分类:其他   时间:2017-01-04 12:48:19    收藏:0  评论:0  赞:0  阅读:391
详细解读DialogFragment
详细解读DialogFragment 相信看这篇文章的人都应该知道android中的Dialog了吧,如果对于Dialog还不是很了解可以看我之前的一篇详解文章: Dialog详解:http://www.cnblogs.com/tianzhijiexian/p/3867731.html 随着Frag ...
分类:其他   时间:2017-01-04 12:47:58    收藏:0  评论:0  赞:0  阅读:286
word-wrap ,word-break 和white-space 的联系
在工作中我遇到一个问题,其实功能也不复杂,就是上面有个textatea标签 ,里面输入内容,下面有个显示效果 ,有个条件就是上面输入的什么格式(比如换行等等),下面显示的也是 什么格式。如下图: 这个功能真的不复杂。实现如下: 但是问题是当我如下的内容如下时: 内容竟然超出了,我不加思索的加上了: ...
分类:其他   时间:2017-01-04 12:47:43    收藏:0  评论:0  赞:0  阅读:257
跳转到新页面后返回到前一页浏览的历史位置
/*返回上次浏览位置*/$(function () { var str = window.location.href; str = str.substring(str.lastIndexOf("/") + 1); if ($.cookie(str)) { $("html,body").animate ...
分类:其他   时间:2017-01-04 12:47:27    收藏:0  评论:0  赞:0  阅读:1727
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!