在VM等虚拟机,当配置网卡为static,即静态IP时,启动网卡总报”Error, some other host already uses address“,即使换了其它IP,有时仍然还会出现类似情况,而DHCP则会正常工作,真叫人头疼,在网上查了很久,...
分类:
其他好文 时间:
2015-05-06 15:31:55
阅读次数:
128
题目:
Given a linked list, swap every two adjacent nodes and return its head.
For example,
Given 1->2->3->4, you should return the list as 2->1->4->3.
Your algorithm should use only constant s...
分类:
其他好文 时间:
2015-05-06 15:09:58
阅读次数:
109
问题描述:Given a linked list, swap every two adjacent nodes and return its head.For example,
Given 1->2->3->4, you should return the list as 2->1->4->3.Your algorithm should use only constant space. You...
分类:
其他好文 时间:
2015-05-06 15:07:39
阅读次数:
139
By:Rand Fishkin原文链接:https://moz.com/blog/15-seo-best-practices-for-structuring-urls#1: Whenever possible, use a single domain & subdomain1.尽量使用简单的域名/二...
分类:
Web程序 时间:
2015-05-06 14:55:37
阅读次数:
161
VIM 技巧
match & replace match the whole word(eg: match printf but not snprintf/fprintf)You can use \ to match the end:
%s/\/PRINTF/gc
match the current...
分类:
其他好文 时间:
2015-05-06 12:44:36
阅读次数:
139
中介者模式也是用来降低类类之间的耦合的,因为如果类类之间有依赖关系的话,不利于功能的拓展和维护,因为只要修改一个对象,其它关联的对象都得进行修改。如果使用中介者模式,只需关心和Mediator类的关系,具体类类之间的关系及调度交给Mediator就行,这有点像spring容器的作用。先看看图:Use...
分类:
其他好文 时间:
2015-05-06 10:28:30
阅读次数:
134
function scoreout = pivotgolf(course,pivotstrat)% PIVOTGOLF Pivot Pickin' Golf.% Your goal is to use LUGUI to compute the LU decompositions of nin...
分类:
其他好文 时间:
2015-05-05 21:24:22
阅读次数:
139
Toolkit工具包The Susy 2.0 toolkit is built around our shorthand syntax. Use the shorthand to control every detail, and adjust your defaults on-the-fly, s...
分类:
其他好文 时间:
2015-05-05 19:20:55
阅读次数:
167
http://www.w3cplus.com/css3/learning-to-use-the-before-and-after-pseudo-elements-in-css.html来自为知笔记(Wiz)
分类:
其他好文 时间:
2015-05-05 16:06:59
阅读次数:
98
Given an indexk, return thekthrow of the Pascal's triangle.For example, givenk= 3,Return[1,3,3,1].Note:Could you optimize your algorithm to use onlyO(...
分类:
其他好文 时间:
2015-05-05 12:19:56
阅读次数:
152