Open the Dragon Scroll
Did you ever hear about 'Dragon Food' ? Its used to refer to the chocolates bought for your loved ones :). Po offers dragon food to master Shifu, who is a famous cook in th...
分类:
其他好文 时间:
2014-05-10 10:06:11
阅读次数:
382
Problem
1:一个数组中有一个数字a只出现一次,其他数字都出现了两次。请找出这个只出现一次的数字?考察知识点:异或运算思路:比如数字 b^b = 0 a^0 =
a因此,可以将数组中的所有数字进行异或,而最终异或的结果即为所求只出现一次的数字a.代码:1 def SingleNu...
分类:
其他好文 时间:
2014-05-09 12:14:22
阅读次数:
475
关于catopen函数:参考网址:http://pubs.opengroup.org/onlinepubs/009695399/functions/catopen.html1)编辑消息文件[root@Master
catlogTest]# vi msg1.euc1 Hello msg1.euc 12...
分类:
其他好文 时间:
2014-05-09 11:41:02
阅读次数:
841
原文:DevExpress XtraReports 入门三 创建
Master-Detail(主/从) 报表本文只是为了帮助初次接触或是需要DevExpress
XtraReports报表的人群使用的,为了帮助更多的人不会像我这样浪费时间才写的这篇文章,高手不想的看请路过本文内容来DevExpres...
分类:
其他好文 时间:
2014-05-09 11:08:21
阅读次数:
310
1 jQuery.fn.single_double_click =
function(single_click_callback, double_click_callback, timeout) { 2 return
this.each(function(){ 3 var clicks...
分类:
数据库 时间:
2014-05-08 20:54:46
阅读次数:
373
转自:http://www.ruanyifeng.com/blog/2012/12/asynchronous%EF%BC%BFjavascript.html你可能知道,Javascript语言的执行环境是"单线程"(single
thread)。所谓"单线程",就是指一次只能完成一件任务。如果有多个...
分类:
编程语言 时间:
2014-05-07 19:42:42
阅读次数:
531
John is going on a fishing trip. He has h hours available (1 <= h <= 16), and there are n lakes in the area (2 <= n <= 25) all reachable along a single, one-way road. John starts at lake 1, but he can finish at any lake he wants. He can only travel from on...
分类:
其他好文 时间:
2014-05-07 08:48:52
阅读次数:
515
一、基础
1、说明:创建数据库?CREATE DATABASE database-name?
2、说明:删除数据库?drop database dbname?
3、说明:备份sql server?
--- 创建 备份数据的 device?
USE master?EXEC sp_addumpdevice 'disk', 'testBack', 'c:\mssql7backup\MyNwin...
分类:
数据库 时间:
2014-05-06 18:57:44
阅读次数:
506
五一中间断了几天,开始继续。。。
1、
??
Copy List with Random Pointer
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.
Return a...
分类:
其他好文 时间:
2014-05-06 18:54:59
阅读次数:
386
我们在运营项目的过程中肯定会遇到备份数据库,还原数据库的情况,我们一般用一下两种方式来处理:1.使用into outfile 和 load data
infile导入导出备份数据这种方法的好处是,导出的数据可以自己规定格式,并且导出的是纯数据,不存在建表信息,你可以直接导入另外一个同数据库的不同表中...
分类:
数据库 时间:
2014-05-06 09:42:28
阅读次数:
508