百度首页 | 百度空间
 
文章列表
 
2008-07-01 00:34
(function(bootstrap){
   if( window.$__loaded ) return ;
   window.$__loaded   = true;
   var temp = document.createElement('div');
   (function(){
       try{
           temp.doScroll('left');
           document.body.appendChild(temp);
          
类别:Web | 评论(2) | 浏览()
 
2008-06-20 13:27
http://code.google.com/p/ipress/
http://code.google.com/p/clong83/
http://code.google.com/p/ifeeds/
类别:Web | 评论(0) | 浏览()
 
2008-06-03 23:38
政教合一特征: 最高权力的所有者,也是道德教化的布道者以及道德解释权的实际所有者。
类别:默认分类 | 评论(0) | 浏览()
 
2008-04-21 15:17

FlowerScript

FlowerScript aims to be lightweight, simple and fast scripting language implemented in D. It started with the main

类别:Web | 评论(0) | 浏览()
 
2008-03-14 12:29
在虚拟机目录下找到vmware虚拟机配置文件(.vmx文件),用文本编辑工具打开,找到:
ethernet0.present = "TRUE"
在下面添上三行:
ethernet1.present = "TRUE"
ethernet0.virtualDev = "e1000"
ethernet1.virtualDev = "e1000"
------------------------------------------------------

-------------------------------------------------------
dd if=/dev/zero of=image.bin bs=1m count=15
mdconfig -a -t vnode -f image.bin -u 33
bsdlab
类别:Os | 评论(0) | 浏览()
 
2007-12-12 16:34
1、数据包 “netstat 1″一秒钟累计一次,”netstat 2″两秒钟累计一次。依此类推

2、查看网卡流量:”systat -if 1″每秒钟刷新一次,”systat -if 2″两秒钟刷新一次,依此类推.
3.cd /usr/ports/net/ifstat;make install;make clean;/usr/local/bin/ifstat也可以显示及时流量。

FreeBSD-带宽占用-查看
[1] netstat 1 netstat -i netstat -I vr0 simple way

[2]ports: nload vivid way eg. view vr0--> nload vr0

[3]systat -if 1 nice way

[4]port
类别:Os | 评论(4) | 浏览()
 
2007-12-10 21:12

function $defined(obj){
   return (obj != undefined);
};

function $lambda(value){
   return (typeof value == 'function') ? value : function(){
       return value;
   };
};

function $type(obj){
   if (obj == undefined) return false;
   if (obj.$family) return ( obj.$family == 'number' && !isFinite(obj)) ? false : obj.$family;
 
类别:Web | 评论(0) | 浏览()
 
2007-11-15 14:26
//Fx.Lrc , Copyright (c) 2006-2007 Changlong, <http://music.ad.xwall.cn>, MIT Style License.
//r1028
Fx.Lrc    = new Class({
    Extends: Fx,

    options: {
        left: 120,
        hCol: '#f90',
        lCol: '#999',
        advance: 0.88,
   
类别:Web | 评论(0) | 浏览()
 
2007-11-15 14:25
//iPlayer , Copyright (c) 2006-2007 Changlong, <http://music.ad.xwall.cn>, MIT Style License.
// r1028
var Browser = Client;
var iPlayer = new Class({
   
    State:99,

    Implements: [Options, Events],

    options: {
        height: 1 ,
        width: 1 ,
        pro
类别:Web | 评论(0) | 浏览()
 
2007-09-27 13:47
// based on mootools r984
var XFlv = new Class({

    Implements: [ Options],

    options: {
        width: 500,
        height: 350,
        top: 20,
        left: 20,
        swf:{
         
类别:Web | 评论(0) | 浏览()
 
2007-08-18 17:14
device pf
device pflog
device pfsync

options ALTQ
options ALTQ_CBQ
options ALTQ_RED
options ALTQ_RIO
options ALTQ_HFSC
options ALTQ_CDNR
options ALTQ_PRIQ
options ALTQ_NOPCC
options ALTQ_DEBUG

#######################################

man pf.conf
pfctl -f pf.conf 应用pf.conf的规则

pfctl -sr  查看访问规则
pfctl -sn 查看NAT规则
pfctl -sa 查看所有PF信息
pfctl -Rf pf.conf 重新加载访问规则
类别:Os | 评论(5) | 浏览()
 
2007-08-15 16:48
------------------------------------------------------------------------------------------

#DROP TABLE IF EXISTS admin;
CREATE TABLE admin (
Username varchar(32) NOT NULL default '',
`Password` varchar(32) NOT NULL default '',
PRIMARY KEY (Username)
);



INSERT INTO admin VALUES ('admin', md5('admin'));

#DROP TABLE IF EXISTS users;
CREATE TABLE users (
`User` varchar(16) NOT NULL default '',
`Password` varchar(32) NOT NULL de
类别:Os | 评论(2) | 浏览()
 
2007-07-21 18:22
Native(Date);
Native.setFamily({'date': Date});

Date.Names = {
Apm: ['Am','Pm'],
Suffix: ['St','Nd','Rd', 'Th'],
Day: ['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],
Month: ['January','February','March','April','May','June','July','August','September','October','November','December']
}

Date.ShortNames = {}

Date.map = {
Y:{k:'FullYear',l:4},
y:{k:'FullYear', l:2, a: 2000},
m:{k:'Month',l:2, a: -1},
n
类别:Web | 评论(0) | 浏览()
 
2007-07-18 12:10
/*
    new XMenu("#Xmenu a", {});
*/
var XMenu = new Class({

    Implements: [Chain, Options],

    options: {
        mode: 'width',
        offset:{
            over:0,
            normal:0,
   
类别:Web | 评论(1) | 浏览()
 
2007-07-11 12:33
var XTips = new Class({
    Implements :[Events, Options],
   options: {
       onShow: function(tip){
           tip.Fx.stop();
           var fx = $merge(tip.pos,{'width':[0, 170],height:[0, tip.toolTip.getElements('a').length *20], 'font-size':[0,12], 'color':["#f00","#333"],'opac
类别:Web | 评论(0) | 浏览()
 
     
 
 
文章分类
 
 
Os(17)
 
Web(13)
 
 
     
 
文章存档
 
 
 
 
 
 
 
 
 
 
 
 
 
     
 
最新文章评论
   

var Engine = 'unknown';
if( window.opera ){
Engine = 'presto';
}else if(...
 

发表文章的字数太少了,要不再发个css selector了。
 
 
 

sshd 设置

//保持连接不中断
ClientAliveInterval 15
ClientAliveCountMax 3

//...
 
     


©2008 Baidu