`
tongjian
  • 浏览: 44283 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
破解了resin4 pro
A better way to deal with this kind of thing is with a two-phase fetch. So instead of directly caching an array of event data, instead cache an array of event IDs. Query that list, then use it construct a list of the keys of individual event objects you want to fetch, then multi-get that list of keys ...
编译apache 编译resin 编译jdk apache 1. 修改 <Directory /> Options FollowSymLinks AllowOverride None </Directory> 2.加缓存 <IfModule mod_expires.c> ExpiresActive on ExpiresDefault "access plus 1 minutes" ExpiresByType text/html "access plus 1 days" ...
Big Endian and Little Endian     谈到字节序的问题,必然牵涉到两大CPU派系。那就是Motorola的PowerPC系列CPU和Intel的x86系列CPU。PowerPC系列采用big endian方式存储数据,而x86系列则采用little endian方式存储数据。那么究竟什么是big endian,什么又是little endian呢?     其实big endian是指低地址存放最高有效字节(MSB),而little endian则是低地址存放最低有效字节(LSB),即常说的低位在先,高位在后。     用文字说明可能比较抽象,下面用图像加以 ...
ulimit -n 4096  也就是限制用户的最大文件打开数为4096个  在网上查了关于怎么查看文件打开数的文章大致有两种说法  /proc/sys/fs/file-nr  该文件与 file-max 相关,它有三个值:  已分配文件句柄的数目  已使用文件句柄的数目  文件句柄的最大数目  该文件是只读的,仅用于显示信息。  查看所有进程的文件打开数  lsof |wc -l  查看某个进程打开的文件数  lsof -p pid |wc -l
resin3.1.7a  resin3.1.8 resin2.1 本版与 apache2.2.11 整合有问题。根本不转发请求到resin那去。不知道怎么搞的. 今天又花了好长时间配置apache2.1.11+resin3.1.5的master-slave模式。 resin文档: resin.xml <resin xmlns="http://caucho.com/ns/resin" ...
srun是旧的用法,resin3.0以后都用server! Hello All, Still working on my Apache/Resin issues and looking through the docs I found : http://caucho.com/resin-3.1/doc/install-apache.xtp#Configuring%20resin.conf In the wild I have seen both this: <cluster>       <srun server-id="" host=" ...
http://www.kindsoft.net/index.php http://tinymce.moxiecode.com/ http://madedit.sourceforge.net/wiki/index.php/Main_Page
memcached 完全剖析 :  http://tech.idv2.com/2008/07/10/memcached-001/   很不错 缓存系统MemCached的Java客户端优化历程  http://www.infoq.com/cn/articles/memcached-java   AOP的实现方案   http://www.iteye.com/topic/28700 存储原理  http://huangxx.iteye.com/blog/178871 Distributed Caching with Memcached    http://www.linuxjou ...
<!--  Resin 3.1 配置文件. -->   <resin xmlns="http://caucho.com/ns/resin" xmlns:resin="http://caucho.com/ns/resin/core">     <!-- 加载resin/lib下的所有.jar文件-->     <class-loader>       <tree-loader path="${resin.home}/lib"/>       <tree-load ...
避免任何用户都可su到root,只有wheel组的成员才可以su 到root。 vi /etc/pam.d/su 取消注释:"auth required /lib/security/%ISA/pam_wheel.so use_uid"   添加用户到wheel组   vi /etc/group 添加用户到对应组的行  
详述机票搜索的实现原理   相比于传统搜索,垂直搜索有其独到的优势,一方面是及时性,其次是信息组织的规整。 机票搜索的实现原理可以概括为:后台抓取+ 前端展示。 大家现看一个例子: http://jipiao.wendoo.com 。 下面就 ...
路径/mysqldump --default-character-set=utf8 --opt --extended-insert=false --triggers -R --hex-blob --single-transaction -uroot -p dbname >backup.sql      指定表:mysqldump -u user -p db tab1 tab2 > db.sql 恢复:mysql -u user -p db < db.sql

xml schema

A Simple XML Document <?xml version="1.0"?> <note> <to>Tove</to> <from>Jani</from> <heading>Reminder</heading> <body>Don't forget me this weekend!</body> </note>   <?xml version="1.0"?> <xs:schema xmlns:xs= ...
Any valid HTTP headers can be put in these files. This provides another way to apply the Expires header, and it's a way to add the Cache-Control headers. The relevant Cache-Control headers are: Cache-Control : max-age = [delta-seconds]     Modifies the expiration mechanism, overriding the Expires hea ...
Global site tag (gtag.js) - Google Analytics