跑 service network restart NIC出现无法启动,他说,没有发现Bringing up interface eth0: Device eth0 does not seem to be present, delaying initialization解决的方法:1》 改动/etc...
分类:
其他好文 时间:
2015-09-18 22:00:09
阅读次数:
260
http://www.cnblogs.com/JustinYoung/archive/2007/11/20/speeding-up-web-site-14rule.html(已读)http://www.cnblogs.com/wildweeds/archive/2010/06/12/web_per....
分类:
其他好文 时间:
2015-09-18 20:25:04
阅读次数:
178
1-marqueen滚动字幕 height 滚动高度 direction="up"从下往上跑 down 从上往下跑 left right一样 hspace 滚动区域 behavior = "slide"到左边就停止了 alternate 来回跑 scrollmount=时间 跑的速度 s...
分类:
Web程序 时间:
2015-09-18 20:16:13
阅读次数:
144
学习定义有返回值和无返回值的函数 #!?coding:utf-8
#?定义一个没有返回值的函数
def?fib1(n):
"""print?a?Fibnoacci?series?up?to?n."""
a,b=0,1
while?a<n:
print(a,end=‘?‘)
a,b=b,a+b
pri...
分类:
编程语言 时间:
2015-09-18 14:00:23
阅读次数:
159
Given a binary search tree, write a function kthSmallest to find the
kth smallest element in it.
Note:
You may assume k is always valid, 1 ≤ k ≤ BST's total elements.
Follow up:
What if the BST ...
分类:
其他好文 时间:
2015-09-18 13:56:58
阅读次数:
178
Eclipse ADT Unexpected exception 'Cannot run program'up vote 8 down vote favorite4I have installed ADT Bundle on my laptop. I have ubuntu 13.10 but wh...
分类:
数据库 时间:
2015-09-18 11:37:41
阅读次数:
1021
Follow up for "Search in Rotated Sorted Array":What ifduplicatesare allowed?Would this affect the run-time complexity? How and why?Write a function to...
分类:
其他好文 时间:
2015-09-17 23:07:24
阅读次数:
261
TXS(开漏优化设计),如I2CTXB(上拉优化设计),如SPITXS0108has integrated pull-up resistors to save board space and cost in open-drain applications.The TXS0108 Does NOT n...
分类:
移动开发 时间:
2015-09-17 22:58:18
阅读次数:
4726
这道题第一眼还以为是树状数组,于是乎打着打着也是能过的 1 const maxn=4000001; 2 var n,i,j,maxx:longint; 3 h,l:array[0..400001] of longint; 4 p:array[0..4000000] of longint; 5 fun...
分类:
其他好文 时间:
2015-09-17 17:36:43
阅读次数:
166
Two SumGiven an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the...
分类:
其他好文 时间:
2015-09-17 16:56:52
阅读次数:
117