- 博客(10)
- 收藏
- 关注
转载 计算一段日期内的周末天数(星期六,星期日总和
function get_weekend_days($start_date,$end_date){ if (strtotime($start_date) > strtotime($end_date)) list($start_date, $end_date) = array($end_date, $start_date); $start_reduce = $end_add = 0; $...
2011-08-29 08:58:00 86
转载 Bash Shell 笔记
鸟哥的私房菜管道命令 “|”仅能处理通过前一个命令传来的正确消息,也就是stdout的信息,对于stderr没有直接处理能力。中英文操作系统转换原来用户登陆的时候是根据LANG设置设定的。所以我如果在~/.bashrc中更改LANG就可以切换中英文操作系统。比如要切换为英文操作系统则在~/.bashrc中加入LANG="en_US.utf8"export LANG...
2011-08-26 20:34:00 49
转载 第 6 章 对象/关系数据库映射基础(Basic O/R Mapping)
第6章对象/关系数据库映射基础(Basic O/R Mapping)6.1.映射定义(Mapping declaration)对象和关系数据库之间的映射通常是用一个XML文档(XML document)来定义的。这个映射文档被设计为易读的, 并且可以手工修改。映射语言是以Java为中心,这意味着映射文档是按照持久化类的...
2011-08-23 22:07:00 82
转载 新博客开通啦
大家好,我是来自USTC的sylvanas,刚刚在博客园安了新家,欢迎大家一起来讨论、交流。我的微博:weibo.com/leavingseason转载于:https://www.cnblogs.com/leavingseason/archive/2011/08/20/2147425.html...
2011-08-20 20:34:00 64
转载 Apache ubuntu
http://wiki.ubuntu.org.cn/Apachehttp://www.linuxidc.com/Linux/2010-07/27230.htm转载于:https://www.cnblogs.com/cr0-3/archive/2011/08/19/2146122.html
2011-08-19 20:09:00 50
转载 C#中new和override区别
在C#中实现重写方法,可以用new和override两个关键字来实现,究竟他们之间有什么区别呢?下面,我以例子来说明他们之间的微妙区别:public class GrandClass//基类{public GrandClass(){Console.WriteLine("In GrandClass.Constructor");}public virt...
2011-08-19 13:03:00 44
转载 Ten Commandments of Egoless Programming (转载)
Understand and accept that you will make mistakes. The point is to find them early, before they make it into production. Fortunately, except for the few of us developing rocket guidance software at ...
2011-08-13 15:17:00 72
转载 线程和UI交互的普遍用法
using System;using System.Windows.Forms;using System.Threading;namespaceThreadBeginInvokeAPP{publicpartialclassmainFrm : Form{public mainFr...
2011-08-12 10:12:00 43
转载 现在流行的div弹出效果
现在流行的div弹出效果转自:http://www.cnblogs.com/yintian2/archive/2007/06/21/791985.html<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>...
2011-08-04 18:01:00 107
转载 Objective C中的一些关键字
关于变量的作用域@protected—Methods defined in the class and any subclasses can directly access the instance variables that follow.This is the default case.该类和所有的子类中的方法可以直接访问这样的变量,这是默认的。@private—Methods defi...
2011-08-03 15:08:00 42
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人