[标志]从今天开始改变写博客的方式

今天是个挺特别的日子啊,由于未来丈母娘在我家里,没好意思买花送给我MM。

为了加强HTML及CSS的运用从这篇Blog起,改变我以往写Blog的方式。除了代码语法着色部分外全部内容的标签全部手写的方式。

该篇Blog就成为我两种Blog风格的华丽分割线啦。 :)


Linux Shell

[root@mailserver ~]#  netstat -i
Kernel Interface table
Iface       MTU Met    RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR Flg
bond1      1500   0  3436804      0      0      0  1774259      0      0      0 BMmRU
eth0       1500   0     3962      0      0      0      773      0      0      0 BMRU
eth2       1500   0  3436804      0      0      0  1774254      0      0      0 BMsRU
eth3       1500   0        0      0      0      0        5      0      0      0 BMsRU
lo        16436   0     3071      0      0      0     3071      0      0      0 LRU

C# Code

static void Main(string[] args)
{
  TcpListener listener = new TcpListener(IPAddress.Any, 9090);
  listener.Start();
  Thread th = new Thread(new ThreadStart(SendWork));
  th.Start();
  while (true)
  {
    TcpClient point = listener.AcceptTcpClient();
    ThreadPool.QueueUserWorkItem(new WaitCallback(LinkHandle), point);
  }
}

SQL Code

Declare @n int
Set @n=0      --测试一下边界值的情况
While @n < 14 --虽然对于月份来说、都是不会出现
Begin
  select $PARTITION.pf_ByMonth(@n);
  Set @n=@n+1 ;
End 
posted @ 2009-02-14 21:55  killkill  阅读(405)  评论(0编辑  收藏  举报