Skip to content

Instantly share code, notes, and snippets.

@stephenkey
stephenkey / iptables-redirect
Created August 30, 2013 17:37
Forward port 80 to port 3000 for testing rails apps without appending the port.
sudo iptables -t nat -I OUTPUT -p tcp -d 127.0.0.1 --dport 80 -j REDIRECT --to-ports 3000
name: "Starter Website"
nav:
archive: 'Archive'
more:
second: "Second Link"
third: "Third Link"
footer:
archive: 'Archive'
contact: 'Contact'
name: "Full Demo Website"
layout: "basic"
comments: true
title: "This is a demo website generated from GitFrame."
theme: tech
css: 'http://cdn.example.com/assets/style.css'
nav:
home: 'Home'
about: 'About Us'
archive: 'Archive'
name: "Starter Website"
pages:
-
name: "Starter Page"
sections:
feature_hero: default
section_text: default
section_image: default
name: "My Website"
pages:
-
name: "Starter Page"
sections:
feature_hero:
title: 'Welcome to my site'
section_text: default
section_image: default
# File name 'starter.yml' will show up at /username/starter
# The sites name, used in branding sections.
name: "Getting Started Mockup" # required
# Only basic layout available now,
# dashboard and multiple columns coming.
layout: "basic" # optional
# Adds a GitFrame bar at the bottom of site
pages:
-
name: "Welcome Page"
sections:
# Each section accepts default
feature_hero: default
# or available options
section_text:
pages:
-
# This is a list of content and options for nav_
name: "Navigation"
sections:
nav_bar:
welcome: 'Welcome To Acme'
second_page: 'Our Second Page'
more:
third: "Third Link"
name: "Mobile App"
toolbar: false
description: "Example of a mobile application landing page."
css: 'https://s3.amazonaws.com/gitframe/examples/mobile-app-landing/mobile-app.css'
pages:
-
name: "First Page"
sections:
feature_hero_full:
title: 'MobileApp'
.fb {
fill: #3b5998;
}
.tw {
fill: #1ab1e8;
}
.gp {
fill: #efaf25;