`
hot88zh
  • 浏览: 178837 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
We’re pretty obsessed with performance at Gilt Groupe . You can get a taste for what we’re dealing with, and how we’re dealing with it, from our recent presentation at RailsConf .   One of the techniques we’re using is to precompute what certain high-volume pages will look like at a g ...
域名注册后就要开始进行对域名进行解析,否则域名还是无法使用 1. 一个新域名应该设置哪些必须的解析:(以xxx.com 这个域名为例) A: 设置 WWW 子域名 的CNAME 指向 到 网站所在服务器。 这样别人可以 http://www.xxx.com  访问到网站。 B:  做URL转发,做根域名转发到 www子域名. 将xxx.com 转发到 http://www.xxx.com  . 如果这个不设.,会导致 http://xxx.com  无法访问. C: 设置 mail 子域名 CNAME 指向 到 邮箱所在服务器。  你可以无需设置 PoP和Smt ...
具体方法参照Robbin的这篇文章~~http://www.iteye.com/topic/43228   我就说说自己遇到的问题:   问题1:pcre库没有安装,导致配置lighttpd出现错误。 解决方法: ①wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-7.6.tar.bz2,从官方下 ...
1、前言     最近学习Ruby on Rails,在建立开发环境的时候遇到了很多问题,现将其步骤贴出来,紧供参考,希望能帮助新手们小走弯路;如有不妥之处,欢迎指点;环境如下:       操作系统:debian,内核:2.6.18       Ruby:1.8.6       Rails:2.0.2       gem:1.1.1       数据库:mysql       编辑工具:vim   以下步骤均使用具有管理员权限(root)的用户进行   2、设置debian的apt源     安装debian并设置好网络,确保系统能访问i ...
今儿把很古老的Rails1.2.6升级到了2.2.2,还好做了很充分的心理准备,呵呵,果然出了很多错误~   先说说升级的步骤吧~   1、卸载Rails1.2.6 gem uninstall rails  然后安装新的Rails,由于是最新版本,所以不用加版本号,直接输入 gem install rails  耐心等待……   2、更新gem gem update --system   3、Rails2.2.2已经把Mysql驱动默认移除了,所以还需要手动安装Mysql驱动 gem install mysql     Mysql安装过程中,文档安装可能会出现错误,但是不影响好像……   4、进 ...
<style type="text/css"> .tdclass {font-size: 9pt; padding: 4px} </style> <table cellspacing="0" cellpadding="0" border="0" align="center" bordercolor="white"> <tr align="center" bgcolor="#7BA5CE"> ...
<Script LANGUAGE="JavaScript"> var months = new Array("一", "二", "三","四", "五", "六", "七", "八", "九","十", "十一", "十二"); var daysInMonth = new Array(31, 28, 31, 30, 31, ...
<a target=_self href="javascript:goUrl()"> <span class="f14b"> <script type="text/javascript"> imgUrl1="http://www.webjx.com/img/200406301.jpg"; imgtext1="网页教学网制作素材" imgLink1=escape("http ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"> <!-- saved from url=(0026)http://www.beijing2008.cn/ --> <HTML lang=zh-CN xml:lang="zh-CN" xmlns="http://www.w3.org/1999/xhtml ...
<html> <head> <title>新浪的图片新闻效果webjx.com</title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> </head> <body bgcolor="#FFFFFF" text="#000000"> <p>&nbsp;</p> <p> < ...
Introduction Now that the OpenSocial REST API and the Shindig implementation is stabilizing, we can finalize the SocialSite REST API – which is OpenSocial plus our extensions that support friending, groups, enchanced search and gadget management. This proposal presents a way to do that. Currently, o ...
I am getting frustrated by the number of people calling any HTTP-based interface a REST API. Today’s example is the SocialSite REST API. That is RPC. It screams RPC. There is so much coupling on display that it should be given an X rating.   What needs to be done to make the REST architectural style ...
一、安装Ruby、rails、mongrel和Apache2.2   从rubyforge网站下载One-Click Ruby Install,运行安装程序,就安装好了ruby和rubygems。   运行命令: gem install rails –y gem install mongrel –y gem install mongrel_service -y 安装好了rails和mongrel   从Apache网站下 ...
ruby on rails推荐的生产运行环境是Linux/FreeBSD/Unix,即Unix系列的操作系统,采用lighttpd+FCGI的解决方案。以下我将以Linux操作系统,lighttpd+FCGI,MySQL数据库为例,从源代码编译安装开始讲解。   在安装之前,应该确认Linux操作系统 ...
国内: http://www.railschina.com/ www.123server.cn http://www.35.com http://www.8-host.net http://www.londit.cn/ 国外: http://mediatemple.net/推荐 http://railsplayground.com/ http://www.bluehost.com http://www.hostgator.com/ http://www.rubyonrailswebhost.com/ http://www.ipower.com/ipower/lp/spring-special-2 ...
Global site tag (gtag.js) - Google Analytics