axgle
百度空间 | 百度首页 
               
 
文章列表
 
2009年06月25日 星期四 19:34
In firefox, make Javascript.new like Ruby.new
Object.prototype['new']=function(){
    var params=[];
    var argc=arguments.length;
    for(var i=0;i<argc;i++){
        params.push('arguments['+i+']');
    }
    var code='return new this('+params.join(',')+');';
    return new Function(code).apply(this,arguments);
}
 
2009年06月20日 星期六 21:53
{
layout:"border",
items:[{
    region:"center"
},{
    region:"north",
    tbar:[{
        text:"reset"
      },{
        text:"showall"
      }],
    title:"gui builder"
},{
   
 
2009年06月18日 星期四 20:03
Ext.getBody().update('');
new Ext.TabPanel({renderTo:Ext.getBody(),
items:[{title:'demo',html:'content'},{title:'trend',autoLoad:{url:'/admin/domains/trend'}}],
autoHeight:true,
activeItem:1
});
 
2009年06月17日 星期三 14:40
Ext.get(document.body).update('<div id="test"></div>');
var tree=new Ext.tree.TreePanel({
    renderTo: 'test',
    width: '200px',
    title: 'My Title',  
    collapsible: true,
    root:new Ext.tree.AsyncTreeNode({text:'dd',children:[{text:'qq',leaf:true}]})
});

tree.render();
tree.expandAll();
--other--
http://extjs.com/lea
 
2009年05月21日 星期四 17:41
sudo apt-get install postfix
--------------------------------------
<?php
mail('fakename@gmail.com','subject','message');
?>
-----------------------------------------
postdrop: warning: unable to look up public/pickup: No such file or directory
----------------------------------------
sudo mkfifo /var/spool/postfix/public/pickup
sudo /etc/init.d/postfix restart
 
2009年05月13日 星期三 19:20
feel->think->action
 
2009年05月12日 星期二 16:30

gnome-terminal乱码
================
运行一下reset

 
2009年05月12日 星期二 14:54
 
2009年05月07日 星期四 11:36
 
2009年05月06日 星期三 13:40
To get rid of the zombies when child processes terminate you do not have to write a lot of code that uses complex stuff like message queues.
Instead you only set a signal handler:

pcntl_signal(SIGCHLD, SIG_IGN);
-----------------------------------
http://blog.csdn.net/simbi/archive/2009/04
 
     
 
 
个人档案
 
axgle

北京 海淀区 
上次登录:
2天前
加为好友
 
   
 
最近访客
 
 

xinupc

夏普电视维修

ch1988arj

TCL笔记本维修

scnjliulin

Zhangsilly

夏小勇

luyun52023
     
 
其它
 
已有人次访问本空间
 
订阅RSS  什么是RSS?

您也想拥有这样的空间?请点此申请。
     
 
背景音乐
 


©2009 Baidu