using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebContro...
分类:
Web程序 时间:
2014-06-25 19:35:14
阅读次数:
262
题目
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set.
get(key) - Get the value (will always be positive) of the key...
分类:
其他好文 时间:
2014-06-24 22:45:43
阅读次数:
202
(1) 使用NumericUpDown
(2) 处理KeyPress 按钮
(3) 处理Text_Changed 事件
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Li...
分类:
其他好文 时间:
2014-06-24 21:45:43
阅读次数:
173
关于使用jquery-mobile表单提交遇到的问题
当你使用了jquery-mobile的时候,如果你在前台提交一个了一个form表单,而在后台你处理完业务逻辑之后想要重定向到另一个方法或页面的时候。
切记要在form表单处添加一个data-ajax=“false”。
因为jquery-mobile默认是以ajax方式提交。
(最明显的表现是,你在后台明明使用了重定向,但是URL...
分类:
Web程序 时间:
2014-06-24 21:01:46
阅读次数:
222
读取.dat图像文件
initial begin
// Initialize Inputs
CLK = 0;
RST = 1;
IMAGE_DATA = 0;
BUFFER_WEN = 0;
// Wait 100 ns for global reset to finish
#10000;
RST = 0;
#100;
RST = 1;
/...
分类:
其他好文 时间:
2014-06-24 20:31:16
阅读次数:
223
谨以此文纪念过去两年的幸福时光~~~按下Shift-Alt-s, 这个来到DM最熟练的组合键,不用看跳出的对话框,直接按下Enter键。资深Data Miner提交Job都是这么帅的。Miner一边美滋滋的看着提交Job的圆圈,一圈一圈的转,一边在另一个屏幕上,浏览cnbate。对于上万行代码经验的...
分类:
其他好文 时间:
2014-06-24 19:11:57
阅读次数:
207
LINQ to SQL和Entity Framework都是一种包含LINQ功能的对象关系映射技术。他们之间的本质区别在于EF对数据库架构和我们查询的类型实行了更好的解耦。使用EF,我们查询的对象不再是完全对应数据库架构的C#类,而是更高层的抽象:Entity Data Model。这为我们提供了额外的灵活性,但是在性能和简单性上面也会有所损失。
LINQ to SQL由C#团队开发并在.N...
分类:
数据库 时间:
2014-06-24 17:57:56
阅读次数:
278
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set.
get(key) - Get the value (will always be positive) of the key if ...
分类:
其他好文 时间:
2014-06-24 17:25:41
阅读次数:
197
背景: Hadoop的HDFS文件系统的挂载, 默认指定的文件目录是/mnt/disk{N}. 当运维人员, 不小心把磁盘挂载于其他目录, 比如/mnt/data, /mnt/disk01, /mnt/diska时, HDFS会选择根分区, 当往HDFS里灌数据时, 导致的结果往往是根分区被快速的....
分类:
系统相关 时间:
2014-06-24 15:05:25
阅读次数:
304
Problem DescriptionSome days ago, I learned the concept of LCM (least common multiple). I've played with it for several times and I want to make a big...
分类:
其他好文 时间:
2014-06-24 15:01:58
阅读次数:
168