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 PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>Graphics | JavaScript Testing Results</title> | |
<link rel="stylesheet" href="screw.css" type="text/css" charset="utf-8" /> | |
<script type="text/javascript" src="../../../vendor/plugins/blue-ridge/lib/blue-ridge.js"></script> | |
</head> | |
<body> |
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
<% #erb file %> | |
<%= link_to_next_page @pages, 'Next Page' %> | |
<% #or %> | |
<%= paginate @pages %> |
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
worker: bundle exec rake jobs:work |
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
class GreedScorer | |
def initialize(dice) | |
@dice = dice | |
end | |
def score | |
the_1000_point_score + other_triple_score + score_for_ones + score_for_fives | |
end | |
private |
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
#!/usr/bin/env bash | |
# This is an RVM Project .rvmrc file, used to automatically load the ruby | |
# development environment upon cd'ing into the directory | |
# First we specify our desired <ruby>[@<gemset>], the @gemset name is optional. | |
environment_id="ruby-1.9.3-p0@TheOregonTwail" | |
# | |
# Uncomment following line if you want options to be set only for given project. |
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
<!-- Outer div and envelopes are just to separate the two distinct HTML snippets, and will be thrown away --> | |
<div> | |
<span class="thumbnail-videos-envelope"> | |
<video id="bg-3"></video> | |
<video id="bg-4"></video> | |
</span> | |
<span class="background-videos-envelope"> | |
<video id="bg-3"></video> | |
<video id="bg-4"></video> | |
</span> |
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
<html> | |
<head></head> | |
<body> | |
<ul id="thumbnail-container" > | |
<li><video id="thumb-1"></video></li> | |
<li><video id="thumb-2"></video></li> | |
</ul> | |
<video id="bg-1"></video> | |
<video id="bg-2"></video> | |
</body> |
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
#gemfile snippet for adding refinery 2.0.8 to rails 3.2.8 app | |
gem 'rails', '3.2.8' | |
#... | |
#refinery dependencies | |
gem 'refinerycms', '2.0.8' | |
gem 'refinerycms-blog', '~> 2.0.0' | |
gem 'will_paginate' |
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
class EnableCors | |
def initialize(app) | |
@app = app | |
end | |
def call(env) | |
requesting_host = env["HTTP_ORIGIN"] | |
cors_headers = {} | |
cors_headers['Access-Control-Allow-Origin'] = "#{requesting_host}" | |
cors_headers['Access-Control-Request-Method'] = "GET, PUT, DELETE, POST, OPTIONS" |
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
<VirtualHost *:80> | |
LoadModule passenger_module /home/josh/.rvm/gems/ruby-1.9.3-p327/gems/passenger-3.0.18/ext/apache2/mod_passenger.so | |
PassengerRoot /home/josh/.rvm/gems/ruby-1.9.3-p327/gems/passenger-3.0.18 | |
PassengerRuby /home/josh/.rvm/wrappers/ruby-1.9.3-p327/ruby | |
ServerName subdomain.domain.com | |
RailsEnv staging | |
RackBaseURI /suburi/app | |
DocumentRoot /var/www/vhosts/subdomain.domain.com/current/public | |
<Directory /var/www/vhosts/subdomain.domain.com/current/public > | |
Options Indexes FollowSymLinks |
OlderNewer