原文地址: http://www.blogjava.net/algz/articles/257409.html其实很简单的,主要就是以下三项.//重新绑定gridthis.grid.reconfigure(newStore, new Ext.grid.ColumnModel(cm1));//重新绑定分页工具栏this.pagingBar.bind(newStore);//重新加载数据集newStore.load({params:{s…
同步方式请求: var conn Ext.lib.Ajax.getConnectionObject().conn; conn.open("GET", your url,false); conn.send(null); alert(conn.responseText);或者 var conn Ext.lib.Ajax.getConnectionObject().conn;conn.open("POST", url, false)…
准备在VMWare中装oracle,突然发现硬盘空间不够用,只好新加一个虚拟SCSI硬盘.
#fdisk /dev/sdb进入fdisk命令模式,按m查看帮助得知,n创建新区Command (m for help):n输入p创建主分区(一共可建4个,这里我只有建一个就ok)Command action e extended p primary partit…
今天在论坛中有人问ext和asp.net是如何进行交互的,对于一个刚入门的新手来说,这个问题可能会使其比较迷惑,下面我写一个非常简单的例子来说明一下ext如何与asp.net来进行数据交互 Default.htm: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" &…
在一些C#代码中常常可以看到
[code]
//An Simple Example By Ray Linn
class CarCollection :ICollection
{IList list;public void Add(Car car){list.Add(car);}.... function list for ICollection...public void listPrice(){foreach(Car car in list)System.Console.Write…
参考
how to get name of all file in a directory and sub-directory in java - Stack Overflowhttps://stackoverflow.com/questions/8788976/how-to-get-name-of-all-file-in-a-directory-and-sub-directory-in-java
pom导入依赖
<dependency><groupId>commo…
from[url]http://www.beyondrails.com/blogs/19/edit[/url]在[urlhttp://www.beyondrails.com/blogs/14]Extjs Introduction[/url]中提到:
[quote]
DomQuery is 2~3 times faster than jQuery/dojo/Mootools, Prototype is the most slowest one!
[/quote]
Speed Test测试页面:…
转一篇英文的关于LVS应用的文章 Running a Proxy-Arp LVS-NAT Director/Firewall with Keepalived
(C) 2003 Vince Worthington, released under GPL How to have one Linux box be your LVS-NAT director with Keepalived, and be a Proxy-Arp firewall/gateway with Statefu…
查看了下android关于文件属性方面的操作时,发现其使用的是EXT4文件系统,关于EXT4文件系统的简介如下,希望大家也都对此有所了解. Ext4是一种针对ext3系统的扩展日志式文件系统,是专门为 Linux 开发的原始的扩展文件系统(ext 或 extfs)的第四版。 Linux …
在windows 和 linux下引入hash_set、hash_map头文件
推荐使用方法:
在源代码的前面写入一下代码:
// just for "#include " in linux #if __GNUC__>2 #include <ext/hash_set> #include <ext/hash_map> using namespace __g…
特点:
l 可驱动6组并联LED
l 每组之间得电流差异可以控制在-1.5%范围
l 450mV的低反馈电压,改善了效率
l 步进控制器调整输出在最高LED组电压之上
l 全范围LED电流调整,从15mA到25mA,或阈值20mA
l 宽的100࿱…
Perl的现状
翻译:saladjonk校者:fayland 出处:中国Perl协会 FPC(Foundation of Perlchina)作者:Adam Turoff原名:The State Of Perl原文:http://www.perl.com/pub/a/2004/01/09/survey.html发表࿱…
上篇《Oracle高水位线(HWM)及性能优化》用到的show_space
create or replace procedure show_space ( p_segname_1 in varchar2,p_space in varchar2 default MANUAL,p_type_1 in varchar2 default TABLE ,p_partition_1 in varchar2 default NULL,p_analyzed in varchar2 def…
原文地址: http://www.blogjava.net/algz/articles/257409.html 其实很简单的,主要就是以下三项.//重新绑定gridthis.grid.reconfigure(newStore, new Ext.grid.ColumnModel(cm1));//重新绑定分页工具栏this.pagingBar.bind(newStore);//重新加载数据集newStore.load({params:{…
这次来介绍ActiveSupport里对Symbol的扩展,我们先来看active_support/core_ext/symbol.rb文件:
[code]
class Symbol# Turns the symbol into a simple proc, which is especially useful for enumerations. Examples:## # The same as people.collect { |p| p.name…
/etc/hosts配置: [rootdw-host10-if1 ~]# cat /etc/hosts;# Do not remove the following line, or various programs# that require network functionality will fail.127.0.0.1 localhost.localdomain localhost::1 localhost6.localdo…