Colorful Life2010

asp template 1.5
Weather:多云,南风4-5级,最低气温18 ℃

Tokens And Variable Types
Tokens
As presented before, the key to separating the content from code is producing templates that have placeholders (tokens) for the dynamic data within the HTML and other static text. I've always used [% and %] to delimit my tokens from the rest of the code. Tokens are by default case insensitive, so

ColdFusion在线人数统计
Weather:晴,北风4-5级,最高气温25 ℃
<cfif NOT IsDefined("Application.online")>
      <cfset Application.online=ArrayNew(1)>
</cfif>
<cfscript>
      trace = false;//调试信息
      outtime = 20;//保存时间(分种)
      online_guests = 0;//过路人数<...
SQL Server Count的一个省力的替代法
Weather:阵雨,东北风6-7级,最高气温25 ℃
对于SQL server用户,有一个比SQL标准的count(*)更节省资源的获取表中纪录数的方法。可以从sysindexes表中获得值,SQL server自动地将最新的纪录数保存在这个表中。实现这个任务的SQL查询的语法如下:
    
    SELECT rows FROM sysindexes WHERE id=OBJECT_ID ('your_table')
    
    这种方法可以稍微快一些...
sort by index of tuple in list
Weather:晴,北风4-5级,最高气温28 ℃

"""
Packages: basic_datatypes.tuples
"""

"""
> I have a list of tuples
> [('a','p','q'),('b','r','s'),('c','t','u'),('a','v','w'),
('b','x','y')],
> and I want to print out
> <b...

ADO连接Sybase数据库的方法
Weather:多云,东北风3-4级,最高气温28℃

ODBC Driver for Sybase
 
If using the Sybase System 11 ODBC Driver:

oConn.Open "Driver={SYBASE SYSTEM 11};" & _
          "Srvr=myServerName;" & _
         "Uid=myUsername;" & _
          "Pwd=myPassword;"

If using the Intersolv 3.10 Sybase ODBC Driver: