mui.init({ pullRefresh:{ container: '#contanier', indicators:false, up:{ height:200, contentinit: '', contentdown: '', contentrefresh: '', contentnomo ...
分类:
其他好文 时间:
2016-04-15 21:54:44
阅读次数:
183
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum. F ...
分类:
编程语言 时间:
2016-04-15 21:30:49
阅读次数:
215
解决方案: 1. 进入/etc/sysconfig/network-scripts 目录,发现有ifcfg-eth0,即网卡(驱动)存在但未启用。 2. 输入ifconfig -a命令,可显示eth0和lo。 3. 输入ifconfig eth0 up,启用网卡。此时用ifconfig,只能看到in ...
分类:
其他好文 时间:
2016-04-15 15:24:05
阅读次数:
138
Given a singly linked list, determine if it is a palindrome. Follow up:Could you do it in O(n) time and O(1) space? Subscribe to see which companies a ...
分类:
其他好文 时间:
2016-04-14 14:10:38
阅读次数:
118
UP UP UP! Description 题意很简单,给你长度为n的序列,找出有多少个不同的长度为m的严格上升子序列。(PS:相同子序列的定义为,每一个元素对应的下标都相同) 题意很简单,给你长度为n的序列,找出有多少个不同的长度为m的严格上升子序列。(PS:相同子序列的定义为,每一个元素对应的下 ...
分类:
其他好文 时间:
2016-04-14 14:04:29
阅读次数:
115
Ctrl+Shift+O :整理包 Alt + / :智能提示 Ctrl + / :注释 Ctrl + Shift + F :格式化代码 Ctrl + Shift + / :多行注释 Ctrl + Shift + \ :取消多行注释 Alt + up/down :向上/向下移动代码 Ctrl + 点 ...
分类:
系统相关 时间:
2016-04-14 14:01:53
阅读次数:
221
ubuntu 保存防火墙命令,iptables方式:1、iptables 配置好策略2、iptables-save > /etc/network/iptables.up.rules ,配置的策略保存到文件3、iptables-apply,然后按 y;;;或者 iptables-restore < / ...
分类:
系统相关 时间:
2016-04-13 11:09:27
阅读次数:
222
部分转载自:负载均衡
常用命令
links1h2down
links1h2up
通过–switch选项跟–controller选项可以分别指定采用哪种类型的交换机跟控制器,例如使用用户态的交换
sudomn–switchuser
使用OpenvSwitch
sudo mn 执行 mn 命令未指定一个控制器的话,它会默认采用 ovsc 控制,ov...
分类:
Web程序 时间:
2016-04-12 17:28:33
阅读次数:
384
(部分文字转载)
工具:github网站+阿里万网+MyEclipse+。。。
方法/步骤1 在GitHub新建托管项目
1
要托管到github,那你就应该要有一个属于你自己的github帐号,所以你应该先到github.com注册
打开浏览器
在地址栏输入地址:github.com
填写用户名、邮箱、密码
点击Sign up即可简单地注册...
分类:
Web程序 时间:
2016-04-12 17:27:38
阅读次数:
238