搜索
cjc · 共 847 篇文章
linux系统单网卡绑定双IP的方法
linux系统单网卡绑定双IP的方法 1. 进入目录: cd /etc/sysconfig/network-scripts/ 2. 使用vi命令编辑ifcfg-eth0,如下: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] DEVICE=eth0 BOOTPROTO=static BROADCAST=192.168.0.255 HWADDR=00:0C:29:25:96:A3 #第1个IP IPADDR=192.168.0.2 NETMASK=255.255.255.0 NETWORK=192.168.0.0 ONBOOT=yes G…
2009-05-25 14:36 · 评论(0)
web developer tips (2):样式应用工具栏的工作模式
<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…
2009-05-25 01:07 · 评论(0)
SQL Server 2008企业试用版到期,升级为企业版
<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…
2009-05-24 03:40 · 评论(0)
向着嵌入式出发!
<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…
2009-05-22 11:23 · 评论(0)
管理能量而非时间
<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…
2009-05-21 09:38 · 评论(0)
web developer tips (1):创建、管理、应用样式表的强大工具
<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…
2009-05-20 01:16 · 评论(0)
异步串行通讯和同步串行通讯对比
<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…
2009-05-19 20:14 · 评论(0)
浅析标准I/O缓冲区
<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…
2009-05-18 17:26 · 评论(0)
使用RealViewMDK时常见的问题(1)
<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…
2009-05-15 17:14 · 评论(0)
OpenJWeb平台Spring Security+CAS SSO的配置
CAS Server的搭建就不用介绍了,这里介绍一下OpenJWeb平台中Spring Security如何与CAS集成.Spring security集成CAS的官方例子可从 https://src.springframework.org/svn/spring-security/trunk/samples/cas/client/src/main/webapp 下载,但是这个例子过于简单,权限ID是配置在xml中,而本文介绍的配置,权限ID是存储在数据库中的.下面是配置的applicationContext-security.xml(这个配置已测通): <?xml version="1.0"…
2009-05-15 14:47 · 评论(0)
嵌入式Linux实战篇--交叉编译环境的建立(基于ubuntu 8.10)
<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…
2009-05-14 09:20 · 评论(0)
什么是交叉编译
<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…
2009-05-12 12:05 · 评论(0)
linux内核对S3C2410睡眠模式的支持
<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…
2009-05-06 07:08 · 评论(0)
Visual Studio 最常用的13个快捷键
<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…
2009-04-27 01:09 · 评论(0)
OpenJWeb1.6 快速开发平台树型结构功能生成器
在项目开发中经常遇到象商品大中小类. 网站栏目,等树型结构的功能,对于树型结构的功能开发往往是很耗费时间的,我从前一项目组的小伙子做一个栏目树的维护花了一个周的时间,还经常出现BUG,现在OpenJweb平台基于dhtmlxTree组件,并采用ssh2框架实现了树型结构功能页面的生成工具,这样凡单表树型结构的维护模块有多少都不怕,都可以通过平台生成. 下图是树型结构的表字段定义页面: 下面是在功能定义页面中,通过生成代码功能创建的页面(已录入一部分数据做演示): 可以看到生成的页面中有"添加子节点",添加同级节点(被日期下拉遮住了),还有保存和删除等,保存和删除会同步刷新左册树型列表. 我们…
2009-04-20 21:18 · 评论(0)