Skip to content

Instantly share code, notes, and snippets.

View eaglerockdude's full-sized avatar

ken mcfadden eaglerockdude

View GitHub Profile
@eaglerockdude
eaglerockdude / app.html.haml_template
Created June 30, 2015 18:25
rails application.html.haml template
!!! 5
%html
%head
%title Recipe App
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
= javascript_include_tag 'application', 'data-turbolinks-track' => true
= csrf_meta_tags
%body
%nav.navbar.navbar-default
@eaglerockdude
eaglerockdude / locatedbupdate
Created June 25, 2015 04:01
update the locate db for a mac
sudo /usr/libexec/locate.updatedb
@eaglerockdude
eaglerockdude / set_git_remote
Last active August 29, 2015 14:23
change git remote for something you cloned to your repo
git remote set-url origin https://github.com/YOUR_GITHUB_USERNAME/clonedname.git
@eaglerockdude
eaglerockdude / application.html.haml
Created April 22, 2015 01:59
Rails Application Layout in HAML with navbar
!!! 5
%html
%head
%title Recipe App
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
= javascript_include_tag 'application', 'data-turbolinks-track' => true
= csrf_meta_tags
%body
%nav.navbar.navbar-default