Skip to content

Instantly share code, notes, and snippets.

# 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`
@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