robbin / robbin_site Goto Github PK
View Code? Open in Web Editor NEWrobbin's website
robbin's website
hi.
as3:/robbin_site# thin start/robbin_site# ls
No adapter found for /root/robbin_site
as3:
app db lib public Rakefile test
config Gemfile locale puma.sh README.md TODO
config.ru Gemfile.lock models rainbows.sh stat_codes.sh zbatery.sh
as3:/robbin_site# ./zbatery.sh start/robbin_site#
as3:
Hi robbin!
I'm learning ruby in recent month, and i found the open source project about ruby in here. thanks for your share.
I has cloned the source code from github,but i couldn't ran this project in my vm.
enviorment:
centos 6.2 with epel source / ruby-1.9.3-p327 / gem-1.8.25 / mysql-5.6 /memcached-1.4.15
some mistakes made by command like this:
bundle exec rake secret
bundle exec rake ar:migrate
...
the error message:
Could not find mysql2-0.3.11 in any of the sources
Run `bundle install` to install missing gems.
But i executed some commands according to the error message like this:
bundle install # the command is ok
gem install mysql2 # the command make some error message like this:
Gem files will remain installed in /usr/local/rvm/gems/ruby-1.9.3-p327/gems/mysql2-0.3.11 for inspection.
Results logged to /usr/local/rvm/gems/ruby-1.9.3-p327/gems/mysql2-0.3.11/ext/mysql2/gem_make.out
Do you give me some advice? thanks a lot
http://robbinfan.com/ 这个网址是您的博客网址,当然可以正常开启。
但是,http://www.robbinfan.com/ 这个网址呢,打开后显示 Welcome to nginx!
我看了下您的 nginx.conf 文件里的内容,这两个网址都是您的域名。
CSS感觉比较乱,不够优雅^_^
stylesheet_link_tag did not generate asset timestamp out of stylesheets directory
<%= stylesheet_link_tag '/skins/default/document', '/skins/default/content' %>
<%= stylesheet_link_tag '/skins/default/github', 'hightlight/github.min' %>
output:
<link href="/skins/default/document.css" media="screen" rel="stylesheet" type="text/css" />
<link href="/skins/default/content.css" media="screen" rel="stylesheet" type="text/css" />
<link href="/skins/default/github.css" media="screen" rel="stylesheet" type="text/css" />
<link href="/stylesheets/hightlight/github.min.css?1361078060" media="screen" rel="stylesheet" type="text/css" />
robbin你好,我在写自己博客的时候参照了你的一个写法
error ActiveRecord::RecordNotFound do
halt 404
end
然而这个写法实际上无法捕获错误,我在你线上的博客上测试了一下,输入了一个不存在的文章id
并没有返回友好错误提示,翻了很久padrino的文档也没找到关于RecordNotFound的处理,想请教一下这个问题应该如何解决呢?
在安装数据库的时候出现You have already activated i18n 0.6.1, but your Gemfile requires i18n 0.6.4. Using bundle exec may solve this。
我是做phper, 本来很多是联表查询的,现在改成单表查询后,在遍历查询其他表信息。 一个列表页面,需要执行的sql 要达到 800多条,时间要2秒钟左右。 后来查询原因 是网络io 开销太大了, 800条来来回回,所有碰到这个问题。 我的qq:3314308761
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.