- 浏览: 150121 次
- 性别:
- 来自: 北京
-
最新评论
文章列表
http://blog.objectgraph.com/index.php/2010/02/24/how-to-use-touch-json-and-sbjson/
http://stackoverflow.com/questions/286087/best-json-library-to-use-when-developing-an-iphone-application
I will show how to use each of these libraries to decode JSON code in this post.
Touch JSON:
Include the follo ...
http://blog.objectgraph.com/index.php/2010/03/20/nsmutabledictionary-example-iphone-app-development-basics-in-objective-c/
NSMutableDictionary *dict = [[NSMutableDictionary alloc] init];
[dict setObject:@"John" forKey:@"Firstname"];
[dict setObject:@"Doe" forKey:@&qu ...
http://stackoverflow.com/questions/286207/how-to-get-a-phone-number-from-an-address-book-contact-iphone-sdk
http://blog.objectgraph.com/index.php/2010/04/09/how-to-add-coverflow-effect-on-your-iphone-app-openflow/
http://blog.objectgraph.com/index.php/2010/04/20/encrypting-decrypting-base64-encode- ...
Using NSUserDefaults
Here is a quick reference for some of the things you can do with NSUserDefaults
Saving
NSUserDefaults *prefs = [NSUserDefaults standardUserDefaults];
// saving an NSString
[prefs setObject:@"TextToSave" forKey:@"keyToLookupString"];
// saving an NS ...
http://www.raywenderlich.com/725/how-to-read-and-write-xml-documents-with-gdataxml
http://www.raywenderlich.com/553/how-to-chose-the-best-xml-parser-for-your-iphone-project
1 Integrating GDataXML
You can integrate GDataXML into a new project with a few easy steps:
* Choose Project\New Project ...
http://geekswithblogs.net/TimH/archive/2006/01/19/66396.aspx
IE supports provides a half-baked implementation of the non-standard attribute 'disabled' on anchor tags (ie it changes it's color -even though it does not actually disable the anchor (if it has an href value). Firefox does not provide an ...
瞒宝贵的。
备注下
jCarousel Riding carousels with jQuery
jCarousel jQuery跑马灯插件
thickbox
Create a Custom jQuery Image Gallery with jCarousel
jCarousel使用说明文档(中文)
jQuery图片文本滚动切换插件jCarousel中文翻译与详解
有用的技术文章 先记载 有空 研究下
さくっとRails on Google App Engineをはじめる
複数のRubyを切り替えて使いこなす
Railsをさらに加速するテクノロジー「Ruby Enterprise Edition」
Mac OSX向けのRubyインストーラー「Ruby One-Click Installer for OSX」
Building a Social Network Site in Rails
引用网址
http://duyouhua1214.iteye.com/blog/543007
http://atomgiant.com/2006/07/19/resizing-images-with-minimagick/
http://odyniec.net/projects/imgareaselect/usage.html
http://odyniec.net/projects/imgareaselect/examples.html
1 install gem
gem install mini_magick
2 envirmoment [#iacf9090]
require ...
gem相关命令使用
1.显示gem的帮助和版本
gem –h/--help
#显示gem的帮助
gem –v /--version
#显示gem的版本号
2. 列出远程库的所有可用软件
gem query --remote
# 短命令: gem q -r
你可以看到一个关于远程主机上所有软件的详细列表。
3. 查找远程主机上的特定软件
gem query --remote --name-matches doom
# 短命令: gem q -rn doom
你将看到一个匹配doom的详细列表。
gem list –remote --d
#用子命令list列出远程安装的 ...
http://blackanger.blog.51cto.com/140924/355102
1. alias
Ruby里的关键字,用于定义方法或者全局变量的别名。 例子:
class A
def m1
puts "m1"
end
alias m2 m1
end
=> nil
a = A.new
=> #<A:0xb7ef5234>
a.m1
m1
=> nil
a.m2
m1
=> nil
在使用的时候,注意原有的方法名在最后位置,用空格分开 ...
真的想留下来
http://railslove.com/weblog/2010/02/02/on-the-way-to-rails-3-a-link-list/
http://rizwanreza.com/2009/12/20/revamped-routes-in-rails-3
http://m.onkey.org/2010/1/22/active-record-query-interface
http://blog.plataformatec.com.br/2010/02/rails-3-i18n-changes/
http://rails-bestpractices.com/posts/29-fix-n-1-queries
N+1 Queries is a serious database performance problem. Be careful of that situation! If you're not sure, I recommend you install http://github.com/flyerhzm/bullet
plugin, which helps you reduce the number of queries with alerts (and growl).
S ...
http://bugs.mysql.com/bug.php?id=40542
http://dev.mysql.com/doc/refman/5.1/en/news-5-1-28.html
[6 Nov 2008 10:20] Shane Bester
Description:
According to the 5.1.28 change history, profiling feature should be included.
Solaris build contained the feature, but not windows build:
on windows 5.1.28:
...
引用网址
http://github.com/dsboulder/query_reviewer
http://code.google.com/p/query-reviewer/
项目很大 经常要分析数据库 看查询时间
这个插件不仅是分析数据库 还可以在页面上修改 方便测试人员和编码人员
1 拷贝附件
\vendor\plugins\文件夹下
2 rake query_reviewer:setup
完毕
英文简介
README
QueryReviewer
=============
QueryReviewer is an advanced SQL query analyz ...