自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(20)
  • 收藏
  • 关注

原创 FreeBSD8.2 Ngnix+Tomcat7 Native 安装

1 安装diablo-jdk16    cd /usr/ports/java/diablo-jdk16     make config    去掉  [ ] TZUPDATE 选项    make install clean    如果提示下载什么文件,就按提示下载相关文件 放到 /usr/ports/distfiles目录 再 make install clean     2 安...

2011-06-09 16:40:52 138

原创 freebsd-网卡配置-多IP配置

  这里假设网卡re0; 1 配置同一子网内的别名IP地址: 编辑配置文件 /etc/rc.conf ifconfig_re0="inet 192.168.1.163  netmask 255.255.255.0" ifconfig_re0_alias0="inet 192.168.1.164 netmask 255.255.255.255"     2 配置非同一子网内的别名IP...

2011-06-09 15:33:45 599

delphi 字符串分割函数

Unit Classes   function ExtractStrings(Separators, WhiteSpace: TSysCharSet; Content: PChar; Strings: TStrings): Integer;   返回值为分割出的“字串”的个数 注意: 空串被“忽略”...

2010-04-24 03:07:31 187

delphi 中 string pchar 转换

pchar to string:  function StrPas(const Str: PChar): string;   string to pchar:  function StrPCopy(Dest: PChar; const Source: string): PChar;

2010-04-24 02:14:34 308

VS2008 ACE开发准备

ACE的下载地址:     http://download.dre.vanderbilt.edu/   安装环境:    windows xp;  visual studio 2008; ACE 5.7.6   1 环境变量    新增 用户变量 ACE_ROOT 值为解压后的路径 比如F:\study\C\ACE-5.7.6\ACE_wrappers      编辑 用户变量...

2010-02-27 05:36:26 97

原创 内存操作api

1 ZeroMemory  - 置0     VOID ZeroMemory(       PVOID Destination,  // address of block to fill with zeros       DWORD Length  // size, in bytes, of block to fill with zeros       );       Parameters...

2010-02-07 14:20:34 325

原创 设置语言环境变量

查看当前环境的语言设置   locale   用nano编辑器打开 /etc/default/locale   sudo nano /etc/default/locale   "ctrl+K" 删除原有的行 "ctrl+O"保存 "ctrl+X"退出编辑器   重启 sudo shutdown -r now...

2009-09-11 12:09:16 222

原创 jquery blockui 插件使用

$.blockUI("数据处理中,请稍候...");   在异步操作的 回调中 调用 $.unblockUI();

2009-09-01 11:55:00 109

原创 IE Firefox 事件

function fn_evt_handler(){ /* evt 事件对象; sender 为触发事件的Element */ var evt = arguments[0] || window.event; var sender = evt.srcElement || evt.target; alert( "send...

2009-08-31 23:50:27 86

原创 Button的icon 和 label 显示控制

Atom.gap                  表示icon和label之间的距离 Atom.center              表示 "内容"是否居中 Atom.iconPosition     表示 icon 相对于 label 的位置                                         Allowed values:               ...

2009-08-24 18:45:50 308

原创 doc , win 的left , top , width, height align...

getBounds()   return  {}  Contains the keys width, height, left , top. 单位 pixel   alignX,   "left", "center", "right"   alignY,   "top", "middle", "bottom", "baseline"   heiht

2009-08-21 14:53:41 107

原创 python json

py2.5  可使用 simplejson http://simplejson.googlecode.com/svn/tags/simplejson-2.0.9/docs/index.html   Encoding - dumps() 方法 Decoding - loads()   方法   GAE例程 blitz, geochat, muvmuv 均有使用 simplejson...

2009-08-18 05:05:04 69

原创 pytho生成GUID UUID

import uuid   uuid1 = uuid.uuid1() uuid3 = uuid.uuid3(uuid.NAMESPACE_DNS, 'test_str') uuid4 = uuid.uuid4() uuid5 = uuid.uuid5(uuid.NAMESPACE_DNS,'test_str')     uuid.uuid1()                   ...

2009-08-17 17:46:09 134

原创 python 静态方法

staticmethod  或 classmethod   一 class C_use_staticmethod1:     def sm(in_str):           print in_str       sm = staticmethod( sm )   C_use_staticmethod1.sm("静态方法1")   二  class C_use_st...

2009-08-17 14:23:53 118

原创 ICS-例程s

Sample applications: --------------------   Note: All sample file names begins with prefix "OverbyteIcs". Some samples listed below maybe missing from distribution because the are from version ...

2009-08-02 05:57:37 253

原创 TWebBrowser

原文: http://www.qqgb.com/Program/Delphi/DelphiJQ/Program_154062.html   MSHTML把HTML页面中的元素封装成了IHTMLInputElement、 IHTMLInputButtonElement、IHTMLInputTextElement、IHTMLTextAreaElement、IHTMLTitleElement、I...

2009-07-18 23:37:35 176

原创 返回行数

限制返回行数的数目 oracle select * from 表 where rownum

2009-05-18 19:36:14 247

原创 连接列值 concat,

将多列值做为一列返回   concat(name,' 是 ',city,' 人 ') as tip   注: oracle,postgreSql,DB2 中 ; 可以用 || 来连接多个值          name || ' 是 ' || city || ' 人 ' as tip      SQL Server 中;  可以用 + 来连接多个值        name + ' 是 ...

2009-05-18 19:09:44 157

原创 css样式控制元素的位置 对齐方式

<div style="background-color:red;width:400px;height:500px; position:relative; text-align:center"> <button style="position:absolute;left:50px;width:50px;height:25px">ddfdf</button&gt...

2009-05-09 20:40:25 605

原创 JavaScript CSS Style属性对照表

盒子标签和属性对照 CSS语法 (不区分大小写) JavaScript语法 (区分大小写) border border border-bottom borderBottom border-bottom-color borderBottomColor border-bottom-style borderBottomStyle bord...

2009-05-08 17:25:02 85

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除