自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 使用rmagick读取数码图片的exif信息

image = Magick::Image.read( "my_picture.jpg" ).first puts image["Exif:DateTime"] puts image["Exif:Make"] puts image["Exif:Model"] puts image["Exif:ExposureTime"] puts image["Exif:FocalLengt

2008-12-04 17:14:00 409

原创 mongrel 命令

start command: /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production -a 10.10.10.60 -c /export/web/trs3 --user mongrel --group mongrel -p 8019 -P /export/web/trs3/log/mongrel.8019.pi

2008-10-31 20:45:00 307

转载 PHP & MySQL on Leopard: mysql.sock 的位置

One thing I noticed setting up PHP and MySQL on Leopard, is that the default PHP build looks for the MySQL socket in /var/mysql/mysql.sock which doesn’t exist and isn’t the location that MySQL would u

2008-10-23 20:56:00 547

转载 李一男2003年在港湾给开发人员培训时的语录

李一男2003年在港湾给开发人员培训时的语录:【1】好好规划自己的路,不要跟着感觉走!根据个人的理想决策安排,绝大部分人并不指望成为什么院士或教授,而是希望活得滋润一些,爽一些。那么,就需要慎重安排自己的轨迹。从哪个行业入手,逐渐对该行业深入了解,不要频繁跳槽,特别是不要为了一点工资而转移阵地,从长远看,这点钱根本不算什么,当你对一个行业有那么几年的体会,以后钱根本不是问题。频繁地动荡不是上策,最

2008-10-22 22:09:00 463

转载 开源数据库 Sharding 技术 (Share Nothing)

从 Shard 到 Sharding"Shard" 这个词英文的意思是"碎片",而作为数据库相关的技术用语,似乎最早见于大型多人在线角色扮演游戏(MMORPG)中。"Sharding" 姑且称之为"分片"。Sharding 不是一门新技术,而是一个相对简朴的软件理念。如您所知,MySQL 5 之后才有了数据表分区功能,那么在此之前,很多 MySQL 的潜在用户都对 MySQL 的扩展性有所顾虑,而

2008-10-22 18:11:00 292

转载 include, extend, module_eval, class_eval 比较

Ruby is fun. However it took me a while to understand varioussemantics like include, extend, module_eval, class_eval. It all getsconfusing in the beginning. Here are series of cases illustrating t

2008-10-21 17:12:00 601

转载 Running Background Jobs in Ruby on Rails Revisited

The Ruby on Rails framework has a number of tools for running your code outside of the web-request, including the venerablescript/runner for one-off tasks, but using them can be a little heavy on your

2008-08-29 20:26:00 424

转载 重要的软件包BackgroundFu

参考文献http://trix.pl/blog/ruby-on-rails/running-long-background-tasks-in-ruby-on-rails-made-dead-simplehttp://wiki.rubyonrails.org/rails/pages/HowToRunBackgroundJobsInRailshttp://agilewebdevelopment.com

2008-08-29 20:20:00 263

转载 jQuery使用手册

  jQuery是一款同prototype一样优秀js开发库类,特别是对css和XPath的支持,使我们写js变得更加方便!如果你不是个js高手又想写出优 秀的js效果,jQuery可以帮你达到目的!   下载地址:Starterkit (http://jquery.bassistance.de/jquery-starterkit.zip)                       jQuery

2008-08-29 14:38:00 358

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除