导航菜单

[置顶]本站资源下载(更新2006-10-12)

debian date设置

通过Date来设置时间 如果硬件的时间不正确
设置也是无效的。需要设置硬件的时间:
hwclock 查看硬件时钟 此command 只有root能使用 一般user无法使用
更改硬件时钟
例:
hwclock --set --date="12/01/2007 10:45:34"
月 日 年 时 分 秒
同步系统时间和硬件时间
hwclock --hctosys

date用法
例:
date 120110552007...

Js中模拟.Net功能(二)

模式 String.endwith 功能.
[CODE_LITE]
String.prototype.endwith = function(element) {
if (this.length > 0) {
if (element.length > 0) {
if (this.substring(this.length-element.length)==element) {
return true;
...

验证手机号码所属运营商的JS代码

[CODE_LITE]
function getMobileServices(mobile) {
if(mobile.startwith("0")==true){
mobile=mobile.substring(1);
}
if(mobile.startwith("+086")==true){
mobile=mobile.substring(4);
}
var chinaunicom=new Array("130","131","132","133");
var chinamo...

模拟.Net的JS代码

在开发过程中使用了JS脚本.因对一些代码的使用频繁.对JS进行了一些扩展.

模拟类似与.Net中的一些功能.为以后的操作带来简便性.

1.String.startwith功能

[CODE_LITE]
String.prototype.startwith = function(element) {
var l = element.length;
if (this.length > 0) {
if (l > 0) {
if (...

Using jQuery to Consume ASP.NET JSON Web Services[transshipment]

In response to many of the articles here, I receive feedback asking how to achieve the same results without using ASP.NET AJAX. As much as I’m a fan of ASP.NET AJAX, I must agree that its JavaScript payload can certainly be a drawback in some situati...

Mobile Web Forms in Visual Studio 2008[转]

If you have worked with Visual Studio 2008 and tried creating Mobile Web Applications, you would have figured out that the "Mobile Web Form" template is missing.  In the past, in Visual Studio .NET 2003 you had Mobile Web Forms that allow you to...

有趣的数学-计算机试题

Problem 1If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.Find the sum of all the multiples of 3 or 5 below 1000.如果我们罗列10以下的能被3或5整除的自然数,我们可以得到3,5和9.他们的和为23.请计算出1000以下能被3和...

Wnd visit BD

从昨天到今天maersk的WND关于新系统的事情 访问公司.大致的介绍了下新HJ System的一些情况.从Introduction中可以看出有如下的几个特点.1.SO的唯一性.这个就要求business 做完善认真的工作.并且跟Client做详细的跟踪.2.Carton ID的Scan.这个是大的工作量.但是能满足一些Client的需求.容后的Client requirement有了更好的处理.3.Flow Control.正如低版本的操作.做的更加的完善与跟踪处理.4.Pre-ASN. 这个...

SqlConnection”在命名空间“System.Data.SqlClient”中不明确

今天打算写一个Blog 建立数据库处理时发现了如下的提示:"SqlConnection”在命名空间“System.Data.SqlClient”中不明确"感觉很奇怪,查找了可能重名的空间或类.都无所获.然后进入Google搜索,得到的结果要不就是没有对System.Data.SqlClient的引用.要不就是说出现定义空间类重名了.经过仔细分析发现是 VS2008在新建Class项目时,自动引用了System.Data.DataSetExtensions该类包含了对System.Data.Sql...

终于又把BLOG弄起来了

想想还是有些不怎么舍得.有些工作的日记还是要记录的.还好域名当时就明智的保留了下来....
分页:[<<][1][2][3][4][5][6][7][8][9][10][11][12][13][14][15][>>]

日历

<< 2009·5 >>

Sun

Mon

Tue

Wen

Thu

Fri

Sat

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

Search

站点统计

  • 文章总数:348
  • 评论总数:144
  • 引用总数:83784
  • 当前样式:default2
  • 当前语言:zh-CN
  • 阅读统计:185889

网站收藏

图标汇集

  • 本站支持WAP访问
  • Google SiteMap
  • 通过 W3C XHTML 1.0 Transitional 校验
  • 通过 W3C CSS 校验
  • 订阅本站的 ATOM 1.0 新闻聚合
  • 订阅本站的 RSS 2.0 新闻聚合

Powered By Z-Blog 1.6 Beta Build 60517

Copyright yxyr.com ,Some Rights Reserved.浙ICP备06021833号