原创 如何使用Flex Pause Effect

<?xml version="1.0" encoding="utf-8"?><!-- Simple example to demonstrate the Pause effect. --><!-- 如何使用Flex Pause Effec

原创 如何使用Flex WipeUp Effect

<?xml version="1.0"?><!-- Simple example to demonstrate the WipeUp effect. --><!-- 如何使用Flex WipeUp Effect MyShareBook.c

原创 如何使用Flex SoundEffect

<?xml version="1.0"?><!-- Simple example to demonstrate the SoundEffect effect. --><!-- 如何使用Flex SoundEffect MyShareBoo

原创 如何使用Flex Rotate Effect

<?xml version="1.0" encoding="utf-8"?><!-- Simple example to demonstrate the Rotate effect. --><!-- 如何使用Flex Rotate Eff

原创 如何使用Flex WipeRight Effect

<?xml version="1.0"?><!-- Simple example to demonstrate the WipeRight effect. --><!-- 如何使用Flex WipeRight Effect MyShare

原创 如何使用Flex Move Effect

<?xml version="1.0"?><!-- Simple example to demonstrate the Move effect. --><!-- 如何使用Flex Move Effect MyShareBook.cn 翻譯

原创 如何使用Flex WipeDown Effect

<?xml version="1.0"?><!-- Simple example to demonstrate the WipeDown effect. --><!-- 如何使用Flex WipeDown Effect MyShareBo

原创 Rails2.2以上Mysql安裝問題

Rails2.2以上版本安裝Mysqlsudo gem install mysql報如下錯誤:Building native extensions. This could take a while...E

原创 NoMethodError (undefined method `file_exists?’ for #<ActionView::Base:

NoMethodError (undefined method `file_exists?’ for #<ActionView::Base:0x2aaaac3eee10>):/usr/lib64/ruby/

原创 看看你有沒有充分利用Rake命令

在你的Rails根目錄下運行:rake --task看看以下的命令用過多少,我用的不是很多,看來還沒有充分利用Rake命令來提升開發效率。(in /home/shetty/Documents/ework/t

原创 淺析Ruby on Rails部署方案(一)

前言2006初,我接到了公司分配的一個遺留項目,讓我負責一個基於C/S的系統的服務器端。其實是系統是基於HTTP協議的,因爲負責客戶端的同事對於服務器端編程不甚瞭解,雖然使用PHP對熟悉C++的他來說是駕輕

原创 The entity name must immediately follow the '&' in the entity ref erence

在mxml文件中,使用&符號報錯:mysharebook.cn && 4star.cn ? pass : fail改爲如下代碼就好了:mysharebook.cn && 4star.cn ? pass :

原创 淺析Ruby on Rails部署方案(三)

測試結果HAproxy和Lighttpd的測試需要調整很多參數,我們先看看無需調整參數的幾種方案的測試結果,我同樣除了原始數據的折線圖,還會給出B樣條的圖以更清晰地看到結果:從圖上我們看到Nginx+Mon

原创 淺析Ruby on Rails部署方案(二)

Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/tewikico/pu

原创 in `require_frameworks': no such file to load -- openssl

/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:259:in `require_frameworks': no such file to load -- openssl