`
ggsonic
  • 浏览: 266690 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
interesting using jquery 1.3.2 this works fine in chrome var htmlToAppend = '<div class="logitem"></div>'; $('div.logbox').append(htmlToAppend); $("div.logbox").animate({ scrollTop: $("div.logbox").get(0).scrollHeight}, 300); but this dont work in ch ...
如果是遇到VMWARE 6(SERVER)出现2GB FILE REASONS TOO BIG。 就在VMX文件下加这一句: diskLib.sparseMaxFileSizeCheck= "false" 或者在设置里加add entry.也行。 出错信息大概如下。 VMware Workstation cannot open one of the virtual disks needed by this VM because it is larger than the maximum file size supported by the host file sys ...
require_once 'DB.php'; $db_url = "mysqli://root:@localhost/db"; $dbh = DB::connect($db_url); $dbh->query("set names utf8"); then the client can get right utf8 encoded results for statusnet , your classes should extends Memcached_DataObject
sudo apt-get install build-essential 1、在Ubuntu Apache2+PHP5+MySQL sudo apt-get install apache2 libapache2-mod-php5 php5 php5-gd mysql-server php5-mysql phpmyadmin 2、启用 mod_rewrite 模块 sudo a2enmod rewrite 3、配置 网站的目录了 sudo vi /etc/apache2/apache2.conf 去掉 AddHandler cgi-script .cgi 前的注释 “#”。 然后在任意地 ...
set <mx:Repeater recycleChildren="true"[color=darkred][/color] id="rp" dataProvider="{dp}"> From Adobe: The recycleChildren property is a Boolean value that, when set to true, binds new data items into existing Repeater children, incrementally creates children if ...
<mx:Label visible="false" includeInLayout="false" text="{String(rp.currentIndex)}"/> visible="false" and includeInLayout="false" should also be set
xampp1.7.2 winxp 1. MIME_Type autoDetect , best way is using fileinfo. php5.3 support this,but xampp 1.7.2 default not. in php.ini, enable extension=php_fileinfo.dll, disable extension=php_mime_magic.dll 2. comment omb.php require_once('Auth/Yadis/Yadis.php');
1. 首先安好ipv6协议栈:右击 本地连接 ,点击属性,打开 本地连接属性 窗口,点击 安装 按钮,然后在弹出的窗口中,选择 协议 , 并点击 添加 ,在弹出的窗口中,你会发现 Microsoft IPv6 Protocol ,选择这个选项,点击 确定。 2. 在 开始 --> 运行 处执行 ipv6 install 3. 使用如下命令,查看"本地连接"的接口号     netsh interface ipv6 show address 因为没有路由器,所以我们需要手工配置一条路由    ipv6 -p rtu fe80::/16 6 以及    ipv6 -p ...
<?xml version="1.0" encoding="utf-8"?> <mx:RegExpValidator xmlns="*" xmlns:mx="http://www.adobe.com/2006/mxml" expression="^(\d\{1,2\}|1\d\d|2[0-4]\d|25[0-5])\.(\d\{1,2\}|1\d\d|2[0-4]\d|25[0-5])\.(\d\{1,2\}|1\d\d|2[0-4]\d|25[0-5])\.(\d\{1,2\}| ...
按照两篇指南走: 1. http://library.gnome.org/devel/gtk-faq/stable/c192.html#FAQ-COMPILE 按里面的包安装顺序安装。我的机器上主要是fontconfig和gettext需要最新版 2. http://library.gnome.org/devel/gtk/unstable/gtk-building.html 最好是装在新目录/opt/gtk下。装完glib后需要按照说明export环境变量 在centos5 32bit机和redhatel5 64bit机上安装了最新版glade3.6.7 。 在安装时,勾选上开发工具包和gn ...
修改/etc/X11/xinit/Xclients 启动Firefox桌面 # now if we can reach here, either no desktop file was present, # or the desktop requested is not installed. #if [ -n "$GSESSION" ]; then # by default, we run GNOME. #exec "$GSESSION" #elif [ -n "$STARTKDE" ]; then ...
chmod +s /sbin/halt chmod +s /sbin/reboot 则非superuser也可执行reboot python脚本: import os os.system('reboot')
使用vsftpd。 1、终端命令:yum -y install vsftpd,这样将会自动在网上down and setup   vsftpd。 2、创建ftp用户组及用户:    $ groupadd ftpgroup    $ useradd ftpuser -g ftpgroup    $ passwd ftpuser 码密 3. vi /etc/vsftpd/vsftpd.conf local_enable = YES write_enable = YES chroot_local_user = YES #如不设置,可能会引入无法上传文件的错误 local_root = ...
scratchbox介绍 Scratchbox is a configuration and compilation environment for building Linux software and entire Linux distributions. The basic idea of Scratchbox is to offer developers an environment that works and looks like the target environment before the target environment is available. 安装,配置scr ...
error: scratchbox is not properly set up. Scratchbox uses bind mounts to mount directories like /scratchbox to the user directories. You haven't started scratchbox properly, /scratchbox/sbin/sbox_ctl start should make it work
Global site tag (gtag.js) - Google Analytics