Skip to content

Instantly share code, notes, and snippets.

@johnable
johnable / Rails_new_todo.md
Created June 11, 2012 02:23 — forked from solotimes/Rails_new_todo.md
Rails new todo
@johnable
johnable / rails3-mongoid-omniauth-template.rb
Created July 3, 2012 03:42
web template(mongoid 3.0)
#https://raw.github.com/RailsApps/rails3-application-templates/master/rails3-mongoid-omniauth-template.rb
# >----------------------------[ Initial Setup ]------------------------------<
initializer 'generators.rb', <<-RUBY
Rails.application.config.generators do |g|
end
RUBY
@recipes = ["haml", "mongoid", "rspec", "guard", "omniauth", "home_page", "cleanup", "git"]
@johnable
johnable / 0_reuse_code.js
Last active August 29, 2015 14:10
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
##Amalgam CMS v3.x新建项目指南
###1. 从模板新建:
包含表单的版本:
git clone [email protected]:xtunes/cms_template.git -b with_request 项目名称
不包含表单的版本:
git clone [email protected]:xtunes/cms_template.git 项目名称