This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1 id="edit_the_">Edit the <%= @line.name %></h1> | |
<%= form_for @line do |form| %> | |
<%= form.label :name, "Name of this train" %> | |
<%= form.text_field :name %> | |
<%= form.label :frequency, "Frequency of this train line" %> | |
<%= form.text_field :frequency %> | |
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en-US"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Testing Shit</title> | |
<link rel="stylesheet" href="style.css"> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> | |
</head> | |
<body> | |
<h1>Yeah, Let's get this party started.</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE pg_database SET datallowconn = TRUE where datname = 'template0'; | |
\c template0 | |
UPDATE pg_database SET datistemplate = FALSE where datname = 'template1'; | |
drop database template1; | |
create database template1 with template = template0 encoding = 'UNICODE' LC_CTYPE = 'en_US.UTF-8' LC_COLLATE = 'C'; | |
UPDATE pg_database SET datistemplate = TRUE where datname = 'template1'; | |
\c template1 | |
UPDATE pg_database SET datallowconn = FALSE where datname = 'template0'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
$script = <<SCRIPT | |
echo 'export LC_ALL=en_US.UTF-8' >> /etc/bash.bashrc | |
echo 'export LANG=en_US.UTF-8' >> /etc/bash.bashrc | |
echo 'export LANGUAGE=en_US.UTF-8' >> /etc/bash.bashrc | |
echo 'export RAILS_ENV=production' >> /etc/bash.bashrc | |
SCRIPT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'https://rubygems.org' | |
ruby "2.0.0" | |
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | |
gem 'rails', '4.0.1' | |
# Use sqlite3 as the database for Active Record | |
gem 'sqlite3' | |
# Use SCSS for stylesheets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<meta name="viewport" content="width=device-width, initial-scale=1"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.GridOverlay = (vHeight = 18, canvasId = "gridOverlayCanvas")-> | |
window.console.log("working") | |
new_canvas = document.createElement("canvas") | |
new_context = new_canvas.getContext("2d") | |
new_canvas.id = canvasId | |
this.setCanvasDimensions = -> | |
new_canvas.width = document.body.offsetWidth | |
new_canvas.height = document.body.offsetHeight |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%h1 HTML Ipsum Presents | |
%h2 Test text, this will likely wrap a few lines to ensure we can test the line height | |
%h3 Test text, this will likely wrap a few lines to ensure we can test the line height | |
%h4 Test text, this will likely wrap a few lines to ensure we can test the line height | |
%h5 Test text, this will likely wrap a few lines to ensure we can test the line height | |
%h6 Test text, this will likely wrap a few lines to ensure we can test the line height | |
%p <strong>Pellentesque habitant morbi tristique</strong> senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. <em>Aenean ultricies mi vitae est.</em> Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, <code>commodo vitae</code>, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Alabama | |
Alaska | |
Arizona | |
Arkansas | |
California | |
Colorado | |
Connecticut | |
Delaware | |
Florida | |
Georgia |
OlderNewer