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
server { | |
listen 80; | |
server_name nirri.us www.nirri.us nirrius.com www.nirrius.com; | |
access_log <%= node[:nginx][:log_dir] %>/localhost.access.log; | |
location / { | |
proxy_pass http://127.0.0.1:3000/; | |
proxy_redirect default; | |
} | |
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
server { | |
listen 80; | |
server_name localhost; | |
root /home/www-server/redacted/site/refinerycms/nirrius/public; | |
passenger_enabled on; | |
} |
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
require 'set' | |
require 'test/unit/assertions' | |
include Test::Unit::Assertions | |
class Graph | |
def initialize | |
@list = Hash.new | |
end | |
attr_accessor :list | |
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
(define sigma | |
(lambda (a form next b) | |
(if (> a b) | |
0 | |
(+ (form a) (sigma (next a) form next b))))) | |
(define sumsq | |
(lambda (m n) | |
(sigma m (lambda (k) (* k k)) (lambda (k) (+ k 1)) n))) |
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> | |
<title>Cockeyed.com: Always Bring Your Camera</title> | |
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> | |
</head> | |
<body> | |
<header> | |
<div class="ad-bar"> | |
<img src="images/ad_chunk_top.jpg"> | |
</div> |
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
@import "compass/css3"; | |
html, body { | |
margin: 0 0 0 0; | |
padding: 0 0 0 0; | |
background: #fff; | |
width: 100%; | |
height: 100% | |
color: #333; | |
} |
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
body { | |
background-color: rgb(255, 255, 255); | |
color: rgb(45, 45, 45); | |
background-image: url("http://crimsonbakery.com/wordpress/wp-content/themes/crimson/images/bg-beverage.jpg"); | |
background-repeat: no-repeat; | |
background-size: cover; | |
background-attachment: fixed; | |
background-position: right bottom; | |
} |
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
# -*- encoding : utf-8 -*- | |
# A simple game of Blackjack using object oriented programming | |
require 'colorize' | |
require 'set' | |
class Card | |
def initialize(face, suit, value) | |
@face = face | |
@suit = suit |
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
012-02-08T18:41:08+00:00 app[web.1]: Exception parsing | |
2012-02-08T18:41:08+00:00 app[web.1]: Position: 1365 | |
2012-02-08T18:41:08+00:00 app[web.1]: Line: 1 | |
2012-02-08T18:41:08+00:00 app[web.1]: Last 80 unconsumed characters: | |
2012-02-08T18:41:08+00:00 app[web.1]: <city data="Belfort, Franche-Comt?"/>): | |
2012-02-08T18:41:08+00:00 app[web.1]: 11: <% calendar_days.each do |day| %> | |
2012-02-08T18:41:08+00:00 app[web.1]: 12: <td class="<%= day.day_of_week %>"> | |
2012-02-08T18:41:08+00:00 app[web.1]: 13: <figure class='weather'> | |
2012-02-08T18:41:08+00:00 app[web.1]: 15: <figcaption class='temperature'><%= day.weather.display_temperatures %></figcaption> | |
2012-02-08T18:41:08+00:00 app[web.1]: 14: <div class='report <%= day.weather.category_for :forecast_condition %>' title='<%= day.weather.forecast_condition %>'><%= day.weather.forecast_condition %></div> |
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
➜ Abriiz-Rails git:(acceptance) git push staging acceptance:master | |
Counting objects: 265, done. | |
Delta compression using up to 4 threads. | |
Compressing objects: 100% (66/66), done. | |
Writing objects: 100% (160/160), 20.77 KiB, done. | |
Total 160 (delta 116), reused 128 (delta 94) | |
-----> Heroku receiving push | |
-----> Ruby/Rails app detected | |
-----> Installing dependencies using Bundler version 1.1.rc.7 |
OlderNewer