变量定义(variables):local: time or _time instance:
@time class: @@time global $time数据类型(data types)Numeric String Symbol Boolean
Array Hashvariabl...
分类:
其他好文 时间:
2014-05-26 09:39:54
阅读次数:
217
这几天看了MVC4 / 5 的一些东西, 基本上和 MVC 3都一样, 看起来毫不费力气,
项目还没有正式开工, 每天都是看文档,了解技术. 闲着无聊就把 knockout js 给看了一遍. 今天在看 SignalR的时候, 随手写了段测试代码,发现
Knockout 的虚拟标签有点问题, 一开始...
分类:
其他好文 时间:
2014-05-26 07:49:50
阅读次数:
482
这里不讲vsftpd的基本配置,网上教程已经太多了。这里只说seLinux的问题。日前在CentOS6.5中安装了vsftpd,按照网上搜索的教程,配置好/etc/vsftpd/vsftpd.conf,重新启动后,登录实验,又出现了著名的不能设置主目录错误:500
OOPS: cannot chan...
分类:
系统相关 时间:
2014-05-26 06:40:58
阅读次数:
468
Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that each input would have
exact...
分类:
其他好文 时间:
2014-05-25 00:46:51
阅读次数:
229
Young tableaus 是 Introduction_to_algorithms的一 道课后习题, 一度还把我难住了。现在把 python 代码贴出来,供大家参考。
#! /usr/bin/python
""" young tableau
m x n matrix
"""
import sys
class element():
def __ini...
分类:
其他好文 时间:
2014-05-24 21:08:21
阅读次数:
397
Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume
that each input would have exact...
分类:
其他好文 时间:
2014-05-24 20:43:37
阅读次数:
341
【题目】
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Given a collection of intervals, merge all overlapping intervals.
For example,
Given [1,3],[2,6],[8,10],[15,18],
return [1,6],[8,10],[15,18].
...
分类:
其他好文 时间:
2014-05-24 14:18:27
阅读次数:
193
123/** * 返回跟单信息 * * @return array 返回跟单相关信息 *
@author ZP 2013-12-17 11:55:16 * @modify YLP 2014-5-13 17:30:29 未采购和未到货不需要同时显示明细
*/function get_order_tra...
分类:
其他好文 时间:
2014-05-24 12:37:41
阅读次数:
309
print matrix/2d-array in clockwise direction
分类:
其他好文 时间:
2014-05-24 09:54:29
阅读次数:
305
废了2个小时查找jdk版本如何更新本以为是这个的问题原来并不是这个问题因为你还没有导入servlet-api.jar包导入方法:右键你的工程属性,然后如图选择导入的外部jar要到你的tomcat安装目录下的bin目录下选择servlet-api.jar
分类:
编程语言 时间:
2014-05-24 09:37:24
阅读次数:
368