Skip to content

Instantly share code, notes, and snippets.

@CJYate
CJYate / foundation_menu.rb
Created February 5, 2016 22:29 — forked from jess/foundation_menu.rb
Use foundation top bar menu in Refinery CMS
# app/models/foundation_menu
class FoundationMenu < Refinery::Pages::MenuPresenter
private
def render_menu(items)
content_tag(:section, :id => "nav", :class => 'top-bar-section') do
render_menu_items(items)
end
end
# Put this in your .gitconfig file under the alias section
orphank = !gitk --all `git reflog | cut -c1-7`&
# Then run it by typing 'git orphank' on the command line.
# A text version of the same is
orphanl = !git log --pretty=oneline --abbrev-commit --graph --decorate `git reflog | cut -c1-7`
Successfully installed rails-4.1.9
1 gem installed
Successfully installed execjs-2.2.2
1 gem installed
create
create README.rdoc
create Rakefile
create config.ru
create .gitignore
create Gemfile
@CJYate
CJYate / bootstrapApplication.css
Created January 16, 2015 13:06
Bootstrap-sprockets.js can't be found
@import "bootstrap-sprockets";
@import "bootstrap";