气吞万里如虎_百度空间
 
文章列表
 
2012-05-05 16:03

./configure --prefix=/usr/local/webserver/php --with-config-file-path=/etc --with-pdo-mysql=mysqlnd --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-mysql-sock=/tmp/mysql.sock  --with-freetype-dir=/usr/local/freetype --with-jpeg-dir=/usr/local/jpeg --with-png-dir=/usr/local/ --with-zlib-dir=/usr/local/ --with-zlib --with-libxml-dir=/usr/local/libxml2 --enable-xml --disable-rpath --enable-safe-mode --enable-bcmath --enable-shmop --enable-

 
2012-04-15 20:54

nginx.conf  server部分配置


 server

{

listen  9191;  

server_name t.com;  

location / {  

uwsgi_pass   127.0.0.1:9192;  

include     uwsgi_params;  

access_log  off;  

}  

 
2012-04-15 12:45

1,安装uwsgi  http://projects.unbit.it/uwsgi/

tar zvxf uwsgi-1.1.2.tar.gz

cd uwsgi-1.1.2.tar.gz

make

cp uwsgi /usr/bin

 

2,安装nginx 参考  

 
2012-04-08 09:03

执行以下两条命令  另外稍微配置一下

VBoxManage.exe modifyvm "ubuntu" --natpf1 "guesthttp,tcp,,8800,,80"  #ubuntu 为你新建的虚拟机名 将本地8800端口的访问转发到虚拟机的80端口   即 访问 http://localhost:8800  访问的是虚拟机 80 端口  apache 或者 nginx 等web服务器端口


VBoxManage.exe modifyvm "ubuntu

 
2012-03-22 15:55

/*

*事件循环函数

*d  事件循环的一组对象

*e  每个对象执行动作的间隔时间   具体执行什么动作  修改 invoke 函数对应代码

*/

function Player(d,e)

{
  e = e || 1500;
  this.btns = d;
  this.timeout = e;
  var g = this;
  for (var c = 0; c < d.length; c++) {
    this.btns[c].index = c;
    d[c].onmouseover = function () {
 
2012-03-20 17:41

/Users/star/Library/Application Support/Firefox  删除   profiles.ini

删除  ~/Library/Preferences/org.mozilla.firefox.plist

 
2012-03-20 11:14

应用场景

1. 开发某个网站。

2. 为实现某个新的需求,创建一个分支。 

3. 在这个分支上开展工作。

假设此时,你突然接到一个电话说有个很严重的问题需要紧急修补,那么可以按照下面的方式处理:

1. 返回到原先已经发布到生产服务器上的分支。

2. 为这次紧急修补建立一个新分支,并在其中修复问题。 

3. 通过测试后,回到生产服务器所在的分支,将修补分支合并进来,然后再推送到生产服务器上。 

 
2012-03-19 16:35

先拷贝字体到  /Library/Fonts    如SimSun.ttf  Microsoft YaHei.ttf  请自行收索

修改   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/Resources/DefaultFontFallbacks.plist  请先备份该文件

将 Chinese 字体替换成   SimSun

 

修改成类似

             

 
2012-03-16 16:37

1,构造函数继承

一:原型继承

function Animal(){

this.species = "动物";

}

function Cat(name,color){

this.name = name;

this.color = color;

}

extend(Cat,Animal);

var cat1 = new Cat("大毛","黄色");

alert(cat1.species); // 动物

 

function extend(Child, Parent) {
    var F = function(){};

 
2012-03-15 14:00

 
     
 
 
个人档案
 
163spa
男, 
浙江 杭州 
 
   
 
文章分类
 
 
Mysql(10)
 
 
 
Php(16)
 
 
Css(2)
 
Seo(0)
 
Linux(46)
 
Django(21)
 
Vim(14)
 
 
 
 
 
 
 
 
     
 
最新评论
 
     
 
好友最新文章
 
     
 
最近访客
 
 

mengmanee

dou0_0

yang62116

oxbat

hao_2030

gongcheng0127

jacky13631

shishi1234
     
 
背景音乐
 
     
 
订阅我的空间
 
已有人次访问本空间
 
订阅RSS  什么是RSS?

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

帮助中心  |  空间客服  |  投诉中心  |  空间协议
©2012 Baidu