SQL Server 2005引入的新方法。1 SELECT * FROM (SELECT ROW_NUMBER() OVER(ORDER BY keyField DESC) AS rowNum, * FROM tableName) AS t WHERE rowNum > start[比如:90] ...
分类:
数据库 时间:
2014-06-25 21:17:08
阅读次数:
256
1.同事在ubuntu 中的共享突然不能访问,怀疑是samba服务未启动,所以用命令 sudo service samdb/或者sudo service smdb 或者sudo /etc/init.d/smdb restart 全部提示没有该服务,正处奔溃边缘,随便湿了一下 sudo start s...
分类:
其他好文 时间:
2014-06-25 20:15:06
阅读次数:
262
【oracle 11G Grid 】Crsctl start cluster 和 crsctl start crs 有区别么?
q:Crsctl start cluster
是 11.2新特性和
crsctl start crs 有啥区别呢?
Crsctl start/stop crs
管理本地节点的clusterware st...
分类:
数据库 时间:
2014-06-25 19:38:59
阅读次数:
523
查看列表:
list
部署
bundle:install wrap:mvn:com.demo/hello-provider/0.0.1-SNAPSHOT
启动
bundle:start bundle_id
停止:
bundle:stop bundle_id...
分类:
其他好文 时间:
2014-06-25 00:13:59
阅读次数:
886
启动:
sudo /etc/init.d/mysql start
停止:
sudo /etc/init.d/mysql stop
重启:
sudo /etc/init.d/mysql restart
查看日志:
cat /var/log/mysql.err
cat /var/log/mysql/error.log...
分类:
数据库 时间:
2014-06-24 23:06:43
阅读次数:
242
【题目】
Given a binary tree, find the maximum path sum.
The path may start and end at any node in the tree.
For example:
Given the below binary tree,
1
/ 2 3
Return 6.
【题意】
给定一棵二叉树,找出其中路径和最大的路径,然会返回最大路径和。
本题中的路径不是从根节点到叶子节点这样的传统的路...
分类:
其他好文 时间:
2014-06-24 20:42:59
阅读次数:
268
看到一篇博文写lambda和reduce函数,笔者小痒了一下,用Python实现一下:
#! /usr/bin/env python
# -*-coding:utf-8-*-
import time
import math
def test_reduce():
start_time = time.clock()
print reduce[A1] (lam...
分类:
编程语言 时间:
2014-06-24 20:37:10
阅读次数:
272
1、错误描述
usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop }
2014-6-23 20:15:55 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded...
分类:
Web程序 时间:
2014-06-24 18:34:48
阅读次数:
175
在languagebag.php中<?php
ob_start();
include_once‘template/index.html‘;//加载模板文件,并执行里面的php指令
$str=ob_get_contents();
ob_clean();
$zh_arr=array(//中文语言包
‘name‘=>‘姓名‘,
‘address‘=>‘地址‘,
‘date‘=>‘日期‘
);
$en_arr=array(//英文..
分类:
Web程序 时间:
2014-06-24 16:28:42
阅读次数:
300
项目中需要用httplistener提供一个简单的httpserver服务,但是运行都是提示:
UnHandledException Message:拒绝访问
在System.Net.HttpListener.AddAll()
在System.Net.HttpListener.Start()
网上查了下,好像是UAC权限的问题,网上找到了下面的解决办法:
为程序添加了管理员权...