Instantly share code, notes, and snippets.

@isaiah /Gemfile
Last active Aug 29, 2015

What would you like to do?
Bootsrap haml navbar & fixed footer layout
@import "bootstrap-sprockets";
@import "bootstrap";
/* Sticky footer styles
-------------------------------------------------- */
html {
position: relative;
min-height: 100%;
body {
/* Margin bottom by footer height */
margin-bottom: 60px;
.footer {
position: absolute;
bottom: 0;
width: 100%;
/* Set the fixed height of the footer here */
height: 60px;
background-color: #f5f5f5;
/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */
body > .container {
padding: 60px 15px 0;
.container .text-muted {
margin: 20px 0;
.footer > .container {
padding-right: 15px;
padding-left: 15px;
code {
font-size: 80%;
%title Jobhunter
%meta(http-equiv="X-UA-Compatible" content="IE=edge")
%meta(name="viewport" content="width=device-width, initial-scale=1")
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
= javascript_include_tag 'application', 'data-turbolinks-track' => true
= csrf_meta_tags
/ HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries
/ WARNING: Respond.js doesn't work if you view the page via file://
/ [if lt IE 9]
<script src=""></script>
<script src=""></script>
<!-- Fixed navbar -->
%button.navbar-toggle.collapsed(type='button' data-toggle='collapse' data-target='.navbar-collapse') Toggle navigation
%a.navbar-brand(href="#") Job Hunting
%a(href="#") Home
%a.dropdown-toggle(href="#" data-toggle="dropdown")
%a(href="#") Action
%a(href="#") Another Action
%li.dropdown-header Nav header
%a(href="#") Separated link
<!-- Begin page content -->
%h1 Job Hunter
= yield
%p.text-muted &copy; 2014 Isaiah Peng
source ''
gem 'react-rails', '~> 1.0.0.pre', github: 'reactjs/react-rails'
gem 'haml-rails'
gem 'bootstrap-sass'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.0.beta1'
# Use postgresql as the database for Active Record
gem 'pg'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0.0.beta1'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for assets and views
gem 'coffee-rails', '~> 4.0.0'
# See for more supported runtimes
# gem 'therubyracer', platforms: :ruby
# Use jquery as the JavaScript library
gem 'jquery-rails'
# Turbolinks makes following links in your web application faster. Read more:
gem 'turbolinks'
# Build JSON APIs with ease. Read more:
gem 'jbuilder', '~> 2.0'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 0.4.0', group: :doc
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'
# Use Rails Html Sanitizer for HTML sanitization
gem 'rails-html-sanitizer', '~> 1.0'
# Use Unicorn as the app server
gem 'unicorn'
# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development
group :development, :test do
# Call 'debugger' anywhere in the code to stop execution and get a debugger console
gem 'byebug'
# Access an IRB console on exceptions page and /console in development
gem 'web-console', '~> 2.0.0.beta2'
# Spring speeds up development by keeping your application running in the background. Read more:
gem 'spring'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment